Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
One CMakeLists for all java teshes
[simgrid.git] / teshsuite / java / SemaphoreGC / SemaphoreGC.tesh
diff --git a/teshsuite/java/SemaphoreGC/SemaphoreGC.tesh b/teshsuite/java/SemaphoreGC/SemaphoreGC.tesh
new file mode 100644 (file)
index 0000000..72e87a8
--- /dev/null
@@ -0,0 +1,5 @@
+$ java -classpath ${classpath:=.} SemaphoreGC.SemaphoreGC ${srcdir:=.}/../../examples/platforms/small_platform.xml "--log=root.fmt:[%10.4r]%e(%i:%P@%h)%e%m%n"
+> [    0.0000] (0:maestro@) Using regular java threads.
+> [    0.0000] (1:SemCreator@Fafard) Creating 50 new Semaphores, yielding and triggering a GC after each
+> [  500.0000] (1:SemCreator@Fafard) It worked, we survived. The test is passed.
+> [  500.0000] (0:maestro@) MSG_main finished; Cleaning up the simulation...