-#! ./tesh
+#!/usr/bin/env tesh
p Test the loader of PTG (Parallel Task Graph) written in the DOT format
-$ $SG_TEST_EXENV ${bindir:=.}/ptg-dotload/sd_ptg-dotload ${srcdir:=.}/../platforms/2clusters.xml ${srcdir:=.}/ptg.dot
+# The order differ when executed with gcc's thread sanitizer
+! output sort
+
+$ $SG_TEST_EXENV ${bindir:=.}/ptg-dotload/sd_ptg-dotload ${srcdir:=.}/../platforms/cluster.xml ${srcdir:=.}/ptg-dotload/ptg.dot
> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
> [0.000000] [test/INFO] ------------------- Display all tasks of the loaded DAG ---------------------------
> [0.000000] [sd_task/INFO] Displaying task root
> [0.000000] [sd_task/INFO] - alpha: 0.00
> [0.000000] [sd_task/INFO] - Dependencies to satisfy: 2
> [0.000000] [sd_task/INFO] - pre-dependencies:
-> [0.000000] [sd_task/INFO] c1->c3
> [0.000000] [sd_task/INFO] c2
+> [0.000000] [sd_task/INFO] c1->c3
> [0.000000] [sd_task/INFO] - post-dependencies:
> [0.000000] [sd_task/INFO] c3->end
> [0.000000] [sd_task/INFO] Displaying task c1->c3
> [0.000000] [sd_task/INFO] c3->end
> [0.000000] [test/INFO] ------------------- Schedule tasks ---------------------------
> [0.000000] [test/INFO] ------------------- Run the schedule ---------------------------
-> [3.290271] [test/INFO] Makespan: 3.290271
+> [2.931978] [test/INFO] Makespan: 2.931978
+