-
Notifications
You must be signed in to change notification settings - Fork 97
Drop Generate_Exe_Script
, and GENERATE_TEST_SCRIPT
#1110
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
Drop Generate_Exe_Script
, and GENERATE_TEST_SCRIPT
#1110
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, looks good, see one minor inline comment.
Export a variable `FairRoot_BINDIR` containing the full path of `/bin`. Drop `PROJECT_INSTALL_BINDIR`, it was never used.
Install `FairRootConfig.*sh` into CMAKE_INSTALL_BINDIR instead of directly into `bin`. Move `check_system.*` to CMAKE_INSTALL_LIBEXECDIR.
Both are not used inside FairRoot. `Generate_Exe_Script` was never meant for external usage (it expects users to copy a template into a local fixed path). `GENERATE_TEST_SCRIPT` can be replaced by much simpler, and more flexible local code by users.
f487644
to
06af85f
Compare
https://cdash.gsi.de/viewTest.php?onlyfailed&buildid=293423 They failed two times in a row (but not on the last build of the dev branch 3 days ago). Can you check, if this is related to this PR? |
cf0442b
to
1576b6a
Compare
I have added a commit to catch the segmentation fault. But really, I think, this was not relalted to this change. I will try to look into proper "fixture" setup for these tests. |
1576b6a
to
670318c
Compare
Many member functions in `FairParRootFile` do not handle the case of the RootFile member variable being a nullptr. Handle the most important ones.
670318c
to
a15789e
Compare
Both are not used inside FairRoot.
Generate_Exe_Script
was never meant for external usage (it expects users to copy a template into a local fixed path).GENERATE_TEST_SCRIPT
can be replaced by much simpler, and more flexible local code by users.See also: #1109
Checklist:
dev
branch