OSDN Git Service

versioner: merge stdout and stderr in the test runner.
authorJosh Gao <jmgao@google.com>
Thu, 2 Jun 2016 22:59:44 +0000 (15:59 -0700)
committerJosh Gao <jmgao@google.com>
Fri, 3 Jun 2016 22:01:18 +0000 (15:01 -0700)
commit658dbd920d8e8d17723e014d886e43615107a59a
treee212dee161a3e97fab2d1171e04964d4c849b68d
parent80d909bbfb0ffb4955caebd80acf98120cb1b130
versioner: merge stdout and stderr in the test runner.

Some of the error messages emitted by versioner (the ones where it was
invoked incorrectly) go to stderr, which meant that the test runner
ignored them. Merge stdout and stderr, and switch from testing for
exact equality to endswith, because of the compilation errors test.

Change-Id: I0e2c25bcc9dea4c12ea82a6a05b29e561a61a902
tools/versioner/run_tests.py [changed mode: 0644->0755]