summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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