Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Properly say the test suite that java tests are not run when it's the case
[simgrid.git] / examples / java / ping_pong / Makefile.am
index 5e23b21..39e1cb7 100644 (file)
@@ -1,17 +1,22 @@
+# Copyright (c) 2004-2007. The SimGrid team. All right reserved.
+
+# This file is part of the SimGrid project. This is free software:
+# You can redistribute and/or modify it under the terms of the
+# GNU LGPL (v2.1) licence.
+
+
 EXTRA_DIST=ping_pong_deployment.xml ping_pong_platform.xml
 
 # Declare sources:
 JAVA_SRC=Sender.java Receiver.java PingPongTask.java PingPongTest.java
 JAVA_TESTS=PingPongTest.class
+TESTS=$(JAVA_TESTS)
 
 EXTRA_DIST+=$(JAVA_SRC)
 
 # Declare test class
 if HAVE_JAVA
-noinst_JAVA=$(JAVA_SRC)
-TESTS=$(JAVA_TESTS)
-else
-EXTRA_DIST+=$(JAVA_TESTS)
+  noinst_JAVA=$(JAVA_SRC)
 endif
 
 include $(srcdir)/../java_test.mk