Flipped boolean in TestDriver return, as run returns true if everything was perfect and false if it wasn't. So, uh, bad to use it straight up as an exit code...
authorKrista Bennett <krista@pep-project.org>
Fri, 11 May 2018 09:01:10 +0200
changeset 26737e09a0b166c9
parent 2672 41b8d284de9f
child 2675 76cd9dd18656
child 2676 074bceee15b7
Flipped boolean in TestDriver return, as run returns true if everything was perfect and false if it wasn't. So, uh, bad to use it straight up as an exit code...
test/src/TestDriver.cc
     1.1 --- a/test/src/TestDriver.cc	Fri May 11 08:58:04 2018 +0200
     1.2 +++ b/test/src/TestDriver.cc	Fri May 11 09:01:10 2018 +0200
     1.3 @@ -82,6 +82,6 @@
     1.4      }
     1.5  
     1.6      Test::TextOutput output(Test::TextOutput::Verbose);
     1.7 -    return test_runner->run(output, false) ? 1 : 0;
     1.8 +    return test_runner->run(output, false) ? 0 : 1;
     1.9      
    1.10  }