Treat a nonzero exit status as a failure (#3430)
And fix the test cases that have been failing ,undetected
This commit is contained in:
committed by
GitHub
parent
50cfbe8b63
commit
28a46880a2
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <cmake.h>
|
||||
#include <test.h>
|
||||
#include <Context.h>
|
||||
#include <Eval.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -44,6 +45,8 @@ bool get (const std::string& name, Variant& value)
|
||||
int main (int, char**)
|
||||
{
|
||||
UnitTest t (52);
|
||||
Context context;
|
||||
Context::setContext(&context);
|
||||
|
||||
// Test the source independently.
|
||||
Variant v;
|
||||
|
||||
Reference in New Issue
Block a user