aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2015-07-30 14:13:31 +0100
committerSteve McIntyre <steve.mcintyre@linaro.org>2015-07-30 14:13:31 +0100
commit5263e794a52a52f1b086ccb18fdd8f45289b946d (patch)
treeefb69c188fd6b1f025cce956211542f015428467
parent761fd9802e263f3654b744f613f245995780d407 (diff)
Change the ping-parsing output code output
We don't care too much about the numbers now. Any non-zero number of failures is a FAIL. Change-Id: I25a9ecfc1e69512c5bde8744bb8e54b7f3759646
-rwxr-xr-xtest/test-common4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test-common b/test/test-common
index abc4041..b8de73d 100755
--- a/test/test-common
+++ b/test/test-common
@@ -219,7 +219,9 @@ check_test_step () {
}
}
}
- END { printf(\" success: %d, fail: %d\n\", success, fail) }
+ END {
+ if (fail > 0) { print \"FAIL\" }
+ }
"
}