automake-patches
[Top][All Lists]
Advanced

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

[FYI] {master} gen-tests: simplify sourcing of helper shell files


From: Stefano Lattarini
Subject: [FYI] {master} gen-tests: simplify sourcing of helper shell files
Date: Thu, 26 Jul 2012 19:59:40 +0200

This is a follow-up on commit v1.12.2-49-g42fb45b, for an occurrence
of '. "$am_testauxdir"/foo.sh' that wasn't in a test script, but
rather in 'gen-testsuite-part' (ending up in the tests generated by
that script).

* gen-testsuite-part: In the generated 'depcomp*.tap' tests, use
simply:
    . depcomp.sh
rather than:
    . "$am_testauxdir/depcomp.sh"

Signed-off-by: Stefano Lattarini <address@hidden>
---
 gen-testsuite-part | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gen-testsuite-part b/gen-testsuite-part
index 21c26c4..dee4cdd 100755
--- a/gen-testsuite-part
+++ b/gen-testsuite-part
@@ -361,7 +361,8 @@ foreach my $lt (TRUE, FALSE)
               required="@required"
               . ./defs || exit 1
               plan_ $planned
-              . "\$am_testauxdir/depcomp.sh"; exit \$?
+              . depcomp.sh
+              exit \$?
 EOF
           },
           0555);
-- 
1.7.12.rc0




reply via email to

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