summaryrefslogtreecommitdiff
path: root/tests/compile2.test
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2010-06-03 01:03:00 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2010-09-06 01:01:38 +0200
commita70b489a1f96539ce2d19b27f899ad74c04f500f (patch)
tree3a5b944982c9ea8fbb9d2011d49cf64634d4e392 /tests/compile2.test
parent521dda8c24be40219aaff2611ec30c8501494389 (diff)
downloadautomake-a70b489a1f96539ce2d19b27f899ad74c04f500f.tar.gz
Tests defs: new variable $top_testsrcdir.
* tests/defs.in ($top_testsrcdir): Define unconditionally to @abs_top_srcdir@. Use it throughout. * tests/ar-lib.test: Use `$top_testsrcdir' instead of `$testsrcdir/..'. * tests/auxdir.test: Likewise. * tests/compile.test: Likewise. * tests/compile2.test: Likewise. * tests/compile3.test: Likewise. * tests/compile5.test: Likewise. * tests/mdate6.test: Likewise. * tests/mkinst3.test: Likewise. * tests/multlib.test: Likewise. * tests/txinfo22.test: Likewise.
Diffstat (limited to 'tests/compile2.test')
-rwxr-xr-xtests/compile2.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compile2.test b/tests/compile2.test
index fe4574a96..e3069d0fa 100755
--- a/tests/compile2.test
+++ b/tests/compile2.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
set -e
-cp "$testsrcdir/../lib/compile" .
+cp "$top_testsrcdir/lib/compile" .
cat >mycc <<'END'
source_seen=no