зеркало из https://github.com/mozilla/pluotsorbet.git
Remove the test.log file for each run, use cat's "-v" option
This commit is contained in:
Родитель
31f361c32d
Коммит
268ebc7382
|
@ -9,5 +9,3 @@ before_script:
|
|||
- npm install slimerjs
|
||||
script:
|
||||
- make test
|
||||
after_script:
|
||||
- cat test.log
|
||||
|
|
4
Makefile
4
Makefile
|
@ -3,10 +3,12 @@
|
|||
all: java tests
|
||||
|
||||
test: all
|
||||
rm test.log
|
||||
killall python Python || true
|
||||
python -m SimpleHTTPServer &
|
||||
casperjs --engine=slimerjs test `pwd`/tests/automation.js > test.log 2>&1
|
||||
casperjs --no-colors --engine=slimerjs test `pwd`/tests/automation.js > test.log 2>&1
|
||||
killall python Python || true
|
||||
cat -v test.log
|
||||
if grep -q FAIL test.log; \
|
||||
then false; \
|
||||
else true; \
|
||||
|
|
Загрузка…
Ссылка в новой задаче