Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add --enable-coverage to tesh self-tests.
[simgrid.git] / tools / tesh / IO-orders.tesh
index 4862eb1..7948316 100644 (file)
@@ -5,53 +5,59 @@ p Order: in, out, cmd
 < < TOTO
 < > TOTO
 < $ cat
-> [0.000000] [tesh/INFO] Test suite from stdin
-> [0.000000] [tesh/INFO] [stdin:3] cat
-> [0.000000] [tesh/INFO] Test suite from stdin OK
-$ ./tesh
+> Enable coverage
+> Test suite from stdin
+> [(stdin):3] cat
+> Test suite from stdin OK
+$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
 
 p Order: out, in, cmd
 < > TOTO
 < < TOTO
 < $ cat
-> [0.000000] [tesh/INFO] Test suite from stdin
-> [0.000000] [tesh/INFO] [stdin:3] cat
-> [0.000000] [tesh/INFO] Test suite from stdin OK
-$ ./tesh
+> Enable coverage
+> Test suite from stdin
+> [(stdin):3] cat
+> Test suite from stdin OK
+$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
 
 p Order: out, cmd, in
 < > TOTO
 < $ cat
 < < TOTO
-> [0.000000] [tesh/INFO] Test suite from stdin
-> [0.000000] [tesh/INFO] [stdin:2] cat
-> [0.000000] [tesh/INFO] Test suite from stdin OK
-$ ./tesh
+> Enable coverage
+> Test suite from stdin
+> [(stdin):2] cat
+> Test suite from stdin OK
+$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
 
 p Order: in, cmd, out
 < < TOTO
 < $ cat
 < > TOTO
-> [0.000000] [tesh/INFO] Test suite from stdin
-> [0.000000] [tesh/INFO] [stdin:2] cat
-> [0.000000] [tesh/INFO] Test suite from stdin OK
-$ ./tesh
+> Enable coverage
+> Test suite from stdin
+> [(stdin):2] cat
+> Test suite from stdin OK
+$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
 
 p Order: cmd, out, in
 < $ cat
 < > TOTO
 < < TOTO
-> [0.000000] [tesh/INFO] Test suite from stdin
-> [0.000000] [tesh/INFO] [stdin:1] cat
-> [0.000000] [tesh/INFO] Test suite from stdin OK
-$ ./tesh
+> Enable coverage
+> Test suite from stdin
+> [(stdin):1] cat
+> Test suite from stdin OK
+$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
 
 p Order: cmd, in, out
 < $ cat
 < < TOTO
 < > TOTO
-> [0.000000] [tesh/INFO] Test suite from stdin
-> [0.000000] [tesh/INFO] [stdin:1] cat
-> [0.000000] [tesh/INFO] Test suite from stdin OK
-$ ./tesh
+> Enable coverage
+> Test suite from stdin
+> [(stdin):1] cat
+> Test suite from stdin OK
+$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'