projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Log4j 2.x agent tests for the 'log4j' domain
[lttng-tools.git]
/
tests
/
regression
/
ust
/
java-log4j
/
Makefile.am
diff --git
a/tests/regression/ust/java-log4j/Makefile.am
b/tests/regression/ust/java-log4j/Makefile.am
index 7d6c0481a0997629587a9183299560b5b32972e7..63e604c5e79da0d52cad3da7931c5f68c8770f5d 100644
(file)
--- a/
tests/regression/ust/java-log4j/Makefile.am
+++ b/
tests/regression/ust/java-log4j/Makefile.am
@@
-1,24
+1,15
@@
+# SPDX-License-Identifier: GPL-2.0-only
-noinst_SCRIPTS = test_java_log4j JTestLTTng.java
-EXTRA_DIST = test_java_log4j JTestLTTng.java
+JAVAROOT = .
-if HAVE_JAVA_JDK
-JCC=$(JAVA_JDK)/bin/javac
-else
-JCC=javac
-endif
+noinst_SCRIPTS = test_java_log4j JTestLTTngLog4j.java
+EXTRA_DIST = test_java_log4j JTestLTTngLog4j.java
-# We still need to copy static files for out of tree and dist build
-if BUILD_JAVA_LOG4J_AGENT
-all-local: static_file JTestLTTng.class
+if TEST_JAVA_LOG4J_AGENT
+dist_noinst_JAVA = JTestLTTngLog4j.java
+endif # TEST_JAVA_LOG4J_AGENT
-%.class: %.java
- $(JCC) -d "$(builddir)" $(JAVACFLAGS) $<
-else
all-local: static_file
all-local: static_file
-endif # BUILD_JAVA_LOG4J_AGENT
-
-JTestLTTng.class: JTestLTTng.java
static_file:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
static_file:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
This page took
0.024277 seconds
and
4
git commands to generate.