summaryrefslogtreecommitdiff
path: root/t/memoize.tap
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-07-27 19:26:11 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-07-27 19:26:44 +0200
commit53a810f989871687928fba6b6ebd21c217f13f68 (patch)
treec38cd7df184e4207b63125a50c9a83d16520e20d /t/memoize.tap
parentdc326edfc83ed1294d04abb9a5302b21d8f5cc05 (diff)
downloadautomake-53a810f989871687928fba6b6ebd21c217f13f68.tar.gz
[ng] tests: simplify munging of header-vars.am ...
* t/am-xargs-map.sh, t/ensure-dir-exists.sh, t/internals.tap, t/memoize.tap: ... here, since that files no more contains '@foo@' substitutions nor '?COND?' transforms. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/memoize.tap')
-rwxr-xr-xt/memoize.tap8
1 files changed, 2 insertions, 6 deletions
diff --git a/t/memoize.tap b/t/memoize.tap
index 5e3646bd1..d829918b0 100755
--- a/t/memoize.tap
+++ b/t/memoize.tap
@@ -23,14 +23,10 @@ plan_ 17
ocwd=$(pwd) || fatal_ "couldn't get current working directory"
-cp "$am_amdir"/header-vars.am . \
+# Filter out Automake comments.
+grep -v '^##' "$am_amdir"/header-vars.am > defn.mk \
|| fatal_ "fetching makefile fragment headers-vars.am"
-# Filter out Automake comments and things that would need configure
-# substitutions.
-LC_ALL=C $EGREP -v '(^##|=.*@[a-zA-Z0-9_]+@)' header-vars.am > defn.mk
-rm -f header-vars.am
-
T ()
{
tcount=$(($tcount + 1))