]> git.saurik.com Git - bison.git/blobdiff - tests/output.at
tests: skip C++ tests that are too demanding for some compilers
[bison.git] / tests / output.at
index 7dbc3db7488d613fac3228cd4ecf126e21d98f29..6c98ef7e18c1377ae13a0c541bea19b5d367d0a9 100644 (file)
@@ -37,10 +37,11 @@ foo: {};
 
 ]AT_BISON_CHECK([$3 $1 $5], 0)[
 # Ignore the files non-generated files
-]AT_CHECK([find . -type f -and -not -path './$1' -and -not -path './testsuite.log' |
-           sed 's,\./,,' |
-           sort |
-           xargs echo],
+]AT_CHECK([[find . -type f |
+           $PERL -ne '
+      s,\./,,; chomp;
+      push @file, $_ unless m{^($1|testsuite.log)$};
+      END { print join (" ", sort @file), "\n" }']],
           [], [$4
 ])[
 ]$6[