Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: harness-self-test

on:
push:
branches: [main]
pull_request:

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: tests

on:
push:
branches: [main]
pull_request:

jobs:
Expand Down
6 changes: 3 additions & 3 deletions test/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ def __init__(self, path):
if not isinstance(raw_versions, list) or not all(isinstance(v, int) for v in raw_versions):
raise StepError(f"config {path}: 'versions' must be a list of integers")
self.versions = [str(v) for v in raw_versions]
else:
# Fall back to fuzz grammar keys if versions not specified
self.versions = sorted(grammar_map.keys(), key=int)
self.out_dir = os.path.abspath(resolve(
str(raw.get("out_dir", DEFAULT_OUT_DIR)), {"{root}": REPO_ROOT}))
llvm_dis = raw.get("llvm_dis", "llvm-dis")
Expand All @@ -102,6 +99,9 @@ def __init__(self, path):
grammar_map = raw_fuzz.get("grammar") or {}
if not isinstance(grammar_map, dict):
raise StepError(f"config {path}: 'fuzz.grammar' must be an object")
# Fall back to fuzz grammar keys if versions not specified
if not hasattr(self, 'versions'):
self.versions = sorted(grammar_map.keys(), key=int)
exit_map = raw_fuzz.get("exit") or {}
if not isinstance(exit_map, dict):
raise StepError(f"config {path}: 'fuzz.exit' must be an object")
Expand Down
Loading