Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: every test everywhere all at once #4814

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

widlarizer
Copy link
Collaborator

@widlarizer widlarizer commented Dec 12, 2024

This PR uses some simple GNU Make trickery to actually run tests in parallel with the correct number of jobs. On my 24-thread zen 4 machine this results in another 2.9x speedup. To test, grep for ""...passed tests in" and compare with the list of test directories prior to this PR. Feel free to watch CPU usage and counts of yosys and other processes spawned by make test (ld.lld, vvp etc)

  • put back the YOSYS_NOVERIFIC disable and ENABLE_VERIFIC condition
  • refactor gen-tests-makefile.sh so the naming isn't misleading

@widlarizer widlarizer force-pushed the emil/make-test-fasterer branch from 9daf0aa to 6240aec Compare December 13, 2024 09:24
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.

1 participant