/*** Options ***/
int timeout_value = 5; /* child timeout value */
+int sort_len = 19; /* length of the prefix to sort */
-char *testsuite_name;
+const char *testsuite_name;
static void handle_line(const char *filepos, char *line)
{
/* Search end */
xbt_assert1(eq,"The argument of --setenv must contain a '=' (got %s instead)",argv[i+1]);
char *key = bprintf("%.*s", (int) (eq - argv[i+1]), argv[i+1]);
xbt_dict_set(env, key, xbt_strdup(eq + 1), xbt_free_f);
+ INFO2("setting environment variable '%s' to '%s'", key, eq+1);
free(key);
- VERB1("setenv %s", argv[i+1]);
memmove(argv + i, argv + i + 2, (argc - i - 1) * sizeof(char *));
argc -= 2;
i -= 2;
/* Find the description file */
if (argc == 1) {
INFO0("Test suite from stdin");
- testsuite_name = xbt_strdup("(stdin)");
- handle_suite("stdin", stdin);
+ testsuite_name = "(stdin)";
+ handle_suite(testsuite_name, stdin);
+ rctx_wait_bg();
INFO0("Test suite from stdin OK");
} else {