Commit 4f16ff23 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

Makefile: Remove /dev/stderr

In some cases we may not have access to /dev/stderr which causes an error.
This has been rewritten to redirect the output both to STDERR and STDIN. The
output which is on STDIN is still grep-ped to check the number of errors.
parent 447ca193
......@@ -14,7 +14,7 @@ functional-rbx: ../../doc/analysis-example1.vidjil
cd QUnit ; \
[ `phantomjs phantom_test.js | tee /dev/stderr | grep -c '^not ok'` -eq 0 ]
[ `phantomjs phantom_test.js | tee >( cat >&2 ) | grep -c '^not ok'` -eq 0 ]
$(MAKE) -C ../../doc $@
Supports Markdown
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