From: Rico Tzschichholz Date: Fri, 5 Mar 2021 18:32:38 +0000 (+0100) Subject: testrunner: Include Gio-2.0/gio-2.0 for GIR tests too X-Git-Tag: 0.51.90~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8723f32a94b99cf3a87b12b576b857ea2716bf12;p=thirdparty%2Fvala.git testrunner: Include Gio-2.0/gio-2.0 for GIR tests too --- diff --git a/build-aux/testrunner.sh b/build-aux/testrunner.sh index dd97adb08..6c31fbe76 100755 --- a/build-aux/testrunner.sh +++ b/build-aux/testrunner.sh @@ -105,6 +105,7 @@ function sourceheader() { xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> + " >> $SOURCEFILE echo "" >> $SOURCEFILE fi - echo "$VAPIGEN $VAPIGENFLAGS --library $ns $ns.gir && tail -n +5 $ns.vapi|sed '\$d'|diff -wu $ns.vapi.ref -" > check + PACKAGEFLAGS=$([ -z "$PACKAGES" ] || echo $PACKAGES | xargs -n 1 echo -n " --pkg") + echo "$VAPIGEN $VAPIGENFLAGS $PACKAGEFLAGS --library $ns $ns.gir && tail -n +5 $ns.vapi|sed '\$d'|diff -wu $ns.vapi.ref -" > check else PACKAGEFLAGS=$([ -z "$PACKAGES" ] || echo $PACKAGES | xargs -n 1 echo -n " --pkg") echo "$VALAC $VALAFLAGS $PACKAGEFLAGS -o $ns$EXEEXT $SOURCEFILE" >> prepare