tests: add vis to path before running regression tests
move leaktest invocation to automated_tests.sh
This commit is contained in:
parent
e9052f3002
commit
e0cce38d55
|
|
@ -35,12 +35,8 @@ readelf -d ./light/light
|
||||||
unzip -X ericw-tools-*.zip
|
unzip -X ericw-tools-*.zip
|
||||||
readelf -d ./ericw-tools-*/bin/light
|
readelf -d ./ericw-tools-*/bin/light
|
||||||
|
|
||||||
# coarse tests on real maps (only checks success/failure exit status of tool)
|
# run regression tests
|
||||||
cd ..
|
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
|
cd testmaps
|
||||||
./automatated_tests.sh || exit 1
|
./automatated_tests.sh || exit 1
|
||||||
|
|
||||||
# test id1 maps for leaks
|
|
||||||
cd quake_map_source
|
|
||||||
./leaktest.sh || exit 1
|
|
||||||
|
|
|
||||||
|
|
@ -46,12 +46,8 @@ otool -L ./bsputil/bsputil
|
||||||
./light/testlight || exit 1
|
./light/testlight || exit 1
|
||||||
./qbsp/testqbsp || exit 1
|
./qbsp/testqbsp || exit 1
|
||||||
|
|
||||||
# coarse tests on real maps (only checks success/failure exit status of tool)
|
# run regression tests
|
||||||
cd ..
|
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
|
cd testmaps
|
||||||
./automatated_tests.sh || exit 1
|
./automatated_tests.sh || exit 1
|
||||||
|
|
||||||
# test id1 maps for leaks
|
|
||||||
cd quake_map_source
|
|
||||||
./leaktest.sh || exit 1
|
|
||||||
|
|
|
||||||
|
|
@ -51,3 +51,7 @@ done
|
||||||
for bsp in ${HASH_CHECK_BSPS}; do
|
for bsp in ${HASH_CHECK_BSPS}; do
|
||||||
light ${bsp} || exit 1
|
light ${bsp} || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# leak tests on all id1 maps
|
||||||
|
cd quake_map_source
|
||||||
|
./leaktest.sh || exit 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue