A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use tesh perl for all platforms
[simgrid.git]
/
tools
/
tesh
/
tesh.h
diff --git
a/tools/tesh/tesh.h
b/tools/tesh/tesh.h
index
d393903
..
1fc2d89
100644
(file)
--- a/
tools/tesh/tesh.h
+++ b/
tools/tesh/tesh.h
@@
-1,6
+1,6
@@
/* TESH (Test Shell) -- mini shell specialized in running test units */
/* TESH (Test Shell) -- mini shell specialized in running test units */
-/* Copyright (c) 2007
, 2008, 2009, 2010
. The SimGrid Team.
+/* Copyright (c) 2007
-2011, 2013-2014
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-17,15
+17,19
@@
/******************************************/
/* return the name of a signal, aliasing SIGBUS to SIGSEGV since
segfault leads to any of them depending on the system */
/******************************************/
/* return the name of a signal, aliasing SIGBUS to SIGSEGV since
segfault leads to any of them depending on the system */
-const char *signal_name(
unsigned
int got, char *expected);
+const char *signal_name(int got, char *expected);
#include "run_context.h"
/*** Options ***/
#include "run_context.h"
/*** Options ***/
-int timeout_value; /* child timeout value */
+extern int timeout_value; /* child timeout value */
+extern int sort_len; /* length of the prefix to sort */
+extern char* option; /* cfg for command line */
+#define SORT_LEN_DEFAULT 19
+extern int coverage; /* coverage */
-rctx_t rctx;
-char *testsuite_name;
+
extern
rctx_t rctx;
+
extern const
char *testsuite_name;
/* Environment related definitions */
/* Environment related definitions */
@@
-38,6
+42,6
@@
char *testsuite_name;
extern char **environ;
# endif
extern char **environ;
# endif
-
xbt_dict_t env;
/* the environment, stored as a dict (for variable substitution) */
+
extern xbt_dict_t env;
/* the environment, stored as a dict (for variable substitution) */
#endif /* TESH_H */
#endif /* TESH_H */