Skip to content

fix(fpga): make run_regression.sh portable to macOS (timeout/gtimeout…#151

Open
joyshmitz wants to merge 10 commits into
NawfalMotii79:developfrom
joyshmitz:joyshmitz/macos-timeout-portability
Open

fix(fpga): make run_regression.sh portable to macOS (timeout/gtimeout…#151
joyshmitz wants to merge 10 commits into
NawfalMotii79:developfrom
joyshmitz:joyshmitz/macos-timeout-portability

Conversation

@joyshmitz
Copy link
Copy Markdown
Contributor

… detection)

macOS does not ship GNU timeout by default. The previous unconditional timeout 120 vvp call was silently swallowed by || true, producing empty output for every testbench and UNKNOWN (no PASS/FAIL markers) for all 27 of them. Detect timeout, fall back to gtimeout (from brew install coreutils), or exit 1 with an actionable hint.

Verified: 27/27 PASS on macOS 26.5 (gtimeout from coreutils 9.11) and Ubuntu 25.10 (native timeout). Two pre-existing advisory LINT warnings unchanged.

NawfalMotii79 and others added 10 commits April 29, 2026 21:53
Added GitHub badges for stars, forks, watchers, license, and hardware.
… detection)

macOS does not ship GNU `timeout` by default. The previous unconditional
`timeout 120 vvp` call was silently swallowed by `|| true`, producing empty
output for every testbench and `UNKNOWN (no PASS/FAIL markers)` for all 27
of them. Detect `timeout`, fall back to `gtimeout` (from `brew install
coreutils`), or exit 1 with an actionable hint.

Verified: 27/27 PASS on macOS 26.5 (gtimeout from coreutils 9.11) and
Ubuntu 25.10 (native timeout). Two pre-existing advisory LINT warnings
unchanged.
@joyshmitz joyshmitz changed the base branch from main to develop May 25, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants