[vala] Fix testrunner to support multiple packages



commit 873439d26c1f30a20d9e41dc7231c057fd2c8195
Author: Jürg Billeter <j bitron ch>
Date:   Sun Sep 13 18:02:22 2009 +0200

    Fix testrunner to support multiple packages

 tests/testrunner.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testrunner.sh b/tests/testrunner.sh
index 57d4d2b..799c16e 100755
--- a/tests/testrunner.sh
+++ b/tests/testrunner.sh
@@ -58,7 +58,7 @@ function sourceheader() {
 
 function sourceend() {
 	if [ -n "$PROGRAM" ]; then
-		echo "$VALAC $VALAFLAGS $(echo $PACKAGES | xargs -n 1 -r echo --pkg) -C $SOURCEFILE" >> build
+		echo "$VALAC $VALAFLAGS $(echo $PACKAGES | xargs -n 1 -r echo -n " --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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]