jna/0003-Tests-headless.patch

25 lines
784 B
Diff
Raw Normal View History

2017-09-19 11:42:41 +00:00
From 02150119b13f944ed40ab9b6335eb1540de52516 Mon Sep 17 00:00:00 2001
2017-01-16 15:01:47 +00:00
From: Michael Simacek <msimacek@redhat.com>
Date: Mon, 16 Jan 2017 11:32:32 +0100
Subject: [PATCH 3/5] Tests headless
2017-01-16 15:01:47 +00:00
---
build.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/build.xml b/build.xml
2017-09-19 11:42:41 +00:00
index b956b6e..10fdab2 100644
2017-01-16 15:01:47 +00:00
--- a/build.xml
+++ b/build.xml
2017-09-19 11:42:41 +00:00
@@ -1118,6 +1118,7 @@ osname=macosx;processor=x86;processor=x86-64;processor=ppc
2017-01-16 15:01:47 +00:00
<sysproperty key="jna.builddir" file="${build}"/>
<sysproperty key="jna.nativedir" file="${build.native}"/>
<jvmarg value="${vmopt.arch}"/>
+ <jvmarg value="-Djava.awt.headless=true"/>
<classpath><path refid="test.runpath"/></classpath>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
--
2017-09-19 11:42:41 +00:00
2.13.5
2017-01-16 15:01:47 +00:00