Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
last change of Tesh2
[simgrid.git] / tools / tesh2 / examples / jobs.tesh
1 #! ./tesh\r
2 \r
3 D this Tesh unit tests the option of the command line `--jobs'\r
4 \r
5 < #include <stdlib.h>\r
6 < #include <stdio.h>\r
7\r
8 < int\r
9 < main(int argc, char* argv[])\r
10 < {\r
11 <       printf("Hello Tesh\n");\r
12 <       \r
13 <       return EXIT_SUCCESS;\r
14 < }\r
15\r
16 $ cat > job.c\r
17 \r
18 $ gcc -o job job.c\r
19 \r
20 # Ignore output of the command because we can't known the order of the execution of the Tesh files.\r
21 ! output ignore\r
22 \r
23 $ ./tesh --log="log.thresh:info tesh.fmt:%m%n" --silent --jobs --directory=examples jobs1.tesh jobs2.tesh jobs3.tesh jobs4.tesh jobs5.tesh jobs6.tesh jobs7.tesh jobs8.tesh jobs9.tesh \r
24 \r
25 \r
26 $ rm -f job\r
27 \r
28 $ rm -f job.c