automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 12/32] test init: remove a couple of paranoid sanity checks


From: Stefano Lattarini
Subject: [PATCH 12/32] test init: remove a couple of paranoid sanity checks
Date: Thu, 26 Jul 2012 14:04:38 +0200

* t/ax/test-init.sh: Here, about 'am_top_srcdir' and 'am_top_builddir';
the values of those variables are AC_SUBST'd, so it's nigh impossible
for the to be wrong or get "messed up".

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/ax/test-init.sh | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/t/ax/test-init.sh b/t/ax/test-init.sh
index 5376b47..95a42e0 100644
--- a/t/ax/test-init.sh
+++ b/t/ax/test-init.sh
@@ -23,25 +23,6 @@
 set -e
 
 
-## --------------------- ##
-##  Early sanity checks. ##
-## --------------------- ##
-
-# Ensure $am_top_srcdir is set correctly.
-test -f "$am_top_srcdir/automake.in" || {
-   echo "$me: $am_top_srcdir/automake.in not found," \
-        "check \$am_top_srcdir" >&2
-   exit 99
-}
-
-# Ensure $am_top_builddir is set correctly.
-test -f "$am_top_builddir/automake" || {
-   echo "$me: $am_top_builddir/automake not found," \
-        "check \$am_top_builddir" >&2
-   exit 99
-}
-
-
 ## ------------------ ##
 ##  Early variables.  ##
 ## ------------------ ##
-- 
1.7.12.rc0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]