From: Stefano Lattarini Date: Wed, 31 Oct 2012 11:40:47 +0000 (+0100) Subject: vala tests: source test-init.sh, not ./defs X-Git-Tag: v1.12.5~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0494881b53d6a125c1e4feeb03101de351085a1b;p=platform%2Fupstream%2Fautomake.git vala tests: source test-init.sh, not ./defs This will avoid spurious errors when the new vala tests (introduced in the 'vala-work' branch) will be merged back to master. * t/vala-headers.sh: Adjust as said. * t/vala-libs.sh: Likewise. * t/vala-mix.sh: Likewise. * t/vala-mix2.sh: Likewise. * t/vala-parallel.sh: Likewise. * t/vala-vapi.sh: Likewise. * t/vala-vpath.sh: Likewise. * t/vala.sh: Likewise. * t/vala2.sh: Likewise. * t/vala3.sh: Likewise. * t/vala4.sh: Likewise. * t/vala5.sh: Likewise. Signed-off-by: Stefano Lattarini --- diff --git a/t/vala-headers.sh b/t/vala-headers.sh index 48dbf81..79a7b27 100755 --- a/t/vala-headers.sh +++ b/t/vala-headers.sh @@ -17,7 +17,7 @@ # Test to make sure compiling Vala code really works with recursive make. required="pkg-config valac gcc GNUmake" -. ./defs || exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_PROG_CC diff --git a/t/vala-libs.sh b/t/vala-libs.sh index f6a7ba9..c38740f 100755 --- a/t/vala-libs.sh +++ b/t/vala-libs.sh @@ -18,7 +18,7 @@ # And use of vapi files to call C code from Vala. required="valac cc pkg-config libtoolize GNUmake" -. ./defs || exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_PROG_CC diff --git a/t/vala-mix.sh b/t/vala-mix.sh index 2580bd0..5e2e7ce 100755 --- a/t/vala-mix.sh +++ b/t/vala-mix.sh @@ -17,7 +17,7 @@ # Vala sources and C sources in the same program. Functional test. required='valac cc GNUmake' -. ./defs || exit 1 +. test-init.sh cat >> configure.ac <<'END' AC_PROG_CC diff --git a/t/vala-mix2.sh b/t/vala-mix2.sh index e1dbb5d..9b2402d 100755 --- a/t/vala-mix2.sh +++ b/t/vala-mix2.sh @@ -18,7 +18,7 @@ # program. Functional test. See automake bug#10894. required='valac cc c++ GNUmake' -. ./defs || exit 1 +. test-init.sh cat >> configure.ac <<'END' AC_PROG_CC diff --git a/t/vala-parallel.sh b/t/vala-parallel.sh index d03080d..c71420a 100755 --- a/t/vala-parallel.sh +++ b/t/vala-parallel.sh @@ -17,7 +17,7 @@ # Vala support with parallel make. required='valac cc GNUmake' -. ./defs || exit 1 +. test-init.sh cat >> configure.ac <<'END' AC_PROG_CC diff --git a/t/vala-vapi.sh b/t/vala-vapi.sh index 2f332da..f006832 100755 --- a/t/vala-vapi.sh +++ b/t/vala-vapi.sh @@ -17,7 +17,7 @@ # Test and that vapi files are correctly handled by Vala support. required='valac cc GNUmake' -. ./defs || exit 1 +. test-init.sh cat >> configure.ac <<'END' AC_PROG_CC diff --git a/t/vala-vpath.sh b/t/vala-vpath.sh index 9874f68..7428b97 100755 --- a/t/vala-vpath.sh +++ b/t/vala-vpath.sh @@ -18,7 +18,7 @@ # See automake bug#8753. required="cc valac GNUmake" -. ./defs || exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_CONFIG_SRCDIR([hello.vala]) diff --git a/t/vala.sh b/t/vala.sh index 9e48549..4869a61 100755 --- a/t/vala.sh +++ b/t/vala.sh @@ -16,7 +16,7 @@ # Basic "grepping" test on vala support. -. ./defs || exit 1 +. test-init.sh # So that we won't require libtool macros. cat > acinclude.m4 <<'END' diff --git a/t/vala2.sh b/t/vala2.sh index 1c5bdb9..2543c78 100755 --- a/t/vala2.sh +++ b/t/vala2.sh @@ -17,7 +17,7 @@ # Test to make sure compiling Vala code really works with recursive make. required="pkg-config valac gcc GNUmake" -. ./defs || exit 1 +. test-init.sh mkdir src diff --git a/t/vala3.sh b/t/vala3.sh index d9ecdea..96135d3 100755 --- a/t/vala3.sh +++ b/t/vala3.sh @@ -17,7 +17,7 @@ # Test to make sure compiling Vala code really works with non-recursive make. required="pkg-config valac gcc GNUmake" -. ./defs || exit 1 +. test-init.sh mkdir src diff --git a/t/vala4.sh b/t/vala4.sh index cf3e70e..91d96bb 100755 --- a/t/vala4.sh +++ b/t/vala4.sh @@ -16,7 +16,7 @@ # Test AM_PROG_VALAC. -. ./defs || exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_PROG_CC diff --git a/t/vala5.sh b/t/vala5.sh index bc29346..9cd57f8 100755 --- a/t/vala5.sh +++ b/t/vala5.sh @@ -17,7 +17,7 @@ # Test per-target flags. required="pkg-config valac gcc GNUmake" -. ./defs || exit 1 +. test-init.sh mkdir src