Browse Source

* tests/Makefile.am (clean-local): Don't attempt to run
$(TESTSUITE) if it doesn't exist. Problem reported by
Eric Blake.

Paul Eggert 19 years ago
parent
commit
63f64e4aaf
2 changed files with 7 additions and 2 deletions
  1. 6 0
      ChangeLog
  2. 1 2
      tests/Makefile.am

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2005-09-21  Paul Eggert  <[email protected]>
+
+	* tests/Makefile.am (clean-local): Don't attempt to run
+	$(TESTSUITE) if it doesn't exist.  Problem reported by
+	Eric Blake.
+
 2005-09-16  Paul Eggert  <[email protected]>
 
 	Don't filter time stamps through the resolution supported

+ 1 - 2
tests/Makefile.am

@@ -106,7 +106,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)
@@ -130,4 +130,3 @@ localedir = $(datadir)/locale
 INCLUDES = -I$(top_srcdir)/lib -I../lib -I$(top_srcdir)/src
 
 LDADD = ../lib/libtar.a $(LIBINTL) $(LIB_CLOCK_GETTIME)
-