summaryrefslogtreecommitdiff
path: root/dev-java/jna/files/5.10.0-tests-exclude.patch
blob: e608e2087f443b3095469b9d45fcbd9809ec3f13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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