diff options
author | Brett Landau <brettlandau@google.com> | 2019-07-23 13:31:30 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-07-23 13:32:43 -0700 |
commit | 57745994384ee1ff94fc7bed4f814ba75e39d48e (patch) | |
tree | b1a4cc396b095259b66e8689e9046fd3a5e5de5e /pkg/sentry/control | |
parent | 12c256568ba784c07cf73822359faac2971e8306 (diff) |
Make runAllTests() consistent with listTests().
This change has the listTests() function return
a string slice of all the tests. Originally, I
planned not to modify the listTests() function
and instead capture the output of it and then
iterate through the captured output. I decided
against this approach as most of the test binaries
already produce a slice as they collect tests
through filepath.Walk(). Now I use this slice
and return it so that I can iterate through in
runAllTests() and also when printing out the tests.
PiperOrigin-RevId: 259599782
Diffstat (limited to 'pkg/sentry/control')
0 files changed, 0 insertions, 0 deletions