~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@@ tvec wip
[mLib]
/
test
/
tests.at
diff --git
a/test/tests.at
b/test/tests.at
index
d823872
..
9a890da
100644
(file)
--- 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-*-
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 = $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
])])
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-*-
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
$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
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],
AT_SETUP([tvec serialize])
AT_DATA([tv],
-[@<:@
types
@:>@
+[@<:@
multi
@:>@
int = -2
uint = 7
int = -2
uint = 7