Commit ea6791ee49793bac203770e4565ba4b8dc4fb6b0
1 parent
607bf92e
Bug fix: include cscripts command line tests in coverage report (#1827)
Showing
3 changed files
with
4 additions
and
1 deletions
.gitignore
configure.ac
test/testing.py renamed to test/testing.py.in
| ... | ... | @@ -60,7 +60,8 @@ class test(gammalib.GPythonTestSuite): |
| 60 | 60 | # not. If the software is not installed the 'TEST_BUILDDIR' environment |
| 61 | 61 | # variable will exist |
| 62 | 62 | if 'TEST_BUILDDIR' in os.environ: |
| 63 | - script = os.environ['TEST_BUILDDIR'] + '/cscripts/'+name+'.py' | |
| 63 | + script = '@PYTHON_COVERAGE@' + os.environ['TEST_BUILDDIR'] + \ | |
| 64 | + '/cscripts/'+name+'.py' | |
| 64 | 65 | else: |
| 65 | 66 | script = name |
| 66 | 67 | ... | ... |