CI: add bspinfo/bsputil to PATH before running regression tests

This commit is contained in:
Eric Wasylishen 2021-10-06 17:23:10 -06:00
parent 7cf1107f83
commit 48652c7155
3 changed files with 11 additions and 3 deletions

View File

@ -43,7 +43,7 @@ if ( $? -eq $false ) {
throw "testqbsp failed" throw "testqbsp failed"
} }
$env:Path += ";$(pwd)\qbsp\Release;$(pwd)\vis\Release;$(pwd)\light\Release" $env:Path += ";$(pwd)\qbsp\Release;$(pwd)\vis\Release;$(pwd)\light\Release;$(pwd)\bspinfo\Release;$(pwd)\bsputil\Release"
cd ..\testmaps cd ..\testmaps

View File

@ -37,6 +37,10 @@ readelf -d ./ericw-tools-*/bin/light
# run regression tests # run regression tests
cd .. cd ..
export PATH="$(pwd)/$BUILD_DIR/qbsp:$(pwd)/$BUILD_DIR/light:$(pwd)/$BUILD_DIR/vis:$PATH" export PATH="$(pwd)/$BUILD_DIR/qbsp:$PATH"
export PATH="$(pwd)/$BUILD_DIR/vis:$PATH"
export PATH="$(pwd)/$BUILD_DIR/light:$PATH"
export PATH="$(pwd)/$BUILD_DIR/bspinfo:$PATH"
export PATH="$(pwd)/$BUILD_DIR/bsputil:$PATH"
cd testmaps cd testmaps
./automatated_tests.sh || exit 1 ./automatated_tests.sh || exit 1

View File

@ -51,6 +51,10 @@ otool -L ./bsputil/bsputil
# run regression tests # run regression tests
cd .. cd ..
export PATH="$(pwd)/$BUILD_DIR/qbsp:$(pwd)/$BUILD_DIR/light:$(pwd)/$BUILD_DIR/vis:$PATH" export PATH="$(pwd)/$BUILD_DIR/qbsp:$PATH"
export PATH="$(pwd)/$BUILD_DIR/vis:$PATH"
export PATH="$(pwd)/$BUILD_DIR/light:$PATH"
export PATH="$(pwd)/$BUILD_DIR/bspinfo:$PATH"
export PATH="$(pwd)/$BUILD_DIR/bsputil:$PATH"
cd testmaps cd testmaps
./automatated_tests.sh || exit 1 ./automatated_tests.sh || exit 1