diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-10-27 00:48:05 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-10-27 00:57:03 -0400 |
commit | 282d68f6e0c8b446884ecbda0bea679f8853f5d1 (patch) | |
tree | da6d3107ecc34774e48d93d5cc8c93a3f1031f34 /tests/dimension | |
parent | 5ec5ae21da84cc96676b6cae39a5ded820a5492a (diff) | |
download | dimension-282d68f6e0c8b446884ecbda0bea679f8853f5d1.tar.xz |
Fix tokenizer test in VPATH build.
Diffstat (limited to 'tests/dimension')
-rw-r--r-- | tests/dimension/Makefile.am | 4 | ||||
-rwxr-xr-x | tests/dimension/tokenizer.sh | 2 |
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 |