* support/regression/fwk/include/testfwk.h: Fixed up to use function pts correctly.
[fw/sdcc] / support / regression / generate-cases.py
index 32f8190e1b0e5b65d9193537531cb409602b4ea7..a7dd57b489556675c3ca992a6df6e177e949de43 100644 (file)
@@ -9,7 +9,7 @@ outdir = 'gen'
 
 # Start of the test function table definition
 testfuntableheader = """
-static void (*const _tests[])(void) = {
+static TESTFUNP _tests[] = {
 """
 
 
@@ -20,10 +20,10 @@ testfuntablefooter = """\tNULL
 
 # Code to generate the suite function
 testfunsuite = """
-void **
+TESTFUNP *
 suite(void)
 {
-    return (void **)_tests;
+    return _tests;
 }
 
 const char *