10 Commits

Author SHA1 Message Date
Joël Stemmer
1b8b67371c Report testsuite failures even if all tests succeeded
Fixes #87
2019-10-03 23:53:41 +01:00
Michael Lai
6315b3013b Parse package name output when test binary name is included
Sometimes, the text after "# " shows the name of the test binary
("<package>.test") in addition to the package
e.g.: "# package/name [package/name.test]".
This change ensures that the packages' build outputs are associated
correctly in this case.
2019-09-18 17:44:54 -07:00
Jordan Liggitt
9c3d9dadf6 Include test output and stdout in test failures 2018-12-21 13:39:33 -05:00
Brittany Walentin
b4d81a975b Regex captures benchmarks with or without CPU suffix. 2018-06-07 22:19:32 -07:00
Joël Stemmer
47abdc7385 Fix whitespace prefixes in testdata for subtests
Go test output for subtests are prefixed with spaces instead of tabs.
2018-06-03 22:49:25 +01:00
Brittany Walentin
1c2c0a00fe Adds multi-package benchmark support, simplifies merge benchmark averaging. Addressing code review comments. 2018-06-03 12:28:48 -07:00
Brittany Walentin
260b47cabe Addressing code review comments.
Mainly:
* Moving the averaging/merging of benchmarks from the parser to the formatter package
* Tightening up the regex so it only captures the numeric values (no more of trimming spaces and the ns/op)
* Deleting the writing up in xml file the benchmark memory sections of B/op and Allocs/op

Also added a test case for parseNanoseconds().
2018-05-29 21:05:13 -07:00
Brittany Walentin
b2f467b67c Adds ability to parse benchmarking information, and (optional) with memory information and with -count specified. Includes a number of unit tests. Issue #70. 2018-05-22 20:18:03 -07:00
Joël Stemmer
6e1ccef4d8 Add support for cached tests 2018-04-21 18:15:02 +01:00
Joël Stemmer
6a7ce5ecd4 Rename tests to testdata 2018-04-21 18:10:48 +01:00