summaryrefslogtreecommitdiffstats
path: root/src/usr/diag
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag')
-rw-r--r--src/usr/diag/prdf/test/prdfTest.H22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/usr/diag/prdf/test/prdfTest.H b/src/usr/diag/prdf/test/prdfTest.H
index 9ae5b5a46..8d8166ff2 100644
--- a/src/usr/diag/prdf/test/prdfTest.H
+++ b/src/usr/diag/prdf/test/prdfTest.H
@@ -43,9 +43,9 @@ class prdfTest: public CxxTest::TestSuite
void testTrace(void)
{
- TS_TRACE(ENTER_MRK __FUNCTION__);
+ TS_TRACE(ENTER_MRK "testTrace()");
- PRDF_ENTER( "%s", __FUNCTION__ );
+ PRDF_ENTER( "testTrace()" );
const char * l_testStr = "running testTrace";
uint64_t l_testHex = 0xDEADBEEF;
@@ -58,21 +58,21 @@ class prdfTest: public CxxTest::TestSuite
PRDF_ERR( "testTrace() Please ignore this error trace 0x%08X", l_testHex );
- PRDF_EXIT( "%s", __FUNCTION__ );
-
PRDF_DENTER( "testTrace()" );
PRDF_DINF( "testTrace() running testTrace" );
PRDF_DEXIT( "testTrace()" );
- TS_TRACE(EXIT_MRK __FUNCTION__);
+ PRDF_EXIT( "testTrace()" );
+
+ TS_TRACE(EXIT_MRK "testTrace()");
}
void testPrdInitialize(void)
{
using namespace PRDF;
- TS_TRACE(ENTER_MRK __FUNCTION__);
+ TS_TRACE(ENTER_MRK "testPrdInitialize()");
PRDF_ENTER( "testPrdInitialize()" );
errlHndl_t l_pErr = NULL;
@@ -91,13 +91,13 @@ class prdfTest: public CxxTest::TestSuite
}
PRDF_EXIT( "testPrdInitialize()" );
- TS_TRACE(EXIT_MRK __FUNCTION__);
+ TS_TRACE(EXIT_MRK "testPrdInitialize()");
}
void testPrdMain(void)
{
using namespace PRDF;
- TS_TRACE(ENTER_MRK __FUNCTION__);
+ TS_TRACE(ENTER_MRK "testPrdMain()");
PRDF_ENTER( "testPrdMain()" );
errlHndl_t l_pErr = NULL;
@@ -116,19 +116,19 @@ class prdfTest: public CxxTest::TestSuite
}
PRDF_EXIT( "testPrdMain()" );
- TS_TRACE(EXIT_MRK __FUNCTION__);
+ TS_TRACE(EXIT_MRK "testPrdMain()");
}
void testPrdIplCleanup(void)
{
using namespace PRDF;
- TS_TRACE(ENTER_MRK __FUNCTION__);
+ TS_TRACE(ENTER_MRK "testPrdIplCleanup()");
PRDF_ENTER( "testPrdIplCleanup()" );
PrdIplCleanup();
PRDF_EXIT( "testPrdIplCleanup()" );
- TS_TRACE(EXIT_MRK __FUNCTION__);
+ TS_TRACE(EXIT_MRK "testPrdIplCleanup()");
}
};
OpenPOWER on IntegriCloud