Don't run 'testsuite --clean' if testsuite doesn't exist.

This commit is contained in:
Paul Eggert
2003-10-07 23:34:20 +00:00
parent 92ac370570
commit 6a5ecb38fc
2 changed files with 4 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ atconfig: $(top_builddir)/config.status
cd $(top_builddir) && ./config.status tests/$@
clean-local:
$(SHELL) $(TESTSUITE) --clean
test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
check-local: atconfig atlocal $(TESTSUITE)
$(SHELL) $(TESTSUITE)