projects/aports·blob master · refs

17 lines · 642 B

1From: Simon Frankenberger <[email protected]>
2Subject: Run tests in headless mode
3
4Could't figure out how to make them run with xvfb-run, so just disable the ui tests
5
6diff -ru old/test/basic/Basic.gmk new/test/basic/Basic.gmk
7--- old/test/basic/Basic.gmk 2023-03-04 00:55:23.000000000 +0000
8+++ new/test/basic/Basic.gmk 2023-04-25 13:41:38.485264258 +0000
9@@ -55,7 +55,7 @@
10
11 #----------------------------------------------------------------------
12
13-ENVVARS="DISPLAY=$${DISPLAY:-`uname -n`:0.0}"
14+ENVVARS="-Djava.awt.headless=true"
15
16 ifeq ($(OS_NAME), windows)
17 BASIC_TESTS := $(shell cygpath -m $(abspath $(TESTDIR)/share/basic) )