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 377868978d
commit 4ce6be739b
3 changed files with 11 additions and 3 deletions

View File

@ -43,7 +43,7 @@ if ( $? -eq $false ) {
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

View File

@ -37,6 +37,10 @@ readelf -d ./ericw-tools-*/bin/light
# run regression tests
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
./automatated_tests.sh || exit 1

View File

@ -51,6 +51,10 @@ otool -L ./bsputil/bsputil
# run regression tests
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
./automatated_tests.sh || exit 1