Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #33: Productionize testing + add CI
84b87d5 Add Cirrus CI (Pieter Wuille) de1ea97 Report configuration in ./configure (Pieter Wuille) 37f2a41 Rename test_exhaust to test (Pieter Wuille) 0499d6b Improve randomized tests (Pieter Wuille) 6a82ae2 Improve exhaustive tests (Pieter Wuille) a92954f Make test complexity configurable on cmdline (Pieter Wuille) 4c01bf7 Clean up test code a bit (Pieter Wuille) a430875 Remove exhaustive test analysis output (Pieter Wuille) c5b22c6 Simplify exhaustive test (Pieter Wuille) 1564917 Rename count -> capacity in tests (Pieter Wuille) 7657fd4 Remove multi-threadedness of test-exhaust (Pieter Wuille) 7adad14 Bugfix: RecFindRoots sanity check fails on 32-bit (Pieter Wuille) fbdadf8 Bugfix: construct 64-bit clmul field when requested (Pieter Wuille) Pull request description: Various improvements to testing: * Add Cirrus CI * exercise the C++ wrapper interface * operate on all field implementations simultaneously, and compare the results * make tests not run forever (but controlled by command-line complexity argument) * make tests single threaded * generic improvements to the tests * rename the test binary from `test-exhaust` to `test` * drop analysis/debug output Also fix two bugs discovered while writing these improvements: * when requesting a clmul 64-bit field, a sketch for 63 bits was returned. * an internal sanity check in the root finding function could fail incorrectly on 32-bit platforms ACKs for top commit: gmaxwell: ACK 84b87d5 jonatack: ACK 84b87d5 per `git range-diff 7408bde 707aaad 84b87d5`, only skimmed the CI changes Tree-SHA512: 8ce00d504c9b3265492b4efb9fa3f4ccf1a727e20e8ab30a1593fe9a74793a966cead41fd31435c8b739d3923bbc03c88d5c79b3dac88d7920503ed55f0aca75
- Loading branch information