[rtems commit] tests: Remove obsolete TESTS_USE_PRINTK
Sebastian Huber
sebh at rtems.org
Sat Oct 28 12:08:55 UTC 2017
Module: rtems
Branch: master
Commit: acc9d064682f79ffb77e0f1c0d1cace29f087672
Changeset: http://git.rtems.org/rtems/commit/?id=acc9d064682f79ffb77e0f1c0d1cace29f087672
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Oct 26 13:59:10 2017 +0200
tests: Remove obsolete TESTS_USE_PRINTK
Update #3170.
Update #3199.
---
testsuites/fstests/fsimfsconfig01/init.c | 1 -
testsuites/fstests/fsimfsconfig03/init.c | 1 -
testsuites/fstests/fsnofs01/init.c | 1 -
testsuites/libtests/block02/init.c | 1 -
testsuites/libtests/block03/init.c | 1 -
testsuites/libtests/block04/init.c | 1 -
testsuites/libtests/block05/init.c | 1 -
testsuites/libtests/block09/init.c | 1 -
testsuites/libtests/devfs01/init.c | 1 -
testsuites/libtests/devfs02/init.c | 1 -
testsuites/libtests/devfs04/init.c | 1 -
testsuites/libtests/devnullfatal01/testcase.h | 4 ----
testsuites/libtests/exit01/init.c | 1 -
testsuites/libtests/exit02/init.c | 1 -
testsuites/libtests/stackchk/system.h | 1 -
testsuites/psxtests/psxdevctl01/test.c | 1 -
testsuites/psxtests/psxfatal_support/init.c | 1 -
testsuites/psxtests/psxspin01/test.c | 1 -
testsuites/smptests/smpfatal01/init.c | 1 -
testsuites/smptests/smpfatal02/init.c | 1 -
testsuites/smptests/smpfatal03/init.c | 1 -
testsuites/smptests/smpfatal04/init.c | 1 -
testsuites/smptests/smpfatal05/init.c | 1 -
testsuites/smptests/smpfatal06/init.c | 1 -
testsuites/smptests/smpfatal08/init.c | 1 -
testsuites/smptests/smplock01/init.c | 1 -
testsuites/smptests/smpmrsp01/init.c | 1 -
testsuites/sptests/sperror01/init.c | 1 -
testsuites/sptests/sperror02/init.c | 1 -
testsuites/sptests/sperror03/init.c | 1 -
testsuites/sptests/spextensions01/init.c | 1 -
testsuites/sptests/spfatal26/init.c | 1 -
testsuites/sptests/spfatal30/init.c | 1 -
testsuites/sptests/spfatal31/init.c | 1 -
testsuites/sptests/spfatal_support/system.h | 1 -
testsuites/sptests/spglobalcon01/init.cc | 1 -
testsuites/sptests/spinternalerror01/init.c | 1 -
testsuites/sptests/spprintk/init.c | 1 -
testsuites/sptests/spsysinit01/init.c | 1 -
testsuites/sptests/sptimecounter01/init.c | 1 -
40 files changed, 43 deletions(-)
diff --git a/testsuites/fstests/fsimfsconfig01/init.c b/testsuites/fstests/fsimfsconfig01/init.c
index 57fd63c..ed0e804 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 311c5bb..47f1fef 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 603a906..623f6bc 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 3523c5d..361475d 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 ea82421..3a5e110 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 d9748df..cf39ea9 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 80e3641..4003c34 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 3ad283e..ca6efd2 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 66e702f..c727cb3 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 7404072..16121a5 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 96b68df..1c3ea05 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 fb8a786..b97b7d0 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 3592644..75da2df 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 2aa3f33..95eba4f 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 225a5d3..32e232a 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 423e8c5..0fe9d94 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 50e3abb..7943497 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 33153ad..e27db73 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 68ba68c..e225aa4 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 0b24245..b6a538f 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 8121fd2..0030afe 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 93d6bf1..0b76f81 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 b07c986..431b7b1 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 94e6cf7..f99cdd5 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 f4adc32..f641278 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 38a3d0a..e8e22c6 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 9da101e..92991c3 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 4b0eb9f..3f7bd6a 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 bb82b1d..0c4c9f4 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 4e5a311..48c0ae6 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 e94419f..377e4c3 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 ebfdb0b..ade4f0e 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 d6b87da..9cf50a3 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 e276205..0dce671 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 ee32428..e0ffc73 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 47af2c4..4ef3077 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 5dc587a..230e4cd 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 52f0ccd..637ffe9 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 80b5065..337740d 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 d5e7e7a..7c5274b 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>
More information about the vc
mailing list