summaryrefslogtreecommitdiff
path: root/t/yacc-basic.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-04-18 18:04:12 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-04-18 18:04:30 +0200
commit97f2a6db3379ffaa3a21ea590b09710dc25b264e (patch)
tree9e638a242b9fd62d86d7cd8f6d2087bc373e8abb /t/yacc-basic.sh
parent41f418b0787c7b574fa702fb1f14546ada4eadc2 (diff)
downloadautomake-97f2a6db3379ffaa3a21ea590b09710dc25b264e.tar.gz
tests: avoid spurious failures when cross-compiling
* t/parallel-tests-recheck-depends-on-all.sh: Skip the test when cross-compiling. * t/vala-vapi.sh: Skip tests that do not make sense when cross-compiling. * t/yacc-basic.sh: Likewise. * t/yacc-cxx.sh: Likewise. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/yacc-basic.sh')
-rwxr-xr-xt/yacc-basic.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/yacc-basic.sh b/t/yacc-basic.sh
index 71a17e58e..d2fd49061 100755
--- a/t/yacc-basic.sh
+++ b/t/yacc-basic.sh
@@ -70,12 +70,11 @@ test -f bar-parse.output
if cross_compiling; then :; else
echo a | ./foo
echo b | ./foo && Exit 1
+ echo a | ./bar
+ echo b | ./bar && Exit 1
: For shells with busted 'set -e'.
fi
-echo a | ./bar
-echo b | ./bar && Exit 1
-
# The Yacc-derived C sources must be shipped.
$MAKE echo-distcom
$MAKE -s echo-distcom | grep '[ /]parse\.c '