summaryrefslogtreecommitdiff
path: root/gprofng/Makefile.in
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-12-19 09:36:21 +0100
committerJan Beulich <jbeulich@suse.com>2022-12-19 09:36:21 +0100
commitb1fb503404584f0e1965e06fce558b8841cb3a4d (patch)
tree0d4470813846196eadcf78337379e6c3f287315e /gprofng/Makefile.in
parentf8b6a781fb6b7e799c95c1c2be87accc39c0b7c0 (diff)
downloadbinutils-gdb-b1fb503404584f0e1965e06fce558b8841cb3a4d.tar.gz
gprofng/testsuite: skip Java test without JDK
There's no point in even trying the Java test when gprofng was built without Java support, and when the building of the constituents of the testcase also would fail. On such systems this converts the respective tests from "unresolved" to "unsupported", making the overall testsuite run no longer report failure just because of this.
Diffstat (limited to 'gprofng/Makefile.in')
-rw-r--r--gprofng/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in
index d660f99233f..93477ba71f7 100644
--- a/gprofng/Makefile.in
+++ b/gprofng/Makefile.in
@@ -938,6 +938,7 @@ uninstall-am:
@TCL_TRY_TRUE@ runtest=$(RUNTEST); \
@TCL_TRY_TRUE@ if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
@TCL_TRY_TRUE@ $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
+@TCL_TRY_TRUE@ JDK_INC="$(jdk_inc)" \
@TCL_TRY_TRUE@ GPROFNG_BROKEN_JAVAC="$(GPROFNG_BROKEN_JAVAC)" \
@TCL_TRY_TRUE@ MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS) $(PTHREAD_CFLAGS)" \
@TCL_TRY_TRUE@ LDFLAGS="$(LDFLAGS)" LIBS="$(PTHREAD_LIBS) $(LIBS)" \