Test: Add progress marks to SST reliability tests
This change makes it clear to the user that these long-running tests are
making progress, and have not hanged.
Change-Id: I9e606b8f2da03419640cb44a687efb29168c04f7
Signed-off-by: Jamie Fox <jamie.fox@arm.com>
diff --git a/test/framework/test_framework.h b/test/framework/test_framework.h
index acd0315..4716d43 100644
--- a/test/framework/test_framework.h
+++ b/test/framework/test_framework.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017, Arm Limited. All rights reserved.
+ * Copyright (c) 2017-2018, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -8,14 +8,15 @@
#ifndef __TEST_FRAMEWORK_H__
#define __TEST_FRAMEWORK_H__
-#ifdef __cplusplus
-extern "C" {
-#endif
-
+#include <stdarg.h>
#include <stdint.h>
#include "helpers.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum test_status_t {
TEST_PASSED = 0, /*!< Test has passed */
TEST_FAILED = 1, /*!< Test has failed */
@@ -133,6 +134,8 @@
#define TEST_FAIL(info_msg) set_test_failed(info_msg, __FILE__, __LINE__, ret)
+#define TEST_LOG(...) printf(__VA_ARGS__)
+
#ifdef __cplusplus
}
#endif