diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2017-10-30 14:54:07 +0100 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2017-10-31 22:50:11 +0100 |
commit | 0a20e4c033edfd8eb8e0683b77d23fadfb6565fb (patch) | |
tree | 15b8ba55e44ff7a82af091fdea339f71e4a076f5 | |
parent | 6c1661d2f4e860d1b547d6188a4fe2bd564e87cf (diff) | |
download | sssd-0a20e4c033edfd8eb8e0683b77d23fadfb6565fb.tar.gz sssd-0a20e4c033edfd8eb8e0683b77d23fadfb6565fb.tar.xz sssd-0a20e4c033edfd8eb8e0683b77d23fadfb6565fb.zip |
CI: Ignore source file generated by systemtap
There are some changes in systemtap 3.2 which generate temporary
source files and remove them later. We are not interested in code
coverage in this area. Lets ignore them.
...
genhtml: failure 00:00:01 ci-build-coverage/ci-genhtml.log
FAILURE
sh$ cat ci-build-coverage/ci-genhtml.log
Start: Mon Oct 30 13:43:52 UTC 2017
+ eval 'genhtml --output-directory \
"$coverage_report_dir" \
--title "sssd" --show-details \
--legend --prefix "$BASE_DIR" \
ci.info |& tee ci-genhtml.out'
++ genhtml --output-directory ci-report-coverage --title sssd \
--show-details --legend --prefix /home/build/sssd ci.info
++ tee ci-genhtml.out
Reading data file ci.info
Found 447 entries.
Using user-specified filename prefix "/home/build/sssd"
Writing .css and .png files.
Generating output.
genhtml: ERROR: cannot read /home/build/sssd/stap_generated_probes.o.dtrace-temp.c
Processing file stap_generated_probes.o.dtrace-temp.c
End: Mon Oct 30 13:43:53 UTC 2017
sh$ ls -l /home/build/sssd/stap_generated_probes.o.dtrace-temp.c
ls: cannot access '/home/build/sssd/stap_generated_probes.o.dtrace-temp.c': No such file or directory
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
-rwxr-xr-x | contrib/ci/run | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/ci/run b/contrib/ci/run index aa6d35abe..26cd32b33 100755 --- a/contrib/ci/run +++ b/contrib/ci/run @@ -300,6 +300,7 @@ function build_coverage() --output-file ci-dirty.info stage lcov-clean lcov --remove ci-dirty.info \ "/usr/*" "src/tests/*" "/tmp/*" \ + "*dtrace-temp.c" \ --output-file ci.info stage genhtml eval 'genhtml --output-directory \ "$coverage_report_dir" \ |