Commit 9ec0fea1483140236790a0f2bf30686842fa5399

Authored by Jürgen Knödlseder
1 parent 7d70effd

Unit test do no longer delete log files.

Deleting log files led to a problem with the new automake test suite.
.gitignore
@@ -31,6 +31,7 @@ install-sh @@ -31,6 +31,7 @@ install-sh
31 libtool 31 libtool
32 ltmain.sh 32 ltmain.sh
33 missing 33 missing
  34 +compile
34 .libs 35 .libs
35 .deps 36 .deps
36 stamp-h1 37 stamp-h1
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)