summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-12-31 17:21:07 -0600
committerBehdad Esfahbod <behdad@behdad.org>2012-12-31 17:21:07 -0600
commit6bfef3ca4e52bdd5216facb90faa043c845aa0f6 (patch)
tree842f0858b4ac11bcdb93fc3a7695ae4351849058 /test
parentb1630dc00e3538a8fc6629ddbbba5435bfb2bd7a (diff)
Make tests run on Windows
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am2
-rw-r--r--test/run-test.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 72da8d64..4adcb17d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,5 +1,5 @@
check_SCRIPTS=run-test.sh
-TESTS_ENVIRONMENT=src=${srcdir} sh
+TESTS_ENVIRONMENT=src=${srcdir} EXEEXT=${EXEEXT} sh
TESTS=run-test.sh
TESTDATA=4x6.pcf 8x16.pcf out.expected fonts.conf.in
diff --git a/test/run-test.sh b/test/run-test.sh
index e7174b28..24ca296b 100644
--- a/test/run-test.sh
+++ b/test/run-test.sh
@@ -6,8 +6,8 @@ CACHEDIR=`pwd`/cache.dir
ECHO=true
-FCLIST=../fc-list/fc-list
-FCCACHE=../fc-cache/fc-cache
+FCLIST=../fc-list/fc-list$EXEEXT
+FCCACHE=../fc-cache/fc-cache$EXEEXT
FONT1=$TESTDIR/4x6.pcf
FONT2=$TESTDIR/8x16.pcf