mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 11:29:46 +00:00
Makefile: collect coverage report for codecov.io
This commit is contained in:
parent
c5499485c2
commit
70b2a9e855
@ -24,6 +24,9 @@ script:
|
||||
- make install_prerequisites
|
||||
- make presubmit
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
# If the build fails because some code in not formatted, it's nice to see the diffs after formatting.
|
||||
after_failure:
|
||||
- git diff --name-only
|
||||
|
6
Makefile
6
Makefile
@ -302,8 +302,14 @@ presubmit:
|
||||
presubmit_parallel: test test_race arch check_links
|
||||
|
||||
test:
|
||||
ifeq ("$(TRAVIS)$(shell go version | grep 1.9)", "")
|
||||
# Executor tests use cgo.
|
||||
env CGO_ENABLED=1 $(GO) test -short ./...
|
||||
else
|
||||
# Collect coverage report for codecov.io when running on travis (uploaded in .travis.yml).
|
||||
# Note: Go 1.9 does not support -coverprofile when testing multiple packages.
|
||||
env CGO_ENABLED=1 $(GO) test -short -coverprofile=coverage.txt ./...
|
||||
endif
|
||||
|
||||
test_race:
|
||||
$(GO) test -race; if test $$? -ne 2; then \
|
||||
|
@ -1,6 +1,10 @@
|
||||
# syzkaller - kernel fuzzer
|
||||
|
||||
[![Build Status](https://travis-ci.org/google/syzkaller.svg?branch=master)](https://travis-ci.org/google/syzkaller) [![Go Report Card](https://goreportcard.com/badge/github.com/google/syzkaller)](https://goreportcard.com/report/github.com/google/syzkaller) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
|
||||
[![Build Status](https://travis-ci.org/google/syzkaller.svg?branch=master)](https://travis-ci.org/google/syzkaller)
|
||||
[![Go Report Card](https://goreportcard.com/badge/github.com/google/syzkaller)](https://goreportcard.com/report/github.com/google/syzkaller)
|
||||
[![Coverage Status](https://codecov.io/gh/google/syzkaller/graph/badge.svg)](https://codecov.io/gh/google/syzkaller)
|
||||
[![GoDoc](https://godoc.org/github.com/google/syzkaller?status.svg)](https://godoc.org/github.com/google/syzkaller)
|
||||
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
|
||||
|
||||
`syzkaller` is an unsupervised coverage-guided kernel fuzzer. `Linux` kernel fuzzing has the most support, `akaros`, `freebsd`, `fuchsia`, `netbsd`, `windows` and `gvisor` are supported to varying degrees.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user