summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2017-12-05 21:57:19 +0900
committerAkira TAGOH <akira@tagoh.org>2017-12-05 21:57:19 +0900
commita6797cd5c2d430d22f689240eb4318f2d91fd677 (patch)
tree0a14f51a409bf5fb6297eb562b50435a0747c6c4 /test
parent1b2279d6b5118fc00bc028340d14fe1e345a4ab4 (diff)
Fix distcheck error
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am4
-rw-r--r--test/run-test.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 2e7f2433..245853f8 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -17,10 +17,10 @@ TESTDATA=4x6.pcf 8x16.pcf out.expected fonts.conf.in
if FREETYPE_PCF_LONG_FAMILY_NAMES
out.expected: $(srcdir)/out.expected-long-family-names
- cp $(srcdir)/out.expected-long-family-names out.expected
+ cp $(srcdir)/out.expected-long-family-names $(builddir)/out.expected
else
out.expected: $(srcdir)/out.expected-no-long-family-names
- cp $(srcdir)/out.expected-no-long-family-names out.expected
+ cp $(srcdir)/out.expected-no-long-family-names $(builddir)/out.expected
endif
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
diff --git a/test/run-test.sh b/test/run-test.sh
index 5dc4c83f..be2cc921 100644
--- a/test/run-test.sh
+++ b/test/run-test.sh
@@ -51,7 +51,7 @@ check () {
echo "=" >> out
$FCLIST - family pixelsize | sort >> out
tr -d '\015' <out >out.tmp; mv out.tmp out
- if cmp out $EXPECTED > /dev/null ; then : ; else
+ if cmp out $TESTDIR/$EXPECTED > /dev/null ; then : ; else
echo "*** Test failed: $TEST"
echo "*** output is in 'out', expected output in '$EXPECTED'"
exit 1