Skip to content

Commit cab0e7e

Browse files
committed
Add README
1 parent ffbc8b8 commit cab0e7e

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

test/small_world/.bazelrc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
common --@rules_swiftnav//cc:enable_bzlmod=true
22

3-
# # build:use_llvm20 --platforms=@rules_swiftnav//platforms:x86_64_darwin_llvm20
4-
# # build:use_llvm20 --platforms=@rules_swiftnav//platforms:aarch64_darwin_llvm20
5-
# build:use_llvm20 --platforms=@rules_swiftnav//platforms:x86_64_linux_llvm20
6-
# # build:use_llvm20 --platforms=@rules_swiftnav//platforms:aarch64_linux_llvm20
73

4+
coverage --experimental_generate_llvm_lcov
5+
coverage --combined_report=lcov
86
build:coverage_x86_64_linux --platforms=@rules_swiftnav//platforms:x86_64_linux_llvm20
97

108
build:coverage_aarch64_darwin --platforms=@rules_swiftnav//platforms:aarch64_darwin_llvm20

test/small_world/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Coverage
2+
3+
on `x86_64 ubuntu`:
4+
5+
```
6+
bazel coverage --config=coverage_x86_64_linux //src/base_math:base_math_test
7+
8+
cp "$(bazel info output_path)/_coverage/_coverage_report.dat" cov.dat
9+
10+
genhtml --output html cov.dat
11+
```
12+
13+
Mac is not yet supported.

0 commit comments

Comments
 (0)