commit | a5cc3521d85735d123d2720508c4fa938531d5a4 | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@intel.com> | Tue Dec 18 13:42:09 2018 -0800 |
committer | Lucas De Marchi <lucas.demarchi@intel.com> | Thu Jan 03 12:03:27 2019 -0800 |
tree | b2577bba4220bb561ab51b798ff470639427f759 | |
parent | 4a894aeaebf69166e6344d8a82c2600a1d4c0d08 [diff] |
testsuite: split out function to compare outputs exactly Move functionality to compare the exact output to a separate function and allocate one buffer per output/match pair. This will allow us to extend this to allow other types of comparisons. Since now we are using heap-allocated buffer, keep the buffer allocation to the caller, so we don't have to allocate and free it on every invocation. It also avoids the different comparison functions to have to deal with it.
This is a mirror only. Please see README file for more information.