summaryrefslogtreecommitdiffstats
path: root/test/huge.test
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-02-13 12:14:31 +0100
committerGravatar Nikias Bassen2014-02-13 12:14:31 +0100
commit8867ee930606a2d9126b742b1c5ad7a8fa425190 (patch)
treecd68fba84007c810a184e48360ddb78a2f2ed389 /test/huge.test
parent497a5980d837e212f2444688dce72c6080762280 (diff)
downloadlibplist-8867ee930606a2d9126b742b1c5ad7a8fa425190.tar.gz
libplist-8867ee930606a2d9126b742b1c5ad7a8fa425190.tar.bz2
fix make distcheck
Diffstat (limited to 'test/huge.test')
-rwxr-xr-xtest/huge.test15
1 files changed, 7 insertions, 8 deletions
diff --git a/test/huge.test b/test/huge.test
index a079d38..f4ea9bf 100755
--- a/test/huge.test
+++ b/test/huge.test
@@ -1,12 +1,11 @@
## -*- sh -*-
-# Common definitions
-if test -z "$srcdir"; then
- srcdir=echo "$0" | sed 's,[^/]*$,,'
- test "$srcdir" = "$0" && srcdir=.
- test -z "$srcdir" && srcdir=.
- test "${VERBOSE+set}" != set && VERBOSE=1
-fi
+DATASRC=$top_srcdir/test/data
+DATAOUT=$top_builddir/test/data
+TESTFILE=5.plist
-$srcdir/plist_test $srcdir/data/5.plist
+if ! test -d "$DATAOUT"; then
+ mkdir -p $DATAOUT
+fi
+$top_builddir/test/plist_test $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out