diff options
author | Jürg Billeter <j@bitron.ch> | 2008-12-15 21:38:22 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-12-15 21:38:22 +0000 |
commit | 976e19c32ebb4290c78cf7198409b670c88a9530 (patch) | |
tree | 5a81b99f95e8271d2e4ac3cd9aa5c3336603d81a /tests/testrunner.sh | |
parent | 33234d8b80550ddaa8192100edb934938683f43e (diff) | |
download | vala-976e19c32ebb4290c78cf7198409b670c88a9530.tar.gz |
Fix make check of uninstalled vala, based on patch by Götz Waschk, fixes
2008-12-15 Jürg Billeter <j@bitron.ch>
* tests/testrunner.sh:
Fix make check of uninstalled vala, based on patch by Götz Waschk,
fixes bug 562951
svn path=/trunk/; revision=2166
Diffstat (limited to 'tests/testrunner.sh')
-rwxr-xr-x | tests/testrunner.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testrunner.sh b/tests/testrunner.sh index a965eee8f..00a624035 100755 --- a/tests/testrunner.sh +++ b/tests/testrunner.sh @@ -22,13 +22,14 @@ builddir=$PWD topbuilddir=$builddir/.. -srcdir=`dirname $0` +srcdir=$PWD/`dirname $0` topsrcdir=$srcdir/.. vapidir=$topsrcdir/vapi export G_DEBUG=fatal_warnings VALAC=$topbuilddir/compiler/valac +VALAFLAGS="--vapidir $vapidir" CC="gcc -std=c99" CFLAGS="-O0 -g3 -I$topsrcdir -I$topbuilddir" LDLIBS="-lm" @@ -57,7 +58,7 @@ function sourceheader() { function sourceend() { if [ -n "$PROGRAM" ]; then - echo "$VALAC $(echo $PACKAGES | xargs -n 1 -r echo --pkg) -C $SOURCEFILE" >> build + echo "$VALAC $VALAFLAGS $(echo $PACKAGES | xargs -n 1 -r echo --pkg) -C $SOURCEFILE" >> build echo "$CC $CFLAGS -o $PROGRAM$EXEEXT $PROGRAM.c \$(pkg-config --cflags --libs glib-2.0 gobject-2.0 $PACKAGES) $LDLIBS" >> build echo "./$PROGRAM$EXEEXT" > check fi |