summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2015-06-16 17:45:43 +0800
committerSam Spilsbury <smspillaz@gmail.com>2015-06-16 17:48:02 +0800
commit7bddb73b72e0fe82ea08d33ad3c64a39638fe845 (patch)
treecdecc93e1d39334f75d52994452427cf93023790 /m4
parentad510c9dfc4b37e2faf5446c686622f1d496a7eb (diff)
eos-coverage.m4: Update eos-coverage.m4 for --coverage-prefix
Diffstat (limited to 'm4')
-rw-r--r--m4/eos-coverage.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/eos-coverage.m4 b/m4/eos-coverage.m4
index 766a2d8..14e0952 100644
--- a/m4/eos-coverage.m4
+++ b/m4/eos-coverage.m4
@@ -290,7 +290,7 @@ _eos_js_coverage_data_output_file := $(_eos_js_coverage_trace_path)/coverage.lco
_eos_coverage_outputs += $(_eos_js_coverage_data_output_file)
'
- # This small fragment collects all the paths and add the --coverage-path
+ # This small fragment collects all the paths and add the --coverage-prefix
# prefix to each one, finally adding --coverage-output. This makes the list
# of flags we will pass to gjs to enable coverage reports.
#
@@ -315,7 +315,7 @@ _eos_coverage_outputs += $(_eos_js_coverage_data_output_file)
#
# flags = []
# foreach (p in paths) {
- # flags.push('--coverage-path=' + p)
+ # flags.push('--coverage-prefix=' + p)
# }
#
# $(filter resource,$(firstword $(subst :, ,$(p)))) is a Makefile
@@ -333,7 +333,7 @@ _eos_coverage_outputs += $(_eos_js_coverage_data_output_file)
# cond evalutes to a non-empty string. The documentation on this
# point suggests that conditional operators can be used. This is
# misleading.
- EOS_JS_COVERAGE_LOG_FLAGS='$(addprefix --coverage-path=,$(foreach p,$(EOS_JS_COVERAGE_FILES),$(if $(filter resource,$(firstword $(subst :, ,$(p)))),$(p),$(abspath $(p))))) --coverage-output=$(_eos_js_coverage_trace_path)'
+ EOS_JS_COVERAGE_LOG_FLAGS='$(addprefix --coverage-prefix=,$(foreach p,$(EOS_JS_COVERAGE_FILES),$(if $(filter resource,$(firstword $(subst :, ,$(p)))),$(p),$(abspath $(p))))) --coverage-output=$(_eos_js_coverage_trace_path)'
], [
EOS_JS_COVERAGE_RULES=''
])