/*** Options ***/
int timeout_value = 5; /* child timeout value */
int sort_len = 19; /* length of the prefix to sort */
+char *option;
+rctx_t rctx;
const char *testsuite_name;
+
+xbt_dict_t env;
+
static void handle_line(const char *filepos, char *line)
{
/* Search end */
exit(1);
}
char *eq = strchr(argv[i+1], '=');
- xbt_assert1(eq,"The argument of --setenv must contain a '=' (got %s instead)",argv[i+1]);
+ xbt_assert(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);
XBT_INFO("setting environment variable '%s' to '%s'", key, eq+1);