diff --git a/.gitignore b/.gitignore index ad3dd70..efa0db4 100644 --- a/.gitignore +++ b/.gitignore @@ -85,6 +85,7 @@ test/*.eps test/*.jpg test/test_cscripts.sh test/test_examples.py +test/testing.py test/reports/*.xml test/butterfly.txt test/.coverage diff --git a/configure.ac b/configure.ac index f665da7..8672514 100644 --- a/configure.ac +++ b/configure.ac @@ -1034,6 +1034,7 @@ AC_CONFIG_FILES([Makefile test/test_python_ctools.sh test/test_python_cscripts.sh test/test_examples.py + test/testing.py pyext/Makefile pyext/setup.py pyext/ctools/__init__.py diff --git a/test/testing.py b/test/testing.py.in index 78512cc..ca19bc6 100755 --- a/test/testing.py +++ b/test/testing.py.in @@ -60,7 +60,8 @@ class test(gammalib.GPythonTestSuite): # not. If the software is not installed the 'TEST_BUILDDIR' environment # variable will exist if 'TEST_BUILDDIR' in os.environ: - script = os.environ['TEST_BUILDDIR'] + '/cscripts/'+name+'.py' + script = '@PYTHON_COVERAGE@' + os.environ['TEST_BUILDDIR'] + \ + '/cscripts/'+name+'.py' else: script = name