summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include/tmacros.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-26 13:59:09 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-28 13:33:55 +0200
commit7e1029158ed6f11e36341a57fed07fa3014068da (patch)
treed0be64ad00c2076845354aa33a27e915c9fbdc00 /testsuites/support/include/tmacros.h
parenttests: Use rtems_print_printer_fprintf_putc() (diff)
downloadrtems-7e1029158ed6f11e36341a57fed07fa3014068da.tar.bz2
tests: Use rtems_test_printer in general
Update #3170. Update #3199.
Diffstat (limited to 'testsuites/support/include/tmacros.h')
-rw-r--r--testsuites/support/include/tmacros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h
index e0418663b5..86dceb9e00 100644
--- a/testsuites/support/include/tmacros.h
+++ b/testsuites/support/include/tmacros.h
@@ -60,7 +60,7 @@ extern "C" {
&& (((!_Thread_Dispatch_is_enabled()) == false && (_expect) != 0) \
|| ((!_Thread_Dispatch_is_enabled()) && (_expect) == 0)) \
) { \
- printk( \
+ printf( \
"\n_Thread_Dispatch_disable_level is (%i)" \
" not %d detected at %s:%d\n", \
!_Thread_Dispatch_is_enabled(), (_expect), __FILE__, __LINE__ ); \
@@ -77,7 +77,7 @@ extern "C" {
#define check_if_allocator_mutex_is_not_owned() \
do { \
if ( _RTEMS_Allocator_is_owner() ) { \
- printk( \
+ printf( \
"\nRTEMS Allocator Mutex is owned by executing thread " \
"and should not be.\n" \
"Detected at %s:%d\n", \