projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2afb715
)
gtk: Punt tests if no errors or DISPLAY not set.
author
Matt Birkholz
<matt@birkholz.chandler.az.us>
Mon, 8 Apr 2013 04:22:18 +0000
(21:22 -0700)
committer
Matt Birkholz
<matt@birkholz.chandler.az.us>
Mon, 8 Apr 2013 04:22:18 +0000
(21:22 -0700)
tests/gtk/test-gtk.scm
patch
|
blob
|
history
diff --git
a/tests/gtk/test-gtk.scm
b/tests/gtk/test-gtk.scm
index a377e78f74902d34db4e15f1575dfd0029ca5f18..eb89591f30db59c76a27e8355ee8a80d345ac9b7 100644
(file)
--- a/
tests/gtk/test-gtk.scm
+++ b/
tests/gtk/test-gtk.scm
@@
-85,5
+85,7
@@
USA.
0
'EXPRESSION '(LENGTH (MALLOCED-ALIENS))))))
-(if (not (warn-errors? (lambda () (load-option 'gtk))))
+(if (and (not (warn-errors? (lambda () (load-option 'gtk))))
+ (let ((s (get-environment-variable "DISPLAY")))
+ (and (string? s) (not (string-null? s)))))
(main))
\ No newline at end of file