From 01f972a3bf1be8a26908e6ee84b251ce9f3c9890 Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 19 Jul 2015 18:01:37 +0000 Subject: [PATCH] Return a non-zero result if some tests failed. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50967 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- test/dos/readargs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dos/readargs.c b/test/dos/readargs.c index e06760b363..5c059f613f 100644 --- a/test/dos/readargs.c +++ b/test/dos/readargs.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011, The AROS Development Team. All rights reserved. + * Copyright (C) 2011-2015, The AROS Development Team. All rights reserved. * Author: Jason S. McMullan * * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1 @@ -397,5 +397,5 @@ int main(int argc, char **argv) Flush(Output()); - return 0; + return tests_failed == 0 ? RETURN_OK : RETURN_WARN; } -- 2.11.4.GIT