aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/lists.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/c/lists.c')
-rw-r--r--test/c/lists.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/c/lists.c b/test/c/lists.c
index a72ec398..8deb0f37 100644
--- a/test/c/lists.c
+++ b/test/c/lists.c
@@ -61,8 +61,13 @@ int main(int argc, char ** argv)
int n, niter, i;
struct list * l;
+#ifdef __K1C__
if (argc >= 2) n = atoi(argv[1]); else n = 500;
if (argc >= 3) niter = atoi(argv[1]); else niter = 100;
+#else
+ if (argc >= 2) n = atoi(argv[1]); else n = 1000;
+ if (argc >= 3) niter = atoi(argv[1]); else niter = 20000;
+#endif
l = buildlist(n);
if (checklist(n, reverselist(l))) {
printf("OK\n");