forked from howardjones/network-weathermap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·14 lines (12 loc) · 728 Bytes
/
test.sh
File metadata and controls
executable file
·14 lines (12 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# Run tests, then produce some summary reports
make test
# grep Output test-suite/diffs/*.txt | grep -v '|0|' | awk -F: '{ print $1;}' | sed -e 's/.png.txt//' -e 's/test-suite\/diffs\///' > test-suite/failing-images.txt
# test-suite/make-failing-summary.pl test-suite/failing-images.txt test-suite/summary.html > test-suite/summary-failing.html
# php test-suite/make-failing-summary.php test-suite/failing-images.txt test-suite/summary.html > test-suite/summary-failing.html
php test-suite/make-failing-summary.php > test-suite/summary-failing.html
echo "Creating phpdox"
vendor/bin/phploc --log-xml=build/phploc.xml lib
vendor/bin/phpmd lib xml cleancode,design,unusedcode > build/pmd.xml
vendor/bin/phpdox
echo