File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -42,17 +42,7 @@ ql-dist::(ensure-installed (release "fiasco"))
42
42
(let ((interesting-files (system-lisp-files *system* ))
43
43
(base (asdf :system-relative-pathname *system*
44
44
" coverage-report/html/" )))
45
- ; ; SB-COVER:REPORT will happily report on everything it has
46
- ; ; compiled with the code coverage declaration. This maphash will
47
- ; ; restrict it to only the files in *SYSTEM*. Beware:
48
- ; ; SB-C:*CODE-COVERAGE-INFO* is not part of the public API; switch
49
- ; ; to :IF-MATCHES report option in the future.
50
- (maphash (lambda (file data)
51
- (declare (ignore data))
52
- (unless (member file interesting-files :test ' string=)
53
- (remhash file sb-c :*code-coverage-info* )))
54
- sb-c :*code-coverage-info* )
55
- (sb-cover :report base)
45
+ (sb-cover :report base :if-matches (lambda (file) (member file interesting-files :test ' string=)))
56
46
(let* ((cover (merge-pathnames " cover-index.html" base))
57
47
(index (merge-pathnames " index.html" base)))
58
48
(rename-file cover index)
You can’t perform that action at this time.
0 commit comments