summaryrefslogtreecommitdiff
path: root/tests/vala-mix.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vala-mix.test')
-rwxr-xr-xtests/vala-mix.test11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/vala-mix.test b/tests/vala-mix.test
index 012b36ad0..fe48f26a5 100755
--- a/tests/vala-mix.test
+++ b/tests/vala-mix.test
@@ -29,12 +29,13 @@ AC_OUTPUT
END
cat > Makefile.am <<'END'
-bin_PROGRAMS = zardoz mu
+bin_PROGRAMS = zardoz mu baz
AM_VALAFLAGS = --profile=posix
zardoz_SOURCES = foo.vala bar.c
mu_SOURCES = 1.vala 2.c
mu_VALAFLAGS = $(AM_VALAFLAGS) --main=run
mu_CFLAGS = -DHAVE_MU
+baz_SOURCES = baz.c
END
if cross_compiling; then :; else
@@ -74,6 +75,14 @@ chocke me
#endif
END
+# For automake bug#11229.
+cat > baz.c <<'END'
+int main (void)
+{
+ return 0;
+}
+END
+
$ACLOCAL
$AUTOMAKE -a
$AUTOCONF