summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/test/hwpftest.H
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2011-07-07 17:11:24 -0500
committerMIKE J. JONES <mjjones@us.ibm.com>2011-07-14 10:18:09 -0500
commitb9558dcb65612b60a20719ea489dadda4776e1e4 (patch)
treed0f074f95d473fdaa5ebc29dfae27b21770a9f32 /src/usr/hwpf/test/hwpftest.H
parent038a9a46895333b86da8ca83c8effd29ff3e76e9 (diff)
downloadtalos-hostboot-b9558dcb65612b60a20719ea489dadda4776e1e4.tar.gz
talos-hostboot-b9558dcb65612b60a20719ea489dadda4776e1e4.zip
HW Procedure Compile Support
- New .tcl scripts to be used to do the compiling - New hw procedure function for hw procedure writers to overload for their testing Change-Id: I90af3f4d7aea07f63ec7f52daf224070c944ccee Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/190 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/test/hwpftest.H')
-rw-r--r--src/usr/hwpf/test/hwpftest.H15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/usr/hwpf/test/hwpftest.H b/src/usr/hwpf/test/hwpftest.H
index fa9a1c555..2bfd6734d 100644
--- a/src/usr/hwpf/test/hwpftest.H
+++ b/src/usr/hwpf/test/hwpftest.H
@@ -70,7 +70,7 @@ public:
l_err = invokeHwpIsP7EM0ChipletClockOn(l_testTarget, l_clocksOn);
if (l_err)
{
- TS_FAIL("testHwpf2: Unit Test failed. HWP failed. Error logged");
+ TS_FAIL("testHwpf2: Unit Test failed. invokeHwpIsP7EM0ChipletClockOn failed. Error logged");
// Commit/delete error
errlCommit(l_err);
}
@@ -86,6 +86,19 @@ public:
}
}
+ // Call test procedure too
+ l_err = invokeHwpInitialTest(l_testTarget);
+ if (l_err)
+ {
+ TS_FAIL("testHwpf2: Unit Test failed. invokeHwpInitialTest failed. Error logged");
+ // Commit/delete error
+ errlCommit(l_err);
+ }
+ else
+ {
+ TS_TRACE("testHwpf2: Unit test passed! invokeHwpInitialTest");
+ }
+
return;
}
OpenPOWER on IntegriCloud