Skip to content

Commit

Permalink
Merge f4010ea into 0340d47
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Aug 25, 2019
2 parents 0340d47 + f4010ea commit 45c6192
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ self-coverage-test :
cd $(SELF_COVERAGE) && dune build
cd $(SELF_COVERAGE) && dune runtest --force --no-buffer -j 1
rm -rf _coverage
$(SELF_COVERAGE)/_build/install/default/bin/meta-bisect-ppx-report \
-I $(SELF_COVERAGE)/_build/default \
--text - --summary-only \
--html _coverage \
$(SELF_COVERAGE)/bisect*.meta
cd $(SELF_COVERAGE) && \
_build/install/default/bin/meta-bisect-ppx-report \
--text - --summary-only \
--html ../_coverage \
bisect*.meta
@echo See _coverage/index.html
2 changes: 1 addition & 1 deletion src/report/report.ml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let report_title = ref "Coverage report"

let csv_separator = ref ";"

let search_path = ref [""]
let search_path = ref ["_build/default"; ""]

let add_search_path sp =
search_path := sp :: !search_path
Expand Down
10 changes: 5 additions & 5 deletions test/travis-opam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ which bisect-ppx-report
if [ "$SELF_COVERAGE" == YES ]
then
make self-coverage
_self/_build/install/default/bin/meta-bisect-ppx-report \
-I _self/_build/default \
--coveralls coverage.json \
--service-name travis-ci --service-job-id $TRAVIS_JOB_ID \
_self/bisect*.meta
(cd _self && \
_build/install/default/bin/meta-bisect-ppx-report \
--coveralls ../coverage.json \
--service-name travis-ci --service-job-id $TRAVIS_JOB_ID \
bisect*.meta)
curl -L -F json_file=@./coverage.json https://coveralls.io/api/v1/jobs
fi
3 changes: 1 addition & 2 deletions test/usage/reason/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ test : clean
BISECT_ENABLE=YES dune exec ./source.exe
ls -l _build
test -f bisect*.out
bisect-ppx-report \
-I _build/default/ --html _coverage/ `find . -name 'bisect*.out'`
bisect-ppx-report --html _coverage/ `find . -name 'bisect*.out'`

.PHONY : clean
clean :
Expand Down

0 comments on commit 45c6192

Please sign in to comment.