From: Ryan Lortie Date: Sat, 7 Jan 2012 06:06:37 +0000 (-0500) Subject: tests: fix some bugs in the vala-vpath test X-Git-Tag: v1.11.2b~7^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c7ee8c6db00ddc4cd90b9d44c5ccf3a90d26663b;p=thirdparty%2Fautomake.git tests: fix some bugs in the vala-vpath test * tests/vala-vpath.test: There are (trivial) problems in this testcase that would cause the build to fail even if the core issue were resolved. Fix those. Copyright-paperwork-exempt: yes --- diff --git a/tests/vala-vpath.test b/tests/vala-vpath.test index 98e0f4333..99e30dba4 100755 --- a/tests/vala-vpath.test +++ b/tests/vala-vpath.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011 Free Software Foundation, Inc. +# Copyright (C) 2011, 2012 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -22,8 +22,6 @@ required="valac" set -e -mkdir src - cat >> configure.in << 'END' AC_CONFIG_SRCDIR([hello.vala]) AC_PROG_CC @@ -31,9 +29,9 @@ AM_PROG_VALAC([0.7]) AC_OUTPUT END - cat > Makefile.am <<'END' bin_PROGRAMS = foo +foo_VALAFLAGS = --profile=posix foo_SOURCES = hello.vala END @@ -41,7 +39,6 @@ cat > hello.vala <<'END' void main () { stdout.printf ("foo\n"); - return 0; } END