From af66ccf0f1d1b1ebfb785ca28002d580897601e2 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Mon, 15 Jan 2018 20:24:16 -0700 Subject: [PATCH] test: also run map tests on linux --- build-linux-64.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build-linux-64.sh b/build-linux-64.sh index 7f7171de..5e75a2a1 100755 --- a/build-linux-64.sh +++ b/build-linux-64.sh @@ -26,3 +26,12 @@ 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) +cd .. +export PATH="$(pwd)/$BUILD_DIR/qbsp:$(pwd)/$BUILD_DIR/light:$PATH" +cd testmaps +./automatated_tests.sh || exit 1 + +# test id1 maps for leaks +cd quake_map_source +./leaktest.sh || exit 1