mirror of
https://github.com/reactos/buildbot_config.git
synced 2024-11-26 21:20:27 +00:00
Add missing "ninja rostests" and a long comment explaining all the reasons behind that.
This commit is contained in:
parent
1d79655867
commit
c8dca1bd74
@ -11,5 +11,11 @@ rm -rf $ROSTESTS_INSTALL
|
||||
mkdir $ROSTESTS_INSTALL
|
||||
|
||||
cd $ROS_OUTPUT
|
||||
ninja rostests
|
||||
ninja rostests_install
|
||||
|
||||
# The directory at ROSTESTS_INSTALL shall only contain the test executables to run, but not rosautotest.exe itself.
|
||||
# This is why "ninja rostests_install" only builds and copies test executables, and we need to run "ninja rostests" to also get rosautotest built.
|
||||
# However, we then need to copy rosautotest.exe somewhere for the "run_rostests" script (which may be run on a different machine). ROSTESTS_INSTALL is the only option here.
|
||||
# "run_rostests" will then move rosautotest.exe out of that directory to its final location.
|
||||
cp modules/rostests/rosautotest/rosautotest.exe $ROSTESTS_INSTALL
|
||||
|
Loading…
Reference in New Issue
Block a user