Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allow more time to run that test (travis/mac needs it)
[simgrid.git] / teshsuite / java / SemaphoreGC / SemaphoreGC.tesh
index 72e87a8..76c6b4a 100644 (file)
@@ -1,4 +1,6 @@
-$ java -classpath ${classpath:=.} SemaphoreGC.SemaphoreGC ${srcdir:=.}/../../examples/platforms/small_platform.xml "--log=root.fmt:[%10.4r]%e(%i:%P@%h)%e%m%n"
+! timeout 15
+
+$ java -classpath ${classpath:=.} SemaphoreGC.SemaphoreGC ${srcdir:=.}/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.