summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-26 13:59:10 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-28 13:33:55 +0200
commitacc9d064682f79ffb77e0f1c0d1cace29f087672 (patch)
treeae3d4c4e0e5bfae1324152ee9766650914bb8f79
parenttests: Use rtems_test_printer in general (diff)
downloadrtems-acc9d064682f79ffb77e0f1c0d1cace29f087672.tar.bz2
tests: Remove obsolete TESTS_USE_PRINTK
Update #3170. Update #3199.
-rw-r--r--testsuites/fstests/fsimfsconfig01/init.c1
-rw-r--r--testsuites/fstests/fsimfsconfig03/init.c1
-rw-r--r--testsuites/fstests/fsnofs01/init.c1
-rw-r--r--testsuites/libtests/block02/init.c1
-rw-r--r--testsuites/libtests/block03/init.c1
-rw-r--r--testsuites/libtests/block04/init.c1
-rw-r--r--testsuites/libtests/block05/init.c1
-rw-r--r--testsuites/libtests/block09/init.c1
-rw-r--r--testsuites/libtests/devfs01/init.c1
-rw-r--r--testsuites/libtests/devfs02/init.c1
-rw-r--r--testsuites/libtests/devfs04/init.c1
-rw-r--r--testsuites/libtests/devnullfatal01/testcase.h4
-rw-r--r--testsuites/libtests/exit01/init.c1
-rw-r--r--testsuites/libtests/exit02/init.c1
-rw-r--r--testsuites/libtests/stackchk/system.h1
-rw-r--r--testsuites/psxtests/psxdevctl01/test.c1
-rw-r--r--testsuites/psxtests/psxfatal_support/init.c1
-rw-r--r--testsuites/psxtests/psxspin01/test.c1
-rw-r--r--testsuites/smptests/smpfatal01/init.c1
-rw-r--r--testsuites/smptests/smpfatal02/init.c1
-rw-r--r--testsuites/smptests/smpfatal03/init.c1
-rw-r--r--testsuites/smptests/smpfatal04/init.c1
-rw-r--r--testsuites/smptests/smpfatal05/init.c1
-rw-r--r--testsuites/smptests/smpfatal06/init.c1
-rw-r--r--testsuites/smptests/smpfatal08/init.c1
-rw-r--r--testsuites/smptests/smplock01/init.c1
-rw-r--r--testsuites/smptests/smpmrsp01/init.c1
-rw-r--r--testsuites/sptests/sperror01/init.c1
-rw-r--r--testsuites/sptests/sperror02/init.c1
-rw-r--r--testsuites/sptests/sperror03/init.c1
-rw-r--r--testsuites/sptests/spextensions01/init.c1
-rw-r--r--testsuites/sptests/spfatal26/init.c1
-rw-r--r--testsuites/sptests/spfatal30/init.c1
-rw-r--r--testsuites/sptests/spfatal31/init.c1
-rw-r--r--testsuites/sptests/spfatal_support/system.h1
-rw-r--r--testsuites/sptests/spglobalcon01/init.cc1
-rw-r--r--testsuites/sptests/spinternalerror01/init.c1
-rw-r--r--testsuites/sptests/spprintk/init.c1
-rw-r--r--testsuites/sptests/spsysinit01/init.c1
-rw-r--r--testsuites/sptests/sptimecounter01/init.c1
40 files changed, 0 insertions, 43 deletions
diff --git a/testsuites/fstests/fsimfsconfig01/init.c b/testsuites/fstests/fsimfsconfig01/init.c
index 57fd63c526..ed0e804e04 100644
--- a/testsuites/fstests/fsimfsconfig01/init.c
+++ b/testsuites/fstests/fsimfsconfig01/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <sys/stat.h>
diff --git a/testsuites/fstests/fsimfsconfig03/init.c b/testsuites/fstests/fsimfsconfig03/init.c
index 311c5bb6b2..47f1fefc26 100644
--- a/testsuites/fstests/fsimfsconfig03/init.c
+++ b/testsuites/fstests/fsimfsconfig03/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <sys/stat.h>
diff --git a/testsuites/fstests/fsnofs01/init.c b/testsuites/fstests/fsnofs01/init.c
index 603a906fdf..623f6bc085 100644
--- a/testsuites/fstests/fsnofs01/init.c
+++ b/testsuites/fstests/fsnofs01/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <sys/stat.h>
diff --git a/testsuites/libtests/block02/init.c b/testsuites/libtests/block02/init.c
index 3523c5d364..361475da05 100644
--- a/testsuites/libtests/block02/init.c
+++ b/testsuites/libtests/block02/init.c
@@ -26,7 +26,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/libtests/block03/init.c b/testsuites/libtests/block03/init.c
index ea82421e7f..3a5e110ede 100644
--- a/testsuites/libtests/block03/init.c
+++ b/testsuites/libtests/block03/init.c
@@ -26,7 +26,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/libtests/block04/init.c b/testsuites/libtests/block04/init.c
index d9748df609..cf39ea9c3c 100644
--- a/testsuites/libtests/block04/init.c
+++ b/testsuites/libtests/block04/init.c
@@ -26,7 +26,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/libtests/block05/init.c b/testsuites/libtests/block05/init.c
index 80e3641820..4003c34373 100644
--- a/testsuites/libtests/block05/init.c
+++ b/testsuites/libtests/block05/init.c
@@ -26,7 +26,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <stdarg.h>
#include <errno.h>
diff --git a/testsuites/libtests/block09/init.c b/testsuites/libtests/block09/init.c
index 3ad283ec59..ca6efd210b 100644
--- a/testsuites/libtests/block09/init.c
+++ b/testsuites/libtests/block09/init.c
@@ -26,7 +26,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <assert.h>
diff --git a/testsuites/libtests/devfs01/init.c b/testsuites/libtests/devfs01/init.c
index 66e702f61a..c727cb34ba 100644
--- a/testsuites/libtests/devfs01/init.c
+++ b/testsuites/libtests/devfs01/init.c
@@ -13,7 +13,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include <tmacros.h>
#include "test_support.h"
#include <rtems/devfs.h>
diff --git a/testsuites/libtests/devfs02/init.c b/testsuites/libtests/devfs02/init.c
index 740407202c..16121a52f5 100644
--- a/testsuites/libtests/devfs02/init.c
+++ b/testsuites/libtests/devfs02/init.c
@@ -18,7 +18,6 @@
#include "test_support.h"
-#define TESTS_USE_PRINTK
#include <tmacros.h>
#include <errno.h>
#include <unistd.h>
diff --git a/testsuites/libtests/devfs04/init.c b/testsuites/libtests/devfs04/init.c
index 96b68df0f8..1c3ea05544 100644
--- a/testsuites/libtests/devfs04/init.c
+++ b/testsuites/libtests/devfs04/init.c
@@ -13,7 +13,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include <tmacros.h>
#include "test_support.h"
#include <rtems/devfs.h>
diff --git a/testsuites/libtests/devnullfatal01/testcase.h b/testsuites/libtests/devnullfatal01/testcase.h
index fb8a786645..b97b7d0a58 100644
--- a/testsuites/libtests/devnullfatal01/testcase.h
+++ b/testsuites/libtests/devnullfatal01/testcase.h
@@ -12,10 +12,6 @@
#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_RTEMS_API
#define FATAL_ERROR_EXPECTED_ERROR RTEMS_TOO_MANY
-#ifndef TESTS_USE_PRINTK
-#define TESTS_USE_PRINTK
-#endif
-
#include <rtems/devnull.h>
#include "tmacros.h"
diff --git a/testsuites/libtests/exit01/init.c b/testsuites/libtests/exit01/init.c
index 3592644319..75da2dfecd 100644
--- a/testsuites/libtests/exit01/init.c
+++ b/testsuites/libtests/exit01/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <stdlib.h>
diff --git a/testsuites/libtests/exit02/init.c b/testsuites/libtests/exit02/init.c
index 2aa3f33f30..95eba4f077 100644
--- a/testsuites/libtests/exit02/init.c
+++ b/testsuites/libtests/exit02/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <stdlib.h>
diff --git a/testsuites/libtests/stackchk/system.h b/testsuites/libtests/stackchk/system.h
index 225a5d3155..32e232a1c3 100644
--- a/testsuites/libtests/stackchk/system.h
+++ b/testsuites/libtests/stackchk/system.h
@@ -11,7 +11,6 @@
* http://www.rtems.org/license/LICENSE.
*/
-#define TESTS_USE_PRINTK
#include <tmacros.h>
/* macros */
diff --git a/testsuites/psxtests/psxdevctl01/test.c b/testsuites/psxtests/psxdevctl01/test.c
index 423e8c50b8..0fe9d9460b 100644
--- a/testsuites/psxtests/psxdevctl01/test.c
+++ b/testsuites/psxtests/psxdevctl01/test.c
@@ -17,7 +17,6 @@
#include "config.h"
#endif
-#define TESTS_USE_PRINTK
#define _POSIX_26_C_SOURCE
#include "tmacros.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psxfatal_support/init.c b/testsuites/psxtests/psxfatal_support/init.c
index 50e3abbb2e..79434975ab 100644
--- a/testsuites/psxtests/psxfatal_support/init.c
+++ b/testsuites/psxtests/psxfatal_support/init.c
@@ -13,7 +13,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#define CONFIGURE_INIT
diff --git a/testsuites/psxtests/psxspin01/test.c b/testsuites/psxtests/psxspin01/test.c
index 33153addda..e27db73d78 100644
--- a/testsuites/psxtests/psxspin01/test.c
+++ b/testsuites/psxtests/psxspin01/test.c
@@ -17,7 +17,6 @@
#include "config.h"
#endif
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <stdio.h>
#include <errno.h>
diff --git a/testsuites/smptests/smpfatal01/init.c b/testsuites/smptests/smpfatal01/init.c
index 68ba68cbfa..e225aa466f 100644
--- a/testsuites/smptests/smpfatal01/init.c
+++ b/testsuites/smptests/smpfatal01/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/smptests/smpfatal02/init.c b/testsuites/smptests/smpfatal02/init.c
index 0b2424571f..b6a538f9dd 100644
--- a/testsuites/smptests/smpfatal02/init.c
+++ b/testsuites/smptests/smpfatal02/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/smptests/smpfatal03/init.c b/testsuites/smptests/smpfatal03/init.c
index 8121fd29ae..0030afe374 100644
--- a/testsuites/smptests/smpfatal03/init.c
+++ b/testsuites/smptests/smpfatal03/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
const char rtems_test_name[] = "SMPFATAL 3";
diff --git a/testsuites/smptests/smpfatal04/init.c b/testsuites/smptests/smpfatal04/init.c
index 93d6bf1240..0b76f8137f 100644
--- a/testsuites/smptests/smpfatal04/init.c
+++ b/testsuites/smptests/smpfatal04/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/smptests/smpfatal05/init.c b/testsuites/smptests/smpfatal05/init.c
index b07c986af6..431b7b10b3 100644
--- a/testsuites/smptests/smpfatal05/init.c
+++ b/testsuites/smptests/smpfatal05/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/smptests/smpfatal06/init.c b/testsuites/smptests/smpfatal06/init.c
index 94e6cf7e32..f99cdd566d 100644
--- a/testsuites/smptests/smpfatal06/init.c
+++ b/testsuites/smptests/smpfatal06/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/smptests/smpfatal08/init.c b/testsuites/smptests/smpfatal08/init.c
index f4adc3279b..f641278b55 100644
--- a/testsuites/smptests/smpfatal08/init.c
+++ b/testsuites/smptests/smpfatal08/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/smptests/smplock01/init.c b/testsuites/smptests/smplock01/init.c
index 38a3d0aebf..e8e22c61f1 100644
--- a/testsuites/smptests/smplock01/init.c
+++ b/testsuites/smptests/smplock01/init.c
@@ -24,7 +24,6 @@
#include <rtems/test.h>
#include <rtems.h>
-#define TESTS_USE_PRINTK
#include "tmacros.h"
const char rtems_test_name[] = "SMPLOCK 1";
diff --git a/testsuites/smptests/smpmrsp01/init.c b/testsuites/smptests/smpmrsp01/init.c
index 9da101e50a..92991c3f57 100644
--- a/testsuites/smptests/smpmrsp01/init.c
+++ b/testsuites/smptests/smpmrsp01/init.c
@@ -29,7 +29,6 @@
#include <rtems/score/smpbarrier.h>
#include <rtems/score/smplock.h>
-#define TESTS_USE_PRINTK
#include "tmacros.h"
const char rtems_test_name[] = "SMPMRSP 1";
diff --git a/testsuites/sptests/sperror01/init.c b/testsuites/sptests/sperror01/init.c
index 4b0eb9f0a6..3f7bd6a490 100644
--- a/testsuites/sptests/sperror01/init.c
+++ b/testsuites/sptests/sperror01/init.c
@@ -13,7 +13,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include <tmacros.h>
#include "test_support.h"
diff --git a/testsuites/sptests/sperror02/init.c b/testsuites/sptests/sperror02/init.c
index bb82b1d069..0c4c9f447d 100644
--- a/testsuites/sptests/sperror02/init.c
+++ b/testsuites/sptests/sperror02/init.c
@@ -13,7 +13,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include <tmacros.h>
#include "test_support.h"
diff --git a/testsuites/sptests/sperror03/init.c b/testsuites/sptests/sperror03/init.c
index 4e5a311132..48c0ae6e78 100644
--- a/testsuites/sptests/sperror03/init.c
+++ b/testsuites/sptests/sperror03/init.c
@@ -13,7 +13,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include "test_support.h"
diff --git a/testsuites/sptests/spextensions01/init.c b/testsuites/sptests/spextensions01/init.c
index e94419f9e9..377e4c3985 100644
--- a/testsuites/sptests/spextensions01/init.c
+++ b/testsuites/sptests/spextensions01/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <assert.h>
diff --git a/testsuites/sptests/spfatal26/init.c b/testsuites/sptests/spfatal26/init.c
index ebfdb0bce9..ade4f0e173 100644
--- a/testsuites/sptests/spfatal26/init.c
+++ b/testsuites/sptests/spfatal26/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <limits.h>
diff --git a/testsuites/sptests/spfatal30/init.c b/testsuites/sptests/spfatal30/init.c
index d6b87da223..9cf50a38a9 100644
--- a/testsuites/sptests/spfatal30/init.c
+++ b/testsuites/sptests/spfatal30/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/sptests/spfatal31/init.c b/testsuites/sptests/spfatal31/init.c
index e276205e20..0dce6719b1 100644
--- a/testsuites/sptests/spfatal31/init.c
+++ b/testsuites/sptests/spfatal31/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/sptests/spfatal_support/system.h b/testsuites/sptests/spfatal_support/system.h
index ee32428352..e0ffc7315f 100644
--- a/testsuites/sptests/spfatal_support/system.h
+++ b/testsuites/sptests/spfatal_support/system.h
@@ -15,7 +15,6 @@
* Some of the fatal error cases require the ability to peek inside RTEMS
*/
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/sptests/spglobalcon01/init.cc b/testsuites/sptests/spglobalcon01/init.cc
index 47af2c4349..4ef3077b9f 100644
--- a/testsuites/sptests/spglobalcon01/init.cc
+++ b/testsuites/sptests/spglobalcon01/init.cc
@@ -16,7 +16,6 @@
#include "config.h"
#endif
-#define TESTS_USE_PRINTK
#include "tmacros.h"
const char rtems_test_name[] = "SPGLOBALCON 1";
diff --git a/testsuites/sptests/spinternalerror01/init.c b/testsuites/sptests/spinternalerror01/init.c
index 5dc587aaff..230e4cd699 100644
--- a/testsuites/sptests/spinternalerror01/init.c
+++ b/testsuites/sptests/spinternalerror01/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <bsp.h>
diff --git a/testsuites/sptests/spprintk/init.c b/testsuites/sptests/spprintk/init.c
index 52f0ccdada..637ffe9d57 100644
--- a/testsuites/sptests/spprintk/init.c
+++ b/testsuites/sptests/spprintk/init.c
@@ -24,7 +24,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include <rtems/bspIo.h>
#include <tmacros.h>
diff --git a/testsuites/sptests/spsysinit01/init.c b/testsuites/sptests/spsysinit01/init.c
index 80b5065c06..337740dc28 100644
--- a/testsuites/sptests/spsysinit01/init.c
+++ b/testsuites/sptests/spsysinit01/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <sys/types.h>
diff --git a/testsuites/sptests/sptimecounter01/init.c b/testsuites/sptests/sptimecounter01/init.c
index d5e7e7a73c..7c5274b91c 100644
--- a/testsuites/sptests/sptimecounter01/init.c
+++ b/testsuites/sptests/sptimecounter01/init.c
@@ -18,7 +18,6 @@
#define TEST_INIT
-#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <assert.h>