WML tests: Delete old scripts, fix OpenMP

This commit is contained in:
aquileia 2015-03-14 18:06:01 +01:00
parent b63ec6f8d0
commit a349b0eb7e
4 changed files with 1 additions and 25 deletions

View file

@ -201,6 +201,7 @@ DebugMode=0
GdbBacktraceMode=0
extra_opts=""
basetimer=10
export OMP_WAIT_POLICY=PASSIVE
while getopts ":hvwcusdgp:l:a:t:" Option
do

View file

@ -1,7 +0,0 @@
#!/bin/bash
if [ -f "errors.log" ]; then
echo -e "\n*** \n*"
echo "* Errors reported in wml unit tests, here is errors.log..."
echo -e "*\n*** \n"
cat errors.log
fi

View file

@ -1,8 +0,0 @@
#!/bin/bash
./run_wml_tests -u -w
if [ "$?" -ne 0 ]; then
echo -e "\n*** \n*"
echo "* Rerunning tests to get error messages.."
echo -e "*\n*** \n"
./run_wml_tests -u -w -s
fi

View file

@ -1,10 +0,0 @@
#!/bin/bash
set -e
set -o pipefail
./wesnoth -u unit_test_1 --timeout 20000 2> error.log
./wesnoth --validcache -u unit_test_2 --timeout 10000 2> error.log
./wesnoth --validcache -u unit_test_3 --timeout 10000 2> error.log
./wesnoth --validcache -u unit_test_4 --timeout 10000 2> error.log
./wesnoth --validcache -u unit_test_5 --timeout 10000 2> error.log
./wesnoth --validcache -u unit_test_6 --timeout 10000 2> error.log
rm error.log