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
script:
- ./autogen.sh
- make test
- make test_nogui
run-build:
stage: build

View File

@ -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

View File

@ -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