Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use cmake's JAVA_EXECUTABLE to run Java tests.
[simgrid.git] / examples / java / task / priority / task-priority.tesh
1 #!/usr/bin/env tesh
2
3 ! output sort 19
4
5 $ ${javacmd:=java} -classpath ${classpath:=.} task/priority/Main ${srcdir:=.}/../platforms/small_platform.xml ${srcdir:=.}/task/priority/priority.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (0:maestro@) Using regular java threads.
7 > [  0.000000] (1:task.priority.Test@Fafard) Hello! Running a task of size 7.6296E7 with priority 1.0
8 > [  0.000000] (2:task.priority.Test@Fafard) Hello! Running a task of size 7.6296E7 with priority 2.0
9 > [  1.500000] (2:task.priority.Test@Fafard) Goodbye now!
10 > [  2.000000] (0:maestro@) MSG_main finished; Terminating the simulation...
11 > [  2.000000] (1:task.priority.Test@Fafard) Goodbye now!