/*** Options ***/
int timeout_value = 5; /* child timeout value */
int sort_len = 19; /* length of the prefix to sort */
+char *option;
+int coverage = 0; /* whether the code coverage is enable */
+rctx_t rctx;
const char *testsuite_name;
+
+xbt_dict_t env;
+
static void handle_line(const char *filepos, char *line)
{
/* Search end */
rctx_free(rctx);
/* Clear buffers */
- if (line)
- free(line);
+ free(line);
xbt_strbuff_free(buff);
}
argc -= 2;
i -= 2;
}
+ else if (!strcmp(argv[i], "--enable-coverage" )){
+ coverage = 1;
+ XBT_INFO("Enable coverage");
+ memmove(argv + i, argv + i + 1, (argc - i - 1) * sizeof(char *));
+ argc -= 1;
+ i -= 1;
+ }
}
/* Find the description file */