You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-java/jna/files/5.10.0-tests-exclude.patch

28 lines
910 B

From 2b50e2296c9c9961fd168abe285f773aecd6437a Mon Sep 17 00:00:00 2001
From: Yuan Liao <liaoyuan@gmail.com>
Date: Thu, 6 Jan 2022 12:21:22 -0800
Subject: [PATCH] Skip execution of test classes without any tests
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
---
build.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/build.xml b/build.xml
index ed104c2..9fb15ae 100644
--- a/build.xml
+++ b/build.xml
@@ -1388,6 +1388,9 @@ cd ..
<fileset dir="${test.src}" excludes="${tests.exclude-patterns}">
<patternset includes="${tests.include}"/>
<include name="${tests.platform}"/>
+ <exclude name="com/sun/jna/DefaultMethodInvocationTest.java"/>
+ <exclude name="com/sun/jna/ELFAnalyserTest.java"/>
+ <exclude name="com/sun/jna/PrematureGCTest.java"/>
<exclude name="${tests.exclude}"/>
</fileset>
</batchtest>
--
2.34.1