Implementation of the Cram tests using Exactly#398
Implementation of the Cram tests using Exactly#398emilkarlen wants to merge 2 commits intoSnaipe:bleedingfrom
Conversation
|
Looking through this, this seems fairly nice, especially the builtin text processing where normally one would have to use sed or something else in the cram test to manipulate the program output. The failmessage substitution for IEEE double and long double floating-point number representations is mostly the result of laziness in our current test suite; the right way would have been to have meson detect the right representation for the platform under test and tell cram or exactly which one to use, rather than testing both forms. The problem of either form matching and causing a false positive is not a problem in Exactly since it exists in our Cram tests today. One thing I've really been missing in Cram today is the inability to run all of the tests concurrently, which is caused by a design flaw in Cram itself (since it mandates commands to be executed sequentially within a test file). While I understand this is not something that Exactly can do today, its design seem to at least make this possible at some point in the future. One very important feature that we use during development is |
|
Bon Noël! Concurrent executionConcurrency is a feature that should be implemented, at some point, Automatic patchingThis cannot be achieved today. And unfortunately, I have no good idea of how Some reasons:
Because of this, the patching feature do not feel natural for Exactly. Adding On the other hand, the actual output can easily be retrieved: This could be used to accomplish the patching via scripts, using sed and So if the patching feature is important I believe that Cram is more suitable |
Adds an implementation of the Cram tests using Exactly (https://github.com/emilkarlen/exactly).
NOTE: This PR does not replace the Cram tests - so it should probably not be merged as is.
Rather, this is a place for discussing which test tool is best suited for the project, as suggested by @Snaipe.
If the conclusion is that Exactly should replace Cram, then I will remove the Cram tests.
See my evaluation in https://github.com/emilkarlen/Criterion-exactly (README)