make tests run without gui

This commit is contained in:
Yann Leboulanger 2017-08-09 22:09:01 +02:00
parent 9ec14d35cb
commit 44a29e7a50
3 changed files with 6 additions and 2 deletions

View File

@ -10,7 +10,7 @@ run-test:
stage: test stage: test
script: script:
- ./autogen.sh - ./autogen.sh
- make test - make test_nogui
run-build: run-build:
stage: build stage: build

View File

@ -52,6 +52,10 @@ test:
${PYTHON} test/runtests.py ${PYTHON} test/runtests.py
.PHONY: test .PHONY: test
test_nogui:
${PYTHON} test/runtests.py -n
.PHONY: test_nogui
doc: doc:
epydoc --config=doc/epydoc.conf epydoc --config=doc/epydoc.conf
.PHONY: doc .PHONY: doc

View File

@ -39,7 +39,6 @@ modules = ( 'unit.test_protocol_caps',
'unit.test_caps_cache', 'unit.test_caps_cache',
'unit.test_contacts', 'unit.test_contacts',
'unit.test_account', 'unit.test_account',
'unit.test_gui_interface',
) )
if use_x: if use_x:
@ -47,6 +46,7 @@ if use_x:
#'integration.test_gui_event_integration', #'integration.test_gui_event_integration',
'integration.test_roster', 'integration.test_roster',
'integration.test_resolver', 'integration.test_resolver',
'unit.test_gui_interface',
) )
nb_errors = 0 nb_errors = 0