Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swenzel/refactormacrotests #320

Closed

Conversation

sawenzel
Copy link
Collaborator

@sawenzel sawenzel commented Apr 7, 2017

See #299. These commits help making the unit tests run again correctly.
Do not merge yet ... just for testing.

 * based on a macro extracted from ROOTMacros.cmake
 * modified to our needs (more configurability)
 * do no longer depend on the config coming from FairRoot
   which makes assumptions on variables not relevant for O2
 * refactoring of unit test generation from ROOT macros
   (using new mechanism)
 * selectively enable unit tests based on G3/G4 availability
 * NOTE: for the moment some tests have been commented out,
   they will gradually reappear when they are fixed
@alibuild
Copy link
Collaborator

alibuild commented Apr 7, 2017

Error while checking build/o2checkcode/o2-daq for 5ed1a5f:

sw/BUILD/O2-latest/log
[  4%] Building CXX object DataFormats/Headers/CMakeFiles/Headers.dir/src/TimeStamp.cxx.o
[  5%] Linking CXX shared library ../../lib/libHeaders.so
/mnt/mesos/sandbox/sandbox/sw/slc7_x86-64/GCC-Toolchain/v4.9.3-alice3-2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.3/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lfairmq_logger
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libHeaders.so] Error 1
make[1]: *** [DataFormats/Headers/CMakeFiles/Headers.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
--
[  6%] Building CXX object Detectors/Base/CMakeFiles/DetectorsBase.dir/G__DetectorsBaseDict.cxx.o
[  7%] Linking CXX shared library ../../lib/libMathUtils.so
/mnt/mesos/sandbox/sandbox/sw/slc7_x86-64/GCC-Toolchain/v4.9.3-alice3-2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.3/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lfairmq_logger
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libMathUtils.so] Error 1
make[1]: *** [Common/MathUtils/CMakeFiles/MathUtils.dir/all] Error 2
[  8%] Linking CXX shared library ../../lib/libSimulationDataFormat.so
[  8%] Linking CXX shared library ../../lib/libDetectorsBase.so
/mnt/mesos/sandbox/sandbox/sw/slc7_x86-64/GCC-Toolchain/v4.9.3-alice3-2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.3/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lfairmq_logger
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libSimulationDataFormat.so] Error 1
make[1]: *** [DataFormats/simulation/CMakeFiles/SimulationDataFormat.dir/all] Error 2
/mnt/mesos/sandbox/sandbox/sw/slc7_x86-64/GCC-Toolchain/v4.9.3-alice3-2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.3/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lfairmq_logger
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libDetectorsBase.so] Error 1
make[1]: *** [Detectors/Base/CMakeFiles/DetectorsBase.dir/all] Error 2
make: *** [all] Error 2
--
/mnt/mesos/sandbox/sandbox/sw/slc7_x86-64/GCC-Toolchain/v4.9.3-alice3-2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.3/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lfairmq_logger
[  4%] Linking CXX shared library ../../lib/libSimulationDataFormat.so
[  4%] Linking CXX shared library ../../lib/libDetectorsBase.so
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libHeaders.so] Error 1
make[1]: *** [DataFormats/Headers/CMakeFiles/Headers.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/mnt/mesos/sandbox/sandbox/sw/slc7_x86-64/GCC-Toolchain/v4.9.3-alice3-2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.3/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lfairmq_logger
/mnt/mesos/sandbox/sandbox/sw/slc7_x86-64/GCC-Toolchain/v4.9.3-alice3-2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.3/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lfairmq_logger
/mnt/mesos/sandbox/sandbox/sw/slc7_x86-64/GCC-Toolchain/v4.9.3-alice3-2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.3/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lfairmq_logger
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libMathUtils.so] Error 1
make[1]: *** [Common/MathUtils/CMakeFiles/MathUtils.dir/all] Error 2
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libSimulationDataFormat.so] Error 1
make[1]: *** [DataFormats/simulation/CMakeFiles/SimulationDataFormat.dir/all] Error 2
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libDetectorsBase.so] Error 1
make[1]: *** [Detectors/Base/CMakeFiles/DetectorsBase.dir/all] Error 2
make: *** [all] Error 2
--
[  4%] Linking CXX shared library ../../lib/libSimulationDataFormat.so
[  4%] Linking CXX shared library ../../lib/libDetectorsBase.so

Full log here.

@ktf
Copy link
Member

ktf commented May 22, 2017

@sawenzel is this still relevant or should we close it?

@ktf ktf closed this May 22, 2017
@sawenzel
Copy link
Collaborator Author

sawenzel commented May 22, 2017

I believe this is still relevant in order to get the simulations running as unit test. Will open a new PR when I find some time for it.

knopers8 pushed a commit to knopers8/AliceO2 that referenced this pull request Sep 7, 2020
* [EMCAL-527] Adding RawCheck

Implemented Checks:
- checker for ErrorType histogram

* Remove extra empty line.

* trigger build

Co-authored-by: Giulio Eulisse <giulio.eulisse@cern.ch>
Co-authored-by: Barthélémy von Haller <barthelemy.von.haller@gmail.com>
@sawenzel sawenzel deleted the swenzel/refactormacrotests branch January 13, 2023 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants