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
displayName: 'make all'
- script: |
cd build && make check
- displayName: 'make check'
+ displayName: 'make check TESTFLAGS=--xmlresults'
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)