<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From 86747e49eb973d85ef564e70aba0d6e750d151eb Mon Sep 17 00:00:00 2001
From: Slaven Rezic &lt;slaven@rezic.de&gt;
Date: Sun, 12 Feb 2017 23:32:21 +0100
Subject: [PATCH] don't fail without a DISPLAY (RT #120217)

---
 t/1.t | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/t/1.t b/t/1.t
index 040b521..18104da 100644
--- a/t/1.t
+++ b/t/1.t
@@ -16,7 +16,13 @@ ok(1); # If we made it this far, we're ok.
 # Insert your test code below, the Test::More module is use()ed here so read
 # its man page ( perldoc Test::More ) for help writing this test script.
 
-my $mw = MainWindow-&gt;new-&gt;InitStderr;
+my $mw = eval { MainWindow-&gt;new };
+if (!$mw) {
+    skip("Can't create MainWindow");
+    exit 0;
+}
+
+$mw-&gt;InitStderr;
 
 sub testsub;
 
-- 
2.1.2

</pre></body></html>