--- OK, here is the problem: $ cd CONDOR_SRC #First make sure we don't have any crapp lying around $ git clean -dfx # OK, build condor + tests $ configure_uw && make externals && make -j5 && make install && make tests # Everything is hunky-dory. # Pick a test to run $ cd src/condor_tests $ job_dagman_fullremove.run # <Snip irrelevant junk from output, except for following interesting lines> 2012/08/15 10:44:53: <CondorTest> Abort event expected ./x_read_joblog.exe: error while loading shared libraries: libclassad.so.4: cannot open shared object file: No such file or directory Not all dag nodes removed! job_dagman_fullremove: CondorTest::RunTest() failed
So now I have a comment and a question: 1. The patch below seems to fix the issue above (for me), but there is probably something better to write. 2. How do the tests run in batlab without falling over all the time? Nathan Panike src/condor_tests/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/condor_tests/CMakeLists.txt b/src/condor_tests/CMakeLists.txt index dfe3bc7..60c36fe 100644 --- a/src/condor_tests/CMakeLists.txt +++ b/src/condor_tests/CMakeLists.txt @@ -60,6 +60,9 @@ if (BUILD_TESTING) condor_exe_test(job_core_bigenv.exe "job_core_bigenv.c" "") condor_exe_test(lib_eventlog_build.exe "lib_eventlog_base.cpp" "condorapi") + set_target_properties(x_read_joblog.exe PROPERTIES + INSTALL_RPATH "${CONDOR_RPATH}:$ORIGIN/../../release_dir/lib" ) + # Not all of our gccs support -Wno-div-by-zero. #if (UNIX) # set_source_files_properties(x_dumpcore.cpp PROPERTIES COMPILE_FLAGS -Wno-div-by-zero) -- 1.7.12.rc1.22.gbfbf4d4 _______________________________________________ Condor-devel mailing list Condor-devel@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/condor-devel