chiark / gitweb /
@@@ tvec wip
[mLib] / test / tests.at
index d823872ab3ce17a321d69c9dc235359744259bd1..9a890da37ac5b5ae6bf5a2f6506f8dfa199f850d 100644 (file)
@@ -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