Skip to content

Drop Generate_Exe_Script, and GENERATE_TEST_SCRIPT#1110

Merged
dennisklein merged 4 commits intoFairRootGroup:devfrom
ChristianTackeGSI:pr/drop_exe_script
Sep 28, 2021
Merged

Drop Generate_Exe_Script, and GENERATE_TEST_SCRIPT#1110
dennisklein merged 4 commits intoFairRootGroup:devfrom
ChristianTackeGSI:pr/drop_exe_script

Conversation

@ChristianTackeGSI
Copy link
Copy Markdown
Member

@ChristianTackeGSI ChristianTackeGSI commented Sep 24, 2021

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:

Copy link
Copy Markdown
Member

@dennisklein dennisklein left a 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.

Comment thread cmake/private/FairRootConfig.cmake.in Outdated
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.
@dennisklein
Copy link
Copy Markdown
Member

dennisklein commented Sep 27, 2021

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?

@ChristianTackeGSI
Copy link
Copy Markdown
Member Author

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?

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.

Comment thread parbase/FairParRootFileIo.h Outdated
dennisklein
dennisklein previously approved these changes Sep 28, 2021
Many member functions in `FairParRootFile` do not handle
the case of the RootFile member variable being a nullptr.

Handle the most important ones.
@dennisklein dennisklein merged commit cacf353 into FairRootGroup:dev Sep 28, 2021
@ChristianTackeGSI ChristianTackeGSI deleted the pr/drop_exe_script branch September 28, 2021 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants