X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/3efcfd2df21aa11bd9d1ba5ea2f5f490fd4d5b84..db2bf4111cde36048ac66bbac58547d105bc7e80:/test/tests.at diff --git a/test/tests.at b/test/tests.at index d823872..9a890da 100644 --- a/test/tests.at +++ b/test/tests.at @@ -50,13 +50,13 @@ dnl test_parse(TY, IN, OUT) m4_define([test_parse], [ AT_DATA([tv], [;;; -*-conf-*- -@<:@$1@:>@ +@<:@copy-$1@:>@ $1 = $2 @show = t ]) check_template([BUILDDIR/t/tvec.t -fh tv], [0], [left_pad([matched $1], [17]) = $3 -$1: ok +copy-$1: ok PASSED all 1 test in 1 group ])]) @@ -64,18 +64,18 @@ dnl test_parserr(TY, IN, LNO, ERR) m4_define([test_parserr], [ AT_DATA([tv], [;;; -*-conf-*- -@<:@$1@:>@ +@<:@copy-$1@:>@ $1 = $2 ]) check_template([BUILDDIR/t/tvec.t -fh tv], [2], [tv:$3: $4 -tv:={N:\d+}: required register `$1' not set in test `$1' -$1: skipped: no tests to run +tv:={N:\d+}: required register `$1' not set in test `copy-$1' +copy-$1: skipped: no tests to run PASSED 0 tests in 0 groups (1 skipped) ERRORS found in input; tests may not have run correctly ], [tvec.t: tv:$3: $4 -tvec.t: tv:={N:\d+}: required register `$1' not set in test `$1' +tvec.t: tv:={N:\d+}: required register `$1' not set in test `copy-$1' ])]) ###-------------------------------------------------------------------------- @@ -214,7 +214,7 @@ AT_CLEANUP AT_SETUP([tvec serialize]) AT_DATA([tv], -[@<:@types@:>@ +[@<:@multi@:>@ int = -2 uint = 7