File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,19 @@ export BISECT_ENABLE=YES
2020jbuilder runtest
2121
2222# move all bisect files here
23- find . -name ' bisect*.out' -exec mv {} . \;
23+ BISECTS=$( find . -name ' bisect*.out' )
24+ printf -v OUTS " %s" $BISECTS
2425
2526DIRECTORIES=$( find _build/default -type d -not -path ' */\.*' )
2627printf -v INCLUDES " -I %s" $DIRECTORIES
2728
28- bisect-ppx-report bisect * .out $INCLUDES -text report
29- bisect-ppx-report bisect * .out $INCLUDES -summary-only -text summary
30- bisect-ppx-report bisect * .out $INCLUDES -html report-html
29+ bisect-ppx-report $OUTS $INCLUDES -text report
30+ bisect-ppx-report $OUTS $INCLUDES -summary-only -text summary
31+ bisect-ppx-report $OUTS $INCLUDES -html report-html
3132
3233if [ -n " $TRAVIS " ]; then
3334 echo " \$ TRAVIS set; running ocveralls and sending to coveralls.io..."
34- ocveralls --prefix _build/default bisect * .out --send
35+ ocveralls --prefix _build/default $OUTS --send
3536else
3637 echo " \$ TRAVIS not set; displaying results of bisect-ppx-report..."
3738 cat report
You can’t perform that action at this time.
0 commit comments