diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | deheader | 2 | ||||
-rw-r--r-- | test/README | 4 |
4 files changed, 7 insertions, 2 deletions
@@ -20,9 +20,11 @@ regress: @echo "Testing deheader: no output is good news." @deheader -v -v test >/tmp/regress @diff -u test/regress.chk /tmp/regress + @rm -f test/*.o @rm /tmp/regress makeregress: @deheader -v -v test >test/regress.chk + @rm -f test/*.o pychecker: @ln -f deheader deheader.py @@ -1,6 +1,7 @@ deheader project news 0.4 @ + Script now removes generated objects. Duplicate inclusions are now detected. 0.3 @ 2010-12-09 @@ -203,6 +203,8 @@ def testcompile(source, maker, msg="", verbosity=0): if verbosity >= PROGRESS_DEBUG: print "deheader: %s%s %s." \ % (sourcefile, msg, explain) + if os.path.exists(derived): + os.remove(derived) return (status, end - start) def c_analyze(sourcefile, maker, includes, requires, verbosity): diff --git a/test/README b/test/README index 215687e..5eb212e 100644 --- a/test/README +++ b/test/README @@ -1,2 +1,2 @@ -This directory contains C sourcfiles intended to terst deheder, and -a check against which to compare tthe output. +This directory contains C sourcfiles intended to test deheader, and +a check against which to compare the output. |