summaryrefslogtreecommitdiff
path: root/tests/lex3.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lex3.test')
-rwxr-xr-xtests/lex3.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lex3.test b/tests/lex3.test
index b10a6cbf0..2b7f3d15a 100755
--- a/tests/lex3.test
+++ b/tests/lex3.test
@@ -59,8 +59,10 @@ $AUTOMAKE -a
# Program should build and run.
$MAKE
-echo GOOD | ./foo
-echo BAD | ./foo && Exit 1
+if cross_compiling; then :; else
+ echo GOOD | ./foo
+ echo BAD | ./foo && Exit 1
+fi
# The generated file `foo.c' must be shipped.
$MAKE distdir