commit 33abbdeb9f28269d7706feaac90df812d06ee17b
Author: Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Mon Nov 18 14:09:48 2019 +0100
Commit: Fabian Greffrath <fabian@greffrath.com>
CommitDate: Mon Nov 18 14:09:48 2019 +0100
travis: determine program prefix from config.h
---
.travis.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.travis.sh b/.travis.sh
index 0affcf6a..e5718212 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -13,5 +13,6 @@ else
make -j4
make install DESTDIR=/tmp/whatever
make dist
- make -j4 -C quickcheck check SOURCE_PORT=$PWD/src/chocolate-doom
+ PREFIX=`sed -n '/PROGRAM_PREFIX/p' ${PWD}/config.h | cut -d '"' -f 2`
+ make -j4 -C quickcheck check SOURCE_PORT=$PWD/src/${PREFIX}doom
fi