@@@ remote works?
[mLib] / utils / t / control-test.c
index 772ddd2..b2fd2c7 100644 (file)
@@ -41,9 +41,9 @@ static struct tvec_state tvstate;
 static int step;
 
 #define TESTGROUP(name)                                                        \
-       TVEC_TESTGROUP(tg, &tvstate, name)                              \
+       TVEC_TESTGROUP_TAG(grp, &tvstate, name)                         \
        MC_BEFORE(init, { step = 0; })
-#define TEST TVEC_TEST(test, &tvstate)
+#define TEST TVEC_TEST_TAG(test, &tvstate)
 #define STEP(s) do {                                                   \
          tvec_claim(&tvstate, s == step, __FILE__, __LINE__,           \
                     "found %d /= expected %d", s, step);               \
@@ -61,7 +61,7 @@ int main(int argc, char *argv[])
   int argpos;
   int i;
 
-  tvec_parseargs(argc, argv, &tvstate, &argpos, &tvec_adhocinfo);
+  tvec_parseargs(argc, argv, &tvstate, &argpos, &tvec_adhocconfig);
   if (argpos < argc) die(2, "no input files expected");
   tvec_adhoc(&tvstate, &test);