automake-patches
[Top][All Lists]
Advanced

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

[FYI] {testsuite-work} tests defs: more uses of $top_testsrcdir


From: Stefano Lattarini
Subject: [FYI] {testsuite-work} tests defs: more uses of $top_testsrcdir
Date: Fri, 8 Jul 2011 12:49:38 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

* tests/autodist-stamp-vti.test: Use `$top_testsrcdir' instead
of `$testsrcdir/..'.
* tests/repeated-options.test: Likewise.
* tests/suffix5.test: Likewise.
* tests/vtexi3.test: Likewise.
---
 ChangeLog                     |    9 +++++++++
 tests/autodist-stamp-vti.test |    2 +-
 tests/repeated-options.test   |    2 +-
 tests/suffix5.test            |    2 +-
 tests/vtexi3.test             |    2 +-
 5 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b3709ec..73077c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2011-07-08  Stefano Lattarini  <address@hidden>
 
+       tests defs: more uses of $top_testsrcdir
+       * tests/autodist-stamp-vti.test: Use `$top_testsrcdir' instead
+       of `$testsrcdir/..'.
+       * tests/repeated-options.test: Likewise.
+       * tests/suffix5.test: Likewise.
+       * tests/vtexi3.test: Likewise.
+
+2011-07-08  Stefano Lattarini  <address@hidden>
+
        self tests: fix typo in comment
        * tests/self-check-exit.test: Fix typo in heading comments.
 
diff --git a/tests/autodist-stamp-vti.test b/tests/autodist-stamp-vti.test
index 2984372..1dc91c7 100755
--- a/tests/autodist-stamp-vti.test
+++ b/tests/autodist-stamp-vti.test
@@ -46,7 +46,7 @@ END
 
 # Required when using Texinfo.
 : > texinfo.tex
-cp "$testsrcdir/../lib/mdate-sh" .
+cp "$top_testsrcdir"/lib/mdate-sh .
 
 $ACLOCAL
 $AUTOCONF
diff --git a/tests/repeated-options.test b/tests/repeated-options.test
index 4667d0d..999c9e1 100755
--- a/tests/repeated-options.test
+++ b/tests/repeated-options.test
@@ -58,7 +58,7 @@ int main (void)
 }
 END
 
-cp $testsrcdir/../lib/compile .
+cp "$top_testsrcdir"/lib/compile .
 
 $ACLOCAL
 $AUTOMAKE --foreign --foreign -Wall 2>stderr || { cat stderr >&2; Exit 1; }
diff --git a/tests/suffix5.test b/tests/suffix5.test
index e9d733d..c0566a9 100755
--- a/tests/suffix5.test
+++ b/tests/suffix5.test
@@ -45,7 +45,7 @@ END
 
 : > ltmain.sh
 
-cp "$testsrcdir/../lib/config.guess" "$testsrcdir/../lib/config.sub" .
+cp "$top_testsrcdir"/lib/config.guess "$top_testsrcdir"/lib/config.sub .
 
 $ACLOCAL
 $AUTOMAKE
diff --git a/tests/vtexi3.test b/tests/vtexi3.test
index 04fb7d7..da0278b 100755
--- a/tests/vtexi3.test
+++ b/tests/vtexi3.test
@@ -65,7 +65,7 @@ END
 
 # Required when using Texinfo.
 : > texinfo.tex
-cp "$testsrcdir/../lib/mdate-sh" .
+cp "$top_testsrcdir"/lib/mdate-sh .
 
 $ACLOCAL
 $AUTOCONF
-- 
1.7.2.3




reply via email to

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