summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Herouart <rherouart@google.com>2024-04-08 09:13:46 +0000
committerRaphael Herouart <rherouart@google.com>2024-04-08 09:13:46 +0000
commitb238b90a79aca2954ffc842b1e97e39eee343f11 (patch)
tree0879ae87b8cc14cea1ecc598059d4749043970f0
parent4f3a4cbc5ee037c553b473c67b1c9167ed7a724f (diff)
downloadcore-b238b90a79aca2954ffc842b1e97e39eee343f11.tar.gz
lib/trusty: tipc-test should not print results to error stream
tipc-test results cannot be parsed in the CI because they output to error stream Bug: 314130383 Test: /data/nativetest64/vendor/tipc-test/tipc-test -t echo -r 1 -B 100 Change-Id: I2d6506fd69af06338041035526ca759884719c7b
-rw-r--r--trusty/libtrusty/tipc-test/tipc_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trusty/libtrusty/tipc-test/tipc_test.c b/trusty/libtrusty/tipc-test/tipc_test.c
index 1eac9cfb9..3cf0c05f9 100644
--- a/trusty/libtrusty/tipc-test/tipc_test.c
+++ b/trusty/libtrusty/tipc-test/tipc_test.c
@@ -1041,7 +1041,7 @@ static int run_as_bench(const struct tipc_test_params* params) {
}
avg /= params->bench;
- fprintf(stderr, BENCH_RESULT_TPL, params->test_name, min, max, avg, cold, min, max, avg, cold);
+ printf(BENCH_RESULT_TPL, params->test_name, min, max, avg, cold, min, max, avg, cold);
return rc;
}