Commit 9319a910 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

browser/test/Makefile: Make sure tap_output is created

Identified by @RyanHerb: the unit browser tests do not fail on Gitlab-CI even
if nightmare fails. To avoid that we make sure that the tap_output file
exists. That assumes that the repo was clean before launching the tests.
parent de3ea1e9
......@@ -16,7 +16,7 @@ nightmare: SHELL:=/bin/bash
nightmare:
cd QUnit ; \
npm link nightmare ; \
[ `xvfb-run -a node nightmare.js | tee >(cat >&2) | grep -c '^not ok'` -eq 0 ]
[ `xvfb-run -a node nightmare.js | tee >(cat >&2) | grep -c '^not ok'` -eq 0 ] && [ -f tap_output ]
quality:
make -C .. quality
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment