Use -Zno-profiler-runtime instead of //@ needs-profiler-support
For PGO/coverage tests that don't need to build or run an actual artifact, we can use `-Zno-profiler-runtime` to run the test even when the profiler runtime is not available.
This commit is contained in:
parent
0ef0dd2451
commit
5330ccdb34
9 changed files with 11 additions and 13 deletions
|
|
@ -1,6 +1,5 @@
|
|||
//@ needs-profiler-support
|
||||
//@ revisions: block branch condition mcdc bad
|
||||
//@ compile-flags -Cinstrument-coverage
|
||||
//@ compile-flags -Cinstrument-coverage -Zno-profiler-runtime
|
||||
|
||||
//@ [block] check-pass
|
||||
//@ [block] compile-flags: -Zcoverage-options=block
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
//@ check-pass
|
||||
//@ needs-profiler-support
|
||||
//@ compile-flags: -Zno-profiler-runtime
|
||||
//@ revisions: default y yes on true_ all
|
||||
//@ [default] compile-flags: -Cinstrument-coverage
|
||||
//@ [y] compile-flags: -Cinstrument-coverage=y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue