summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2015-07-17 18:07:57 +0200
committerJanne Grunau <janne-libav@jannau.net>2015-07-18 01:06:44 +0200
commit6cc4d3e9a982e926494f4b919d9733fe29774acf (patch)
treed70526395ebd56dae02c2e0334beed1b15c92097 /tests
parent256ef19844892c6cf8e0386e3287bae970ec6320 (diff)
checkasm: exit with status 0 instead of 1 if there are no tests to perform
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/checkasm.c2
1 files changed, 1 insertions, 1 deletions
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)) {