A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly say the test suite that java tests are not run when it's the case
[simgrid.git]
/
examples
/
java
/
comm_time
/
Makefile.am
diff --git
a/examples/java/comm_time/Makefile.am
b/examples/java/comm_time/Makefile.am
index
d60c632
..
c469a01
100644
(file)
--- a/
examples/java/comm_time/Makefile.am
+++ b/
examples/java/comm_time/Makefile.am
@@
-1,12
+1,24
@@
+# 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=comm_time_deployment.xml comm_time_platform.xml
# Declare sources:
EXTRA_DIST=comm_time_deployment.xml comm_time_platform.xml
# Declare sources:
-noinst_JAVA= Master.java Slave.java CommTimeTest.java CommTimeTask.java
+JAVA_SRC=Master.java Slave.java CommTimeTest.java \
+ CommTimeTask.java FinalizeTask.java
+JAVA_TESTS=CommTimeTest.class
+TESTS=$(JAVA_TESTS)
+
+EXTRA_DIST+=$(JAVA_SRC)
-#
if HAVE_JAVA
- # Declare test class
- TESTS=CommTimeTest.class
-
#
endif
+#
Declare test class
+if HAVE_JAVA
+ noinst_JAVA=$(JAVA_SRC)
+endif
include $(srcdir)/../java_test.mk
include $(srcdir)/../java_test.mk