From 6cc4d3e9a982e926494f4b919d9733fe29774acf Mon Sep 17 00:00:00 2001 From: Henrik Gramner Date: Fri, 17 Jul 2015 18:07:57 +0200 Subject: checkasm: exit with status 0 instead of 1 if there are no tests to perform --- tests/checkasm/checkasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/checkasm') diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index ce7377807f..826cd35104 100644 --- a/tests/checkasm/checkasm.c +++ b/tests/checkasm/checkasm.c @@ -320,7 +320,7 @@ int main(int argc, char *argv[]) if (!tests[0] || !cpus[0].flag) { fprintf(stderr, "checkasm: no tests to perform\n"); - return 1; + return 0; } if (argc > 1 && !strncmp(argv[1], "--bench", 7)) { -- cgit v1.2.3