summaryrefslogtreecommitdiffstats
path: root/src/lib/cxxtest_stub.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cxxtest_stub.C')
-rw-r--r--src/lib/cxxtest_stub.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/cxxtest_stub.C b/src/lib/cxxtest_stub.C
new file mode 100644
index 000000000..cbc98baee
--- /dev/null
+++ b/src/lib/cxxtest_stub.C
@@ -0,0 +1,11 @@
+#include <stdint.h>
+
+namespace CxxTest
+{
+
+// This variable is to allow a code in a binary image not containing the
+// testcase modules to query the number of failed tests
+uint64_t g_FailedTests = 0;
+
+}
+
OpenPOWER on IntegriCloud