]> git.draconx.ca Git - cdecl99.git/commitdiff
tests: Avoid use of AT_TESTED.
authorNick Bowler <nbowler@draconx.ca>
Tue, 19 Dec 2023 13:22:08 +0000 (08:22 -0500)
committerNick Bowler <nbowler@draconx.ca>
Tue, 19 Dec 2023 14:32:46 +0000 (09:32 -0500)
This macro doesn't seem to handle systems with non-empty EXEEXT
properly.  All it does is prevent the testsuite from working.
We don't need such gratuitous failures, just log the output of
cdecl99 --version at the start of the test run and move on.

testsuite.at

index 9533e66eddb6d4616b7792c9b83bb026f1ca7df4..58fae65eaa4691b8d0992f93eb4b476fc48b97ab 100644 (file)
@@ -19,7 +19,13 @@ m4_include([common/snippet/test-tap.at])
 AT_INIT
 AT_COLOR_TESTS
 
-AT_TESTED([cdecl99])
+m4_divert_push([PREPARE_TESTS])dnl
+{
+  echo "% cdecl99 --version"
+  cdecl99 --version </dev/null
+  echo
+} >&AS_MESSAGE_LOG_FD 2>&1
+m4_divert_pop([PREPARE_TESTS])
 
 AT_ARG_OPTION_ARG([random-seed],
   [AS_HELP_STRING([--random-seed=ARG],