diff options
Diffstat (limited to 'testsuite/run_tests')
-rwxr-xr-x | testsuite/run_tests | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuite/run_tests b/testsuite/run_tests index dfdfe75..c559814 100755 --- a/testsuite/run_tests +++ b/testsuite/run_tests @@ -6,7 +6,7 @@ # This material is provided as is, with absolutely no warranty expressed # or implied. Any use is at your own risk. # -# Permission is hereby granted to use or copy this program +# Permission is hereby granted to use or copy this testsuite # for any purpose, provided the above notices are retained on all copies. # Permission to modify the code and to distribute modified code is granted, # provided the above notices are retained, and a notice that the code was @@ -27,6 +27,12 @@ Comfignat_overriding_absolute_builddir= Comfignat_overriding_absolute_objdir= Comfignat_overriding_absolute_stagedir= +# variables that the testcases need: +export library srcdir builddir relative_builddir + +# function library for the testcases: +library="${outer_srcdir}"/testsuite/library + rm -Rf "${outer_builddir}"/testruns for source_directory in "${outer_srcdir}"/testsuite/sources/* ; do @@ -40,7 +46,6 @@ for source_directory in "${outer_srcdir}"/testsuite/sources/* ; do mkdir -p "${srcdir}" "${builddir}" cp -RHp "${source_directory}"/* "${srcdir}" cp -p "${outer_srcdir}"/comfignat.* "${srcdir}" - export srcdir builddir relative_builddir if sh -e "${input_script}" >output 2>&1 ; then verdict=PASSED passed=$((passed + 1)) |