Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add the people page to the navbar
[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 /*** Buffers ***/
16 /***************/
17 #include "buff.h"
18
19 /*** What we need to know about signals ***/
20 /******************************************/
21 /* return the name of a signal, aliasing SIGBUS to SIGSEGV since
22    segfault leads to any of them depending on the system */
23 const char* signal_name(unsigned int got, char *expected);
24
25 #include "run_context.h"
26   
27 /*** Options ***/
28 int timeout_value; /* child timeout value */
29
30 rctx_t rctx;
31 char *testsuite_name;
32 #endif /* TESH_H */