diff --git a/.gitignore b/.gitignore index 7ec2ad2d3ee9..56e8496be5ac 100644 --- a/.gitignore +++ b/.gitignore @@ -72,3 +72,4 @@ projectfiles/VC1* projectfiles/VC201* *Neuer Ordner* Thumbs.db +error.log diff --git a/wml_unit_tests b/wml_unit_tests new file mode 100755 index 000000000000..e3f66d13fcfe --- /dev/null +++ b/wml_unit_tests @@ -0,0 +1,7 @@ +#!/bin/bash +set -e +set -o pipefail +./wesnoth -u unit_test_1 2> error.log +./wesnoth --validcache -u unit_test_2 2> error.log +./wesnoth --validcache -u unit_test_3 2> error.log +rm error.log