diff options
author | Sam Spilsbury <smspillaz@gmail.com> | 2015-06-17 06:44:52 +0800 |
---|---|---|
committer | Philip Chimento <philip@endlessm.com> | 2015-06-25 14:46:28 -0700 |
commit | c9dd8a09ce6df9e8466cbbb33eac35081079c908 (patch) | |
tree | 034585575a26ebc516250f0172a8bd8a8633ead3 /m4 | |
parent | 42af7692653fb2e842976594bcb861ee48f1fa93 (diff) |
eos-coverage: Explicitly put source directory before filename
Just using $(abspath $(p)) might lead to odd results where we're
not in the source directory, which is the case with distcheck.
[endlessm/eos-sdk#3303]
Diffstat (limited to 'm4')
-rw-r--r-- | m4/eos-coverage.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/eos-coverage.m4 b/m4/eos-coverage.m4 index c78e725..f924d41 100644 --- a/m4/eos-coverage.m4 +++ b/m4/eos-coverage.m4 @@ -336,7 +336,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-prefix=,$(foreach p,$(filter-out $(subst */,,$(EOS_COVERAGE_BLACKLIST_PATTERNS)),$(filter-out $(subst *,%,$(EOS_COVERAGE_BLACKLIST_PATTERNS)),$(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,$(filter-out $(subst */,,$(EOS_COVERAGE_BLACKLIST_PATTERNS)),$(filter-out $(subst *,%,$(EOS_COVERAGE_BLACKLIST_PATTERNS)),$(EOS_JS_COVERAGE_FILES))),$(if $(filter resource,$(firstword $(subst :, ,$(p)))),$(p),$(abs_top_srcdir)/$(p)))) --coverage-output=$(_eos_js_coverage_trace_path)' ], [ EOS_JS_COVERAGE_RULES='' ]) |