Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix test with ASan.
[simgrid.git] / examples / sthread / pthread-mutex-simple.tesh
index b3bba4d..1dd09bd 100644 (file)
@@ -1,7 +1,7 @@
-$ ./pthread-mutex-simple
+$ env ASAN_OPTIONS=verify_asan_link_order=0:$ASAN_OPTIONS LD_PRELOAD=${libdir:=.}/libsthread.so ./pthread-mutex-simple
 > [0.000000] [sthread/INFO] Starting the simulation.
 > The thread 0 is terminating.
 > All threads are started.
 > The thread 1 is terminating.
 > User's main is terminating.
-> [0.000000] [sthread/INFO] All threads exited. Terminating the simulation.
\ No newline at end of file
+> [0.000000] [sthread/INFO] All threads exited. Terminating the simulation.