Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e44833d
Update run.sh
N0rmalizer Jul 15, 2026
7407709
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
6281249
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
c6e89a1
Update test_ci_workflow.sh
N0rmalizer Jul 15, 2026
71cca9e
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
b08fda7
Update test_commands.sh
N0rmalizer Jul 15, 2026
cdc0371
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
3d3252d
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
cbc74c2
Update test_driver.sh
N0rmalizer Jul 15, 2026
2d94a4a
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
6101ecb
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
7981f28
Update test_find_tool.sh
N0rmalizer Jul 15, 2026
c6a9375
Update test_install.sh
N0rmalizer Jul 15, 2026
974b277
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
c676d82
Update test_layout_detection.sh
N0rmalizer Jul 15, 2026
859c985
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
a9e1f4c
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
7a74553
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
e296dec
Update test_reachability_cpp_e2e.sh
N0rmalizer Jul 15, 2026
7c0759b
Update test_reachability_rust_e2e.sh
N0rmalizer Jul 15, 2026
db464e6
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
ce399a9
Update test_reachability_ziggy_e2e.sh
N0rmalizer Jul 15, 2026
708c2ed
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
ea81fe8
Update test_rust_llvm_toolchain.sh
N0rmalizer Jul 15, 2026
828d7ba
Update test_search.sh
N0rmalizer Jul 15, 2026
b4cd164
Update test_search_crash_only.sh
N0rmalizer Jul 15, 2026
da62dde
Update test_stability_executed_lines.sh
N0rmalizer Jul 15, 2026
d30b10a
Update test_stability_resilience.sh
N0rmalizer Jul 15, 2026
db85ef7
Change shebang to use env for bash
N0rmalizer Jul 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tests/run.sh — run every tests/test_*.sh, report pass/fail.
set -uo pipefail

Expand Down
2 changes: 1 addition & 1 deletion tests/test_auto_at_placeholder.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Feature test: when the coverage binary is built from the cov-analysis driver
# (it reads inputs from file arguments, not stdin) and the user forgot the @@
# placeholder, cov-analysis must behave as if "<cmd> @@" had been given.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_build_environment.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ci_workflow.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_command_model.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_commands.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# End-to-end integration test exercising every cov-analysis command against the
# tests/test.c LLVMFuzzerTestOneInput target (a magic-value NULL-deref crash on
# inputs of the form "FA$$$"). Gated on clang/llvm-cov/llvm-profdata/make; skips
Expand Down
2 changes: 1 addition & 1 deletion tests/test_diff_line_states.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_diff_no_args.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Behavior test: `cov-analysis diff` with no arguments and no default reports in
# the current directory prints help (exit 0) instead of erroring. When a default
# report IS present, the original "report does not exist" error is preserved.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_driver.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_find_crash_timeout_files.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Verify find_crash_timeout_files emits the right set per layout.
set -uo pipefail

Expand Down
2 changes: 1 addition & 1 deletion tests/test_find_queue_files.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Verify find_queue_files emits the right set of paths per layout.
set -uo pipefail

Expand Down
2 changes: 1 addition & 1 deletion tests/test_find_tool.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Verify find_tool() selects the LLVM tool matching the chosen clang version.
#
# Regression: with CC=clang-22 selected, find_tool must return llvm-profdata-22
Expand Down
2 changes: 1 addition & 1 deletion tests/test_install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_large_argument_sets.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_layout_detection.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Verify detect_fuzzer_layout() correctly classifies each supported layout.
set -uo pipefail

Expand Down
2 changes: 1 addition & 1 deletion tests/test_llvm_version_hint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_prerequisites.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reachability.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Verify reachability-aware annotation of llvm-cov's own reports: cross coverage
# with the fuzz-reachability tool's output and, in place,
# - tint each function's lines in the HTML file view (dark grey = unreachable,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reachability_cpp_e2e.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tests/test_reachability_cpp_e2e.sh — C++ keystone round-trip: fuzz-reachability's
# static analysis of a deliberately adversarial C++ harness (every indirect-call
# flavor, plus red-herring and genuinely-dead functions) cross-referenced against
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reachability_rust_e2e.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tests/test_reachability_rust_e2e.sh — keystone round-trip: fuzz-reachability's
# static analysis of a real Rust staticlib, cross-referenced against a real
# `-Cinstrument-coverage` build replayed through llvm-cov, via cov-analysis's
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reachability_rust_v0_e2e.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reachability_ziggy_e2e.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tests/test_reachability_ziggy_e2e.sh — cargo-ziggy keystone round-trip:
# fuzz-reachability analyses a real cargo-ziggy fuzz target (rooted at `main` via
# the `ziggy::fuzz!` closure, the ziggy entry) with `--lang ziggy --mangling v0`,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_report_transaction.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_rust_llvm_toolchain.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_search.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Tests for the `search` subcommand: pure helpers (always) + an integration
# test gated on clang/llvm-cov (skipped cleanly when the toolchain is absent).
set -uo pipefail
Expand Down
2 changes: 1 addition & 1 deletion tests/test_search_crash_only.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_stability_executed_lines.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_stability_resilience.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Regression test: a single failed pass must NOT abort the whole stability run.
#
# Reproduces the reported bug "llvm-profdata merge failed for pass 4" aborting
Expand Down
2 changes: 1 addition & 1 deletion tests/test_timeout_enforcement.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uo pipefail

cd "$(dirname "$0")/.."
Expand Down
Loading