diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db8c0b08b..03b6fc109 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ run-test: stage: test script: - ./autogen.sh - - make test + - make test_nogui run-build: stage: build diff --git a/Makefile.am b/Makefile.am index 41ef7069d..a5beeff56 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,6 +52,10 @@ test: ${PYTHON} test/runtests.py .PHONY: test +test_nogui: + ${PYTHON} test/runtests.py -n +.PHONY: test_nogui + doc: epydoc --config=doc/epydoc.conf .PHONY: doc diff --git a/test/runtests.py b/test/runtests.py index 0d67e2182..59d5e0a62 100755 --- a/test/runtests.py +++ b/test/runtests.py @@ -39,7 +39,6 @@ modules = ( 'unit.test_protocol_caps', 'unit.test_caps_cache', 'unit.test_contacts', 'unit.test_account', - 'unit.test_gui_interface', ) if use_x: @@ -47,6 +46,7 @@ if use_x: #'integration.test_gui_event_integration', 'integration.test_roster', 'integration.test_resolver', + 'unit.test_gui_interface', ) nb_errors = 0