git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] Run limited fuzz tests in GitHub CI

From
Josh Steadmon <steadmon@google.com>
Date
Jan 19, 2024, 21:38 UTC
Message-ID
<cover.1705700054.git.steadmon@google.com>

Add a simple smoke test in CI to make sure that the fuzz tests can build and execute properly. While we already compile the fuzz-test objects in the default make target, we don't link the executables due to these requiring clang-specific support. However, this means that the fuzz tests have been vulnerable to unnoticed build breakages as the code that they link against has changed over time.

Adding this CI test should make such build breakages more visible more quickly.

Josh Steadmon (2):
  fuzz: fix fuzz test build rules
  ci: build and run minimal fuzzers in GitHub CI
 .github/workflows/main.yml          | 11 +++++++++++
 Makefile                            | 17 +++++++++++------
 ci/run-build-and-minimal-fuzzers.sh | 19 +++++++++++++++++++
 oss-fuzz/dummy-cmd-main.c           | 14 ++++++++++++++
 4 files changed, 55 insertions(+), 6 deletions(-)
 create mode 100755 ci/run-build-and-minimal-fuzzers.sh
 create mode 100644 oss-fuzz/dummy-cmd-main.c
base-commit: 186b115d3062e6230ee296d1ddaa0c4b72a464b5
-- 
2.43.0.429.g432eaa2c6b-goog
Next: Josh Steadmon
Message 1 of 6 in “Run limited fuzz tests in GitHub CI”
  1. 0/2 Run limited fuzz tests in GitHub CIJosh Steadmon, Jan 19, 2024
  2. 1/2 fuzz: fix fuzz test build rulesJosh Steadmon, Jan 19, 2024
  3. Junio C HamanoJan 19, 2024
  4. Josh SteadmonMar 4, 2024
  5. 2/2 ci: build and run minimal fuzzers in GitHub CIJosh Steadmon, Jan 19, 2024
  6. Junio C HamanoJan 19, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.