X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..3da9f0ae7a6c122de59a8a9f7d9589e237195cd7:/tools/tesh/tesh.h diff --git a/tools/tesh/tesh.h b/tools/tesh/tesh.h index a3cbe9acae..4029614c5d 100644 --- a/tools/tesh/tesh.h +++ b/tools/tesh/tesh.h @@ -1,9 +1,7 @@ -/* $Id$ */ - /* TESH (Test Shell) -- mini shell specialized in running test units */ -/* Copyright (c) 2007-2008, Da SimGrid team. */ -/* All rights reserved. */ +/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -24,10 +22,14 @@ const char *signal_name(unsigned int got, char *expected); #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 */ @@ -40,6 +42,6 @@ char *testsuite_name; 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 */