Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics to java documentation
[simgrid.git] / tools / tesh / tesh.h
1 /* $Id$ */
2
3 /* TESH (Test Shell) -- mini shell specialized in running test units        */
4
5 /* Copyright (c) 2007 Martin Quinson.                                       */
6 /* All rights reserved.                                                     */
7
8 /* This program is free software; you can redistribute it and/or modify it
9  * under the terms of the license (GNU LGPL) which comes with this package. */
10
11 #ifndef TESH_H
12 #define TESH_H
13
14 #include "xbt/xbt_os_thread.h"
15 #include "xbt/strbuff.h"
16
17 /*** What we need to know about signals ***/
18 /******************************************/
19 /* return the name of a signal, aliasing SIGBUS to SIGSEGV since
20    segfault leads to any of them depending on the system */
21 const char* signal_name(unsigned int got, char *expected);
22
23 #include "run_context.h"
24   
25 /*** Options ***/
26 int timeout_value; /* child timeout value */
27
28 rctx_t rctx;
29 char *testsuite_name;
30 #endif /* TESH_H */