aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-20 16:04:45 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-12-08 13:55:21 +0100
commit4f960ec3f4d5d3f6b9a969806837484a0a93fe42 (patch)
tree899dc44cb6845e7e4e40408e02c04cd8a77c73c9 /validation
parent881679750173037c450611ccb55b7366dc6df454 (diff)
downloadsparse-dev-4f960ec3f4d5d3f6b9a969806837484a0a93fe42.tar.gz
testsuite: move do_test_suite out of the getopt loop
This is a preparatory step to allow to run only a part of the testsuite (a subdir). Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
-rwxr-xr-xvalidation/test-suite3
1 files changed, 1 insertions, 2 deletions
diff --git a/validation/test-suite b/validation/test-suite
index c16c7c84..72bee9dc 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -520,12 +520,10 @@ while true; do
'')
tests_list=`find . -name '*.c' | sed -e 's#^\./\(.*\)#\1#' | sort`
- do_test_suite
break
;;
*.c)
tests_list="$@"
- do_test_suite
break
;;
@@ -552,5 +550,6 @@ while true; do
break
done
+do_test_suite
exit $failed