Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add the new integrated files version (use xbt data structures instead my own data...
[simgrid.git] / tools / tesh2 / examples / suite-usage.tesh
1 #! ./tesh\r
2 \r
3 # This suite show how to use the suite concept. A suite is specified\r
4 # by the metacommand suite have a description and contains some units.\r
5 \r
6 # declare and define the variable dir\r
7 ! testdir=temp_testdir\r
8 \r
9 # delete the temp_testdir if it already exists\r
10 $ rm -rf $testdir\r
11 \r
12 # create the tempory test directory\r
13 $ mkdir $testdir\r
14 \r
15 # enter in the tempory test directory\r
16 $ cd $testdir\r
17 \r
18 $ cd ..\r
19 \r
20 $ rm -rf $testdir\r
21 \r
22 # this is the first suite\r
23 ! suite first suite\r
24 ! include set-timeout.tesh display how to use the timeout metacommand\r
25 ! include set-signal.tesh display how to use the signal metacommand\r
26 # this unit has no description (the file name of the unit will be used)\r
27 ! include background.tesh\r
28 \r
29 # this is the second suite\r
30 ! suite second suite\r
31 ! include cd.tesh\r
32 ! include basic.tesh\r
33 ! include bg-basic.tesh like basic but used backgrounded commands\r
34 \r
35 # a simple inclusion\r
36 ! include catch-return.tesh             \r
37 \r
38 \r
39 \r