-
Notifications
You must be signed in to change notification settings - Fork 15
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 against all of nixpkgs for tool crashes #77
Labels
enhancement
New feature or request
Comments
This is the result of testing 32,776 attrs in nixpkgs and screening for crashes of the I may file a PR to add this as integration testing, but in the mean time here are the current results.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd be nice to automatically test against all of nixpkgs for crashes in the nixpkgs-hammer tool.
I've started doing this with some hacked-up python based on this approach:
https://en.wikipedia.org/wiki/Group_testing#Generalised_binary-splitting_algorithm
It appears that there's a fair amount of academic literature on this topic, but unfortunately in a little bit of googling I was unable to find any available implementations of the algorithms described.
I am currently running this code: https://gist.github.com/rmcgibbo/bd1bc08eda3de57394df1be44b91228f, but I (a) don't know how long it will take and (b) am not 100% sure I implemented the testing correctly. It's close enough to correct that I'm getting useful results though.
Assuming this takes a reasonable amount of time, it seems like something we might be able to run on github actions in the integration tests.
The text was updated successfully, but these errors were encountered: