]> Savannah Git Hosting - gnulib.git/commitdiff
verify-tests: also remove stray test-verify.Tpo
authorJim Meyering <meyering@fb.com>
Wed, 3 Feb 2016 05:39:44 +0000 (21:39 -0800)
committerJim Meyering <meyering@fb.com>
Wed, 3 Feb 2016 05:39:44 +0000 (21:39 -0800)
* modules/verify-tests (Makefile.am): Arrange for "make clean"
to remove the test-verify.Tpo file that is left behind by
the automake-generated rule upon compilation failure.
Otherwise, that .Tpo file would cause a failed "make distcheck"
at least for grep.

ChangeLog
modules/verify-tests

index 77acfcf7b141e03c28cef12f94b7bada8e0ee07c..d3536090771648a46261cbd3e93349adb4a9fe1e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-02-02  Jim Meyering  <meyering@fb.com>
+
+       verify-tests: also remove stray test-verify.Tpo
+       * modules/verify-tests (Makefile.am): Arrange for "make clean"
+       to remove the test-verify.Tpo file that is left behind by
+       the automake-generated rule upon compilation failure.
+       Otherwise, that .Tpo file would cause a failed "make distcheck"
+       at least for grep.
+
 2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>
 
        std-gnu11: new module
index 939a1cefc19cce06b54083467f3810bd6a17f71c..803903023ac6ee8f98a2378f6abb8ae781133159 100644 (file)
@@ -11,3 +11,8 @@ Makefile.am:
 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
 TESTS += test-verify test-verify.sh
 check_PROGRAMS += test-verify
+
+# This test expects compilation of test-verify.c to fail, and
+# each time it fails, the makefile rule does not perform the usual
+#  "mv -f $name.Tpo $name.po, so tell make clean to remove that file.
+MOSTLYCLEANFILES += .deps/test-verify.Tpo