summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-26 11:53:07 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-01 18:05:42 +0200
commit2d8802b51976e3c3cc1b180962ee30daf2fe2629 (patch)
tree892e27a45f58b7d0b0fe470700b7f7db6b0acd59 /testsuites
parentbuild: Enable RTEMS_SMP only for selected BSPs (diff)
downloadrtems-2d8802b51976e3c3cc1b180962ee30daf2fe2629.tar.bz2
tests: Add and use <rtems/testopts.h>
Add the build option RTEMS_TEST_VERBOSITY to control the verbosity of test suites using the RTEMS Test Framework.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/smptests/smpmulticast01/init.c3
-rw-r--r--testsuites/validation/ts-validation-0.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/smptests/smpmulticast01/init.c b/testsuites/smptests/smpmulticast01/init.c
index f5ed70952a..3d2412427c 100644
--- a/testsuites/smptests/smpmulticast01/init.c
+++ b/testsuites/smptests/smpmulticast01/init.c
@@ -34,6 +34,7 @@
#include <string.h>
#include <rtems/test.h>
+#include <rtems/testopts.h>
#include <tmacros.h>
#define CPU_COUNT 32
@@ -43,7 +44,7 @@ const char rtems_test_name[] = "SMPMULTICAST 1";
static const T_config config = {
.name = "SMPMultiCast",
.putchar = T_putchar_default,
- .verbosity = T_VERBOSE,
+ .verbosity = RTEMS_TEST_VERBOSITY,
.now = T_now_clock
};
diff --git a/testsuites/validation/ts-validation-0.c b/testsuites/validation/ts-validation-0.c
index 3e60fb6ab8..0d641637ee 100644
--- a/testsuites/validation/ts-validation-0.c
+++ b/testsuites/validation/ts-validation-0.c
@@ -49,6 +49,7 @@
#include <rtems/sysinit.h>
#include <rtems/test.h>
+#include <rtems/testopts.h>
/**
* @defgroup RTEMSTestSuiteTestsuitesValidation0 spec:/testsuites/validation-0
@@ -88,7 +89,7 @@ static const T_config test_config = {
.buf = buffer,
.buf_size = sizeof( buffer ),
.putchar = rtems_put_char,
- .verbosity = T_VERBOSE,
+ .verbosity = RTEMS_TEST_VERBOSITY,
.now = T_now_clock,
.action_count = T_ARRAY_SIZE( actions ),
.actions = actions