Displaying 8 results from an estimated 8 matches for "test_objects".
2006 May 09
1
Session mgmt. bug - ActiveRecord & MemoryStore session store
Windows XP Pro
Rails 1.1.2
I need some help verifying this behavior that I''m seeing.
BUG: Objects in session which are descendants of ActiveRecord::Base lose
attributes on subsequent requests when using CGI::Session::MemoryStore.
TO REPRODUCE:
0) Set up MemoryStore as the session database manager in the appropriate
environment.rb file in config
1) Create a model object X that
2006 May 06
0
Cant read an Array as an attribute of a record
...e? I''m sure I''m missing something
simple....
I realize that I''m not saving the object to the database, I''ve got a
requirement to create and manipulate it in memory before persisting it.
Thanks in advance to anyone who may help!
Test/app/db/migrate/001_create_test_objects.rb
------------------------------------------------------------------
class CreateTestObjects < ActiveRecord::Migration
def self.up
create_table :test_objects do |t|
t.column :name, :string
t.column :test_array, :string
end
end
def self.down
drop_table :test_object...
2018 Jun 05
3
Unit Tests CMake configuration
...nitizers and xray)
has a number of unit tests which could really just be built as normal
binaries and invoked appropriately.
If we're avoiding ctest [1], then for the unit tests in compiler-rt
I'd like to see whether just using normal binaries can make the build
faster. The 'Generating TEST_OBJECTS.*' messages seem to indicate that
these are executed sequentially, or cannot be parallelized by
ninja-build [2] and take a really long time to complete.
Thoughts?
[0] https://cmake.org/cmake/help/v3.4/command/add_test.html
[1] https://cmake.org/cmake/help/v3.4/manual/ctest.1.html#manual:ctest...
2018 Apr 11
2
[compiler-rt] r329776 - [XRay][compiler-rt] Fix osx-based builds
...; "" "SOURCES;HEADERS" ${ARGN})
> if(UNIX AND NOT APPLE)
> set(CMAKE_DL_LIBS_INIT "")
> - foreach(lib ${CMAKE_DL_LIBS})
> - list(APPEND CMAKE_DL_LIBS_INIT -l${lib})
> - endforeach()
> foreach(arch ${XRAY_TEST_ARCH})
> set(TEST_OBJECTS)
> get_xray_lib_for_arch(${arch} XRAY_RUNTIME_LIBS)
> @@ -55,9 +60,7 @@ macro(add_xray_unittest testname)
> RUNTIME "${XRAY_RUNTIME_LIBS}"
> DEPS gtest xray
> CFLAGS ${XRAY_UNITTEST_CFLAGS}
> - LINK_FLAGS ${TARGET_LINK_FLAGS}
> -...
2017 Jun 04
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
...stdc++" to the end, just after
> "-lrt" it should work.
Thanks, Tim. I don't see "-lrt":
$BASE/llvm_Rel400/projects/compiler-rt/lib/xray/tests/CMakeLists.txt
43 if(NOT APPLE)
44 add_compiler_rt_test(XRayUnitTests ${testname}
45 OBJECTS ${TEST_OBJECTS}
46 DEPS ${TEST_DEPS}
47 LINK_FLAGS ${TARGET_LINK_FLAGS}
48 -lstdc++ -lm ${CMAKE_THREAD_LIBS_INIT}
49 -lpthread
50 -L${COMPILER_RT_LIBRARY_OUTPUT_DIR} -lclang_rt.xray-fdr-${arch})
51 endif()
2018 Apr 11
0
[compiler-rt] r329776 - [XRay][compiler-rt] Fix osx-based builds
...RCES;HEADERS" ${ARGN})
>> if(UNIX AND NOT APPLE)
>> set(CMAKE_DL_LIBS_INIT "")
>> - foreach(lib ${CMAKE_DL_LIBS})
>> - list(APPEND CMAKE_DL_LIBS_INIT -l${lib})
>> - endforeach()
>> foreach(arch ${XRAY_TEST_ARCH})
>> set(TEST_OBJECTS)
>> get_xray_lib_for_arch(${arch} XRAY_RUNTIME_LIBS)
>> @@ -55,9 +60,7 @@ macro(add_xray_unittest testname)
>> RUNTIME "${XRAY_RUNTIME_LIBS}"
>> DEPS gtest xray
>> CFLAGS ${XRAY_UNITTEST_CFLAGS}
>> - LINK_FLAGS ${TARGET_...
2012 Dec 20
0
reproducible CACHE_ERRORS
...objects do NOT provoke this bug.
(program attached)
6) There are no interrupts between CACHE_ERRORs, so it's not caused by race in
cache_error/software method handling.
Any ideas how to debug it?
Marcin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_objects.tar.gz
Type: application/octet-stream
Size: 2399 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121220/a790fe23/attachment.obj>
2017 Jun 03
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
Hi,
I am trying to build the LLVM suite on a RedHat Enterprise Linux clone (Scientific Linux <https://www.scientificlinux.org/>). In the latest attempt, the build seems to complete without any explicit failures but the `check-all` process fails. Any ideas about what is wrong or suggestions for how to proceed would be much appreciated.
This is the current procedure:
sudo yum install