[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
/floppy/ac-patches/92-fyi-mk-empty-tests.patch
From: |
Akim Demaille |
Subject: |
/floppy/ac-patches/92-fyi-mk-empty-tests.patch |
Date: |
Thu, 13 Sep 2001 08:55:54 +0200 |
Index: ChangeLog
from Akim Demaille <address@hidden>
* tests/mktests.sh: Don't output banners for empty test files.
Index: tests/mktests.sh
--- tests/mktests.sh Sun, 19 Aug 2001 10:26:42 +0200 akim
+++ tests/mktests.sh Wed, 12 Sep 2001 17:55:54 +0200 akim
@@ -220,11 +220,19 @@
} >ac$base.tat
# In one atomic step so that if something above fails, the trap
- # preserves the old version of the file.
- mv ac$base.tat ac$base.at
+ # preserves the old version of the file. If there is nothing to
+ # check, output /rien du tout/[1].
+ if fgrep AT_CHECK ac$base.tat >/dev/null 2>&1; then
+ mv ac$base.tat ac$base.at
+ else
+ rm -f ac$base.tat ac$base.at
+ touch ac$base.at
+ fi
done
rm -f acdefuns audefuns requires
trap 0
exit 0
+
+# [1] En franc,ais dans le texte.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- /floppy/ac-patches/92-fyi-mk-empty-tests.patch,
Akim Demaille <=