Can test the code multiple times

pull/2/head
Louis Chatriot 12 years ago
parent b67232400c
commit 4519a5f0dd
  1. 4
      Makefile
  2. 6
      testMultipleTimes.sh

@ -3,5 +3,9 @@ test:
@ ./node_modules/.bin/mocha --timeout 2000 --reporter spec
@echo "Tests finished"
test40times:
@echo "Launching the test suite 40 times"
./testMultipleTimes.sh 40
.PHONY: test

@ -0,0 +1,6 @@
#!/usr/bin/env bash
for i in $(eval echo {1..$1})
do
make test
done
Loading…
Cancel
Save