Commit 976e19c3 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

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
parent 33234d8b
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
2008-12-15 Jürg Billeter <j@bitron.ch>
* tests/testrunner.sh:
......
......@@ -30,6 +30,7 @@ Francisco Camenforte Torres
Frederik
Gabriel Falcão
Geert Jan Alsem
Götz Waschk
Hans Vercammen
Jaap A. Haitsma
Jamie McCracken
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment