mirror of
https://github.com/reactos/syzkaller.git
synced 2024-10-07 09:03:28 +00:00
pkg/cover: skip test on akaros
Akaros compiler does not support coverage.
This commit is contained in:
parent
d56234396c
commit
2b26ad000f
@ -129,7 +129,7 @@ int main() {}
|
|||||||
errText = strings.ReplaceAll(errText, "‘", "'")
|
errText = strings.ReplaceAll(errText, "‘", "'")
|
||||||
errText = strings.ReplaceAll(errText, "’", "'")
|
errText = strings.ReplaceAll(errText, "’", "'")
|
||||||
if strings.Contains(errText, "error: unrecognized command line option '-fsanitize-coverage=trace-pc'") &&
|
if strings.Contains(errText, "error: unrecognized command line option '-fsanitize-coverage=trace-pc'") &&
|
||||||
os.Getenv("CI") == "" {
|
(os.Getenv("SYZ_BIG_ENV") == "" || target.OS == "akaros") {
|
||||||
t.Skip("skipping test, -fsanitize-coverage=trace-pc is not supported")
|
t.Skip("skipping test, -fsanitize-coverage=trace-pc is not supported")
|
||||||
}
|
}
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user