mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 05:27:47 +02:00
Treat a nonzero exit status as a failure (#3430)
And fix the test cases that have been failing ,undetected
This commit is contained in:
parent
50cfbe8b63
commit
28a46880a2
12 changed files with 62 additions and 75 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue