X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/b64eb60f6c1fdb12f3922e04913e137199838807..3efcfd2df21aa11bd9d1ba5ea2f5f490fd4d5b84:/utils/t/bits-test.c diff --git a/utils/t/bits-test.c b/utils/t/bits-test.c index 743ad0e..a49990e 100644 --- a/utils/t/bits-test.c +++ b/utils/t/bits-test.c @@ -85,19 +85,19 @@ static const struct tvec_regdef arith_regs[] = { }; static const struct tvec_test tests[] = { - { "lsl64", shift_regs, 0, tvec_runtest, test_LSL }, - { "lsr64", shift_regs, 0, tvec_runtest, test_LSR }, - { "rol64", shift_regs, 0, tvec_runtest, test_ROL }, - { "ror64", shift_regs, 0, tvec_runtest, test_ROR }, - { "add64", arith_regs, 0, tvec_runtest, test_ADD }, - { "sub64", arith_regs, 0, tvec_runtest, test_SUB }, - { 0, 0, 0, 0, 0 } + { "lsl64", shift_regs, 0, test_LSL }, + { "lsr64", shift_regs, 0, test_LSR }, + { "rol64", shift_regs, 0, test_ROL }, + { "ror64", shift_regs, 0, test_ROR }, + { "add64", arith_regs, 0, test_ADD }, + { "sub64", arith_regs, 0, test_SUB }, + { 0, 0, 0, 0 } }; -static const struct tvec_info testinfo = +static const struct tvec_config testconfig = { tests, NROUT, NREG, sizeof(struct tvec_reg) }; int main(int argc, char *argv[]) - { return (tvec_main(argc, argv, &testinfo, 0)); } + { return (tvec_main(argc, argv, &testconfig, 0)); } /*----- That's all, folks -------------------------------------------------*/