tests: add vis to path before running regression tests

move leaktest invocation to automated_tests.sh
This commit is contained in:
Eric Wasylishen 2021-09-19 15:24:46 -06:00
parent e9052f3002
commit e0cce38d55
3 changed files with 8 additions and 12 deletions

View File

@ -35,12 +35,8 @@ readelf -d ./light/light
unzip -X ericw-tools-*.zip
readelf -d ./ericw-tools-*/bin/light
# coarse tests on real maps (only checks success/failure exit status of tool)
# run regression tests
cd ..
export PATH="$(pwd)/$BUILD_DIR/qbsp:$(pwd)/$BUILD_DIR/light:$PATH"
export PATH="$(pwd)/$BUILD_DIR/qbsp:$(pwd)/$BUILD_DIR/light:$(pwd)/$BUILD_DIR/vis:$PATH"
cd testmaps
./automatated_tests.sh || exit 1
# test id1 maps for leaks
cd quake_map_source
./leaktest.sh || exit 1

View File

@ -46,12 +46,8 @@ otool -L ./bsputil/bsputil
./light/testlight || exit 1
./qbsp/testqbsp || exit 1
# coarse tests on real maps (only checks success/failure exit status of tool)
# run regression tests
cd ..
export PATH="$(pwd)/$BUILD_DIR/qbsp:$(pwd)/$BUILD_DIR/light:$PATH"
export PATH="$(pwd)/$BUILD_DIR/qbsp:$(pwd)/$BUILD_DIR/light:$(pwd)/$BUILD_DIR/vis:$PATH"
cd testmaps
./automatated_tests.sh || exit 1
# test id1 maps for leaks
cd quake_map_source
./leaktest.sh || exit 1

View File

@ -51,3 +51,7 @@ done
for bsp in ${HASH_CHECK_BSPS}; do
light ${bsp} || exit 1
done
# leak tests on all id1 maps
cd quake_map_source
./leaktest.sh || exit 1