From: Guido Draheim Date: Sun, 26 May 2019 10:24:15 +0000 (+0200) Subject: make check xmlrunner X-Git-Tag: v0.13.72~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=242f0a6a1e11c063f97e46b6b7af3bdeb74f778b;p=zziplib make check xmlrunner --- diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 658d5d4..18aebd2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,9 +12,13 @@ pool: steps: - script: | sudo apt-get update --fix-missing - # sudo apt-mark hold libudev-dev # FIXME + displayName: 'install refresh' +- script: | sudo apt-get install --fix-broken --ignore-missing libsdl2-dev - displayName: 'libsdl2-dev' + displayName: 'install libsdl2-dev' +- script: | + sudo apt-get install --fix-broken --ignore-missing python-xmlrunner + displayName: 'install python-xmlrunner' - script: | rm -rf build mkdir build @@ -27,4 +31,4 @@ steps: displayName: 'make all' - script: | cd build && make check - displayName: 'make check' + displayName: 'make check TESTFLAGS=--xmlresults' diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 3c7a3a5..0692cd1 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -52,7 +52,7 @@ add_custom_target(sfx ALL DEPENDS zzipshowme${EXEEXT}) endif() add_custom_target(tests - COMMAND ${PY2} ${srcdir}/zziptests.py --exeext=${EXEEXT} --topsrcdir=${topdir} -v + COMMAND ${PY2} ${srcdir}/zziptests.py --exeext=${EXEEXT} --topsrcdir=${topdir} -v ${TESTFLAGS} DEPENDS ../bins/zzcat ../bins/zzdir ../bins/zziptest ../bins/zzxorcat ../bins/zzxorcopy) add_custom_command(OUTPUT ../bins/zzcat COMMMAND cd ../bins && $(MAKE) zzcat) add_custom_command(OUTPUT ../bins/zzdir COMMMAND cd ../bins && $(MAKE) zzdir)