Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
No need for timestamps in logs.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 30 Aug 2017 12:45:39 +0000 (14:45 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 30 Aug 2017 14:30:33 +0000 (16:30 +0200)
teshsuite/xbt/parmap_test/parmap_test.cpp
teshsuite/xbt/parmap_test/parmap_test.tesh

index cfb1684..e6e209c 100644 (file)
@@ -83,6 +83,7 @@ static int test_parmap_extended(e_xbt_parmap_mode_t mode)
 int main(int argc, char** argv)
 {
   int status = 0;
 int main(int argc, char** argv)
 {
   int status = 0;
+  xbt_log_control_set("parmap_test.fmt:[%c/%p]%e%m%n");
   MSG_init(&argc, argv);
 
   XBT_INFO("Basic testing posix");
   MSG_init(&argc, argv);
 
   XBT_INFO("Basic testing posix");
index d389a73..3933297 100644 (file)
@@ -1,5 +1,5 @@
 ! timeout 120
 ! timeout 120
-$ ${bindir:=.}/parmap_test --log=root.fmt:%m%n
+$ ${bindir:=.}/parmap_test --log=parmap_test.fmt:%m%n
 > Basic testing posix
 > Basic testing futex
 > Basic testing busy wait
 > Basic testing posix
 > Basic testing futex
 > Basic testing busy wait