mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
Makefile: include Java test suite artifacts
Automake has problems handling the naming convention used by Java for inner classes (x$y.class). Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
parent
2dfc1030d7
commit
a47a96619c
@ -53,6 +53,7 @@ BUILT_SOURCES = $(JAVA_H)
|
||||
if WITH_DEBUG
|
||||
|
||||
JAVA_TEST_CLASSES = $(JAVA_TEST_SRC:test/%.java=%.class)
|
||||
ESCAPED_JAVA_TEST_CLASSES = com/ceph/fs/CephAllTests\$$1.class
|
||||
|
||||
CEPH_TEST_PROXY=test/com/ceph/fs/CephMountTest.class
|
||||
|
||||
@ -61,7 +62,7 @@ $(CEPH_TEST_PROXY): $(JAVA_TEST_SRC) $(CEPH_PROXY)
|
||||
$(JAVAC) -source 1.5 -target 1.5 test/com/ceph/fs/*.java
|
||||
|
||||
libcephfs-test.jar: $(CEPH_TEST_PROXY)
|
||||
$(JAR) cf $@ $(JAVA_TEST_CLASSES:%=-C test %)
|
||||
$(JAR) cf $@ $(JAVA_TEST_CLASSES:%=-C test %) $(ESCAPED_JAVA_TEST_CLASSES:%=-C test %)
|
||||
|
||||
java_DATA += libcephfs-test.jar
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user