* Makefile.in: Regenerate.
* testsuite/runtest.all/libs.exp: Clean up temp files on exit.
* testsuite/runtest.all/options.exp: Likewise for dbg.log.
* testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
mkdir" instead of exec'ing mkdir(1).
+2011-03-09 Ben Elliston <bje@gnu.org>
+
+ * Makefile.am (DISTCLEANFILES): Define.
+ * Makefile.in: Regenerate.
+ * testsuite/runtest.all/libs.exp: Clean up temp files on exit.
+ * testsuite/runtest.all/options.exp: Likewise for dbg.log.
+ * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
+ mkdir" instead of exec'ing mkdir(1).
+
2011-03-07 Ben Elliston <bje@gnu.org>
* Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
$(baseboard_DATA) $(baseboard_SCRIPTS) \
$(TESTSUITE_FILES) $(XML) $(CONTRIB)
+DISTCLEANFILES = xXx.log xXx.sum x.log x.sum testrun.log testrun.sum
+
bin_SCRIPTS = runtest
include_HEADERS = dejagnu.h
$(baseboard_DATA) $(baseboard_SCRIPTS) \
$(TESTSUITE_FILES) $(XML) $(CONTRIB)
+DISTCLEANFILES = xXx.log xXx.sum x.log x.sum testrun.log testrun.sum
bin_SCRIPTS = runtest
include_HEADERS = dejagnu.h
pkgdata_SCRIPTS = \
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-rm -f doc/$(am__dirstamp)
+ -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
foreach i [glob $srcdir/$subdir/*.test] {
process_test $i
}
+
+# Clean up behind ourselves.
+file delete .tmp [pwd]/setval.tmp
if [file exists $objdir/xXx.sum] {
exec rm -f $objdir/xXx.*
}
+if [file exists dbg.log] {
+ file delete dbg.log
+}
}
if ![file isdirectory $tmpdir] {
- catch "exec mkdir $tmpdir"
+ catch "file mkdir $tmpdir"
}
set tests {
pass [lindex $t 0]
}
}
+
+file delete -force $tmpdir