summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/dimension/Makefile.am4
-rwxr-xr-xtests/dimension/tokenizer.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/dimension/Makefile.am b/tests/dimension/Makefile.am
index 89c228e..a85b4ac 100644
--- a/tests/dimension/Makefile.am
+++ b/tests/dimension/Makefile.am
@@ -19,7 +19,7 @@
INCLUDES = -I$(top_srcdir)/libdimension
-TESTS = tokenizer.sh
-TESTS_ENVIRONMENT = TOP_BUILDDIR=$(top_builddir)
+TESTS = $(srcdir)/tokenizer.sh
+TESTS_ENVIRONMENT = top_builddir=$(top_builddir)
EXTRA_DIST = braces.pov
diff --git a/tests/dimension/tokenizer.sh b/tests/dimension/tokenizer.sh
index 35bcf65..b6de05a 100755
--- a/tests/dimension/tokenizer.sh
+++ b/tests/dimension/tokenizer.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-braces=$(${TOP_BUILDDIR}/dimension/dimension --tokenize braces.pov)
+braces=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/braces.pov)
braces_exp='({ { } } } } { {)'
if [ "$braces" != "$braces_exp" ]; then