From 4b4a56fb1e64b5d7734cdd784f48e07bd46e8452 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 16 Apr 2008 00:04:11 +0200 Subject: Provide the right error count to formatters. (This used to be commit f22602797fe841859c67558bb78e04c98b9e27e0) --- source4/selftest/selftest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/selftest/selftest.pl') diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl index 53bfcb12f2d..d6cf8d3a00f 100755 --- a/source4/selftest/selftest.pl +++ b/source4/selftest/selftest.pl @@ -239,9 +239,9 @@ sub run_testsuite($$$$$$) $msg_ops->start_test([], $name); unless (open(RESULT, "$cmd 2>&1|")) { + $statistics->{TESTS_ERROR}++; $msg_ops->end_test([], $name, "error", 1, "Unable to run $cmd: $!"); $statistics->{SUITES_FAIL}++; - $statistics->{TESTS_ERROR}++; return 0; } -- cgit