CI: add bspinfo/bsputil to PATH before running regression tests
This commit is contained in:
parent
7cf1107f83
commit
48652c7155
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue