diff --git a/test/test-automation/runner.c b/test/test-automation/runner.c
index c5bb80527..4d81fc4d6 100644
--- a/test/test-automation/runner.c
+++ b/test/test-automation/runner.c
@@ -736,5 +736,5 @@ main(int argc, char *argv[])
RunEnded(totalTestPassCount + totalTestfailureCount, suiteCounter,
totalTestPassCount, totalTestfailureCount, time(0), totalRunTime);
- return 0;
+ return (totalTestfailureCount ? 1 : 0);
}
diff --git a/test/test-automation/style.xsl b/test/test-automation/style.xsl
index c09591cb4..69087756c 100644
--- a/test/test-automation/style.xsl
+++ b/test/test-automation/style.xsl
@@ -12,95 +12,88 @@
@@ -146,17 +144,14 @@ div, h1 {
cursor: pointer;
}
-.passedTest {
+.passed {
background-color: #64AA2B;
}
-.failedTest {
+.failed {
background-color: #FF6E40;
}
-
-.statistics {
-}
-
+
@@ -174,7 +169,7 @@ div, h1 {
Statistics: