Commit 9ec0fea1483140236790a0f2bf30686842fa5399
1 parent
7d70effd
Unit test do no longer delete log files.
Deleting log files led to a problem with the new automake test suite.
Showing
4 changed files
with
4 additions
and
3 deletions
.gitignore
test/test_cscripts.sh.in
| @@ -36,7 +36,7 @@ $ECHO "*****************" | @@ -36,7 +36,7 @@ $ECHO "*****************" | ||
| 36 | # | 36 | # |
| 37 | # Remove any existing result files | 37 | # Remove any existing result files |
| 38 | # ================================ | 38 | # ================================ |
| 39 | -rm -rf *.fits *.log *.xml *.dat | 39 | +rm -rf *.fits *.xml *.dat |
| 40 | 40 | ||
| 41 | 41 | ||
| 42 | # | 42 | # |
test/test_ctools.sh
| @@ -45,7 +45,7 @@ ctskymap=../src/ctskymap/ctskymap | @@ -45,7 +45,7 @@ ctskymap=../src/ctskymap/ctskymap | ||
| 45 | # | 45 | # |
| 46 | # Remove any existing result files | 46 | # Remove any existing result files |
| 47 | # ================================ | 47 | # ================================ |
| 48 | -rm -rf *.fits *.log *.xml | 48 | +rm -rf *.fits *.xml |
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | # | 51 | # |
test/test_python.py
| @@ -208,7 +208,7 @@ if __name__ == '__main__': | @@ -208,7 +208,7 @@ if __name__ == '__main__': | ||
| 208 | os.environ['PFILES'] = "pfiles" | 208 | os.environ['PFILES'] = "pfiles" |
| 209 | 209 | ||
| 210 | # Remove any existing result files | 210 | # Remove any existing result files |
| 211 | - list = [glob.glob("*.fits"), glob.glob("*.log"), glob.glob("*.xml")] | 211 | + list = [glob.glob("*.fits"), glob.glob("*.xml")] |
| 212 | for files in list: | 212 | for files in list: |
| 213 | for file in files: | 213 | for file in files: |
| 214 | os.remove(file) | 214 | os.remove(file) |