From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/tomcat-native/
Date: Tue, 15 Aug 2023 08:36:33 +0000 (UTC) [thread overview]
Message-ID: <1692088156.86a3d726ee0e83fd0148fe719287cd7ad5d5b9ec.fordfrog@gentoo> (raw)
commit: 86a3d726ee0e83fd0148fe719287cd7ad5d5b9ec
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Aug 14 06:23:49 2023 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 08:29:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a3d726
dev-java/tomcat-native: enable a previously skipped test
Also drops the erroneously added patch.
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/tomcat-native/tomcat-native-1.2.38.ebuild | 27 ++++------------------
1 file changed, 5 insertions(+), 22 deletions(-)
diff --git a/dev-java/tomcat-native/tomcat-native-1.2.38.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.38.ebuild
index ad19397c09bf..ffaded131e6c 100644
--- a/dev-java/tomcat-native/tomcat-native-1.2.38.ebuild
+++ b/dev-java/tomcat-native/tomcat-native-1.2.38.ebuild
@@ -37,10 +37,6 @@ JAVA_SRC_DIR="../java"
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
JAVA_TEST_SRC_DIR="../test"
-PATCHES=(
- "${FILESDIR}"/tomcat-native-2.0.3-slibtool.patch #778914
-)
-
DOCS=( ../{CHANGELOG.txt,NOTICE,README.txt} )
src_prepare() {
@@ -50,22 +46,6 @@ src_prepare() {
../build.xml \
| sed "s:\${version}:${PV}:" \
> "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" || die
- default
-
- # Needed for the slibtool patch
- sed -i 's/configure.in/configure.ac/' configure.in || die
- eautoreconf
-
- # There was 1 failure:
- # 1) testInfoGet(org.apache.tomcat.jni.TestFile)
- # java.lang.AssertionError: File test/org/apache/tomcat/jni/TestFile.java does not exist!
- # at org.junit.Assert.fail(Assert.java:89)
- # at org.junit.Assert.assertTrue(Assert.java:42)
- # at org.apache.tomcat.jni.TestFile.testInfoGet(TestFile.java:29)
- #
- # FAILURES!!!
- # Tests run: 1, Failures: 1
- rm ../test/org/apache/tomcat/jni/TestFile.java || die
}
src_configure() {
@@ -82,9 +62,12 @@ src_compile() {
}
src_test() {
+ # Adjusting "String testFile =" path in TestFile.java:29 to match ${S}
+ sed \
+ -e '/String testFile =/s&test/&../test/&' \
+ -i ../test/org/apache/tomcat/jni/TestFile.java || die
+
JAVA_TEST_EXTRA_ARGS=( -Djava.library.path=".libs" )
-# jar cf test.jar ../test/org/apache/tomcat/jni/TestFile.java || die
-# JAVA_GENTOO_CLASSPATH_EXTRA="test.jar"
java-pkg-simple_src_test
}
next reply other threads:[~2023-08-15 8:36 UTC|newest]
Thread overview: 101+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-15 8:36 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-26 8:30 [gentoo-commits] repo/gentoo:master commit in: dev-java/tomcat-native/ Miroslav Šulc
2024-08-25 13:59 Sam James
2024-08-25 13:59 Sam James
2024-07-26 9:19 Miroslav Šulc
2024-07-26 9:18 Miroslav Šulc
2024-07-25 9:07 Miroslav Šulc
2024-04-14 20:25 Miroslav Šulc
2024-04-14 18:36 Arthur Zamarin
2024-03-15 10:17 Miroslav Šulc
2024-03-11 19:20 Miroslav Šulc
2024-03-11 12:48 Sam James
2024-02-11 12:12 Miroslav Šulc
2023-12-01 9:24 Miroslav Šulc
2023-12-01 6:21 Sam James
2023-12-01 6:21 Sam James
2023-10-03 10:04 Miroslav Šulc
2023-10-03 6:45 Miroslav Šulc
2023-09-14 16:28 Sam James
2023-09-14 16:28 Sam James
2023-08-15 8:36 Miroslav Šulc
2023-08-14 6:15 Miroslav Šulc
2023-08-14 6:15 Miroslav Šulc
2023-07-12 7:23 Miroslav Šulc
2023-07-11 8:43 Jakov Smolić
2023-07-11 8:43 Jakov Smolić
2023-06-02 12:27 Miroslav Šulc
2023-06-02 12:24 Miroslav Šulc
2023-03-17 6:47 Miroslav Šulc
2023-02-19 9:29 Miroslav Šulc
2023-02-14 8:35 Miroslav Šulc
2023-02-05 18:50 Sam James
2022-12-27 7:37 Miroslav Šulc
2022-08-16 5:38 Miroslav Šulc
2022-08-15 22:30 Sam James
2022-07-17 3:34 Miroslav Šulc
2022-07-16 8:56 Agostino Sarubbo
2022-07-16 3:28 Miroslav Šulc
2022-06-15 3:33 Miroslav Šulc
2022-06-10 9:22 Miroslav Šulc
2022-05-09 17:30 Miroslav Šulc
2022-04-24 13:37 Miroslav Šulc
2022-04-24 13:27 Jakov Smolić
2022-03-22 15:34 Miroslav Šulc
2021-10-26 6:39 Miroslav Šulc
2021-10-26 3:12 Sam James
2021-09-24 7:17 Miroslav Šulc
2021-07-12 7:49 Miroslav Šulc
2021-07-12 6:35 Agostino Sarubbo
2021-06-08 8:01 Miroslav Šulc
2021-05-07 14:35 Miroslav Šulc
2021-05-07 13:28 Sam James
2021-04-07 12:52 Miroslav Šulc
2021-02-07 8:34 Miroslav Šulc
2021-02-06 15:39 Sam James
2021-01-08 9:43 Miroslav Šulc
2021-01-07 0:58 Sam James
2021-01-06 9:07 Miroslav Šulc
2020-09-07 11:18 Miroslav Šulc
2020-06-04 7:31 Miroslav Šulc
2020-06-03 15:10 Agostino Sarubbo
2020-05-01 4:59 Miroslav Šulc
2020-02-11 23:52 Miroslav Šulc
2020-02-11 11:09 Agostino Sarubbo
2019-07-04 12:56 Miroslav Šulc
2019-07-04 12:56 Miroslav Šulc
2019-07-04 12:56 Miroslav Šulc
2019-02-04 18:34 Miroslav Šulc
2019-01-11 14:51 Miroslav Šulc
2019-01-11 14:51 Miroslav Šulc
2019-01-07 17:00 Lars Wendler
2018-12-07 9:09 Miroslav Šulc
2018-10-23 17:19 Miroslav Šulc
2018-07-11 22:10 James Le Cuirot
2018-07-11 22:10 James Le Cuirot
2018-06-01 8:34 Miroslav Šulc
2017-12-04 13:08 Miroslav Šulc
2017-12-04 13:08 Miroslav Šulc
2017-12-04 13:08 Miroslav Šulc
2017-12-04 13:08 Miroslav Šulc
2017-09-06 10:41 Miroslav Šulc
2017-02-27 8:51 Miroslav Šulc
2016-10-06 11:03 Miroslav Šulc
2016-08-24 3:53 Patrice Clement
2016-07-05 6:43 Miroslav Šulc
2016-07-05 6:40 Miroslav Šulc
2016-05-10 7:21 Miroslav Šulc
2016-03-11 15:15 Miroslav Šulc
2016-02-19 21:00 James Le Cuirot
2016-02-19 15:20 Miroslav Šulc
2016-02-14 10:11 Agostino Sarubbo
2016-02-12 18:19 Miroslav Šulc
2016-01-18 17:08 Agostino Sarubbo
2016-01-18 17:06 Agostino Sarubbo
2016-01-12 16:08 Miroslav Šulc
2015-12-21 12:40 Agostino Sarubbo
2015-12-16 12:40 Miroslav Šulc
2015-11-12 19:12 Miroslav Šulc
2015-10-13 10:48 Patrice Clement
2015-10-13 10:48 Patrice Clement
2015-10-13 10:48 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1692088156.86a3d726ee0e83fd0148fe719287cd7ad5d5b9ec.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox