-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
ocamlPackages: add crowbar, enable crowbar tests #88475
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
Conversation
1129f5b
to
9ffddee
Compare
9ffddee
to
921713a
Compare
921713a
to
3bb62e9
Compare
@GrahamcOfBorg build jackline ocamlPackages.irmin-unix |
The |
I think it failed on me once in |
@GrahamcOfBorg build ocamlPackages.afl-persistent |
|
@GrahamcOfBorg build ocamlPackages.crowbar |
97dad4b
to
0c11190
Compare
@GrahamcOfBorg build ocamlPackages.index |
|
Is it wise to enable tests that “take forever”? |
Probably not, since then builds will timeout all the time, although it'd be nice to have Also it'd be really frustrating to use that library with ocaml versions where there are no prebuild binaries since you can't disable the tests easily then. |
0c11190
to
71c0fe6
Compare
71c0fe6
to
8113b87
Compare
I marked this as stale due to inactivity. → More info |
Motivation for this change
Add crowbar, an afl based test framework, which some test suites in
ocamlPackages
depend on (index
andeqaf
as far as I know which have their test suites enabled in this PR).One issue this PR currently has is that it probably doesn't make sense to run the crowbar tests on a compiler which does not support afl. We could detect afl and enable/disable the tests like this (although its not nice):
However, this has another issue: The affected packages have a normal test suite as well which doesn't require
crowbar
. Selectively activating and deactivating parts of the test suite could become rather cumbersome and I think it is not really that big of an issue sincecrowbar
runs and compiles without any errors even when afl is not enabled.Note that this PR also includes the eqaf update from #88467.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)