diff options
Diffstat (limited to 'src/usr/testcore')
-rw-r--r-- | src/usr/testcore/rtloader/loader.H | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/usr/testcore/rtloader/loader.H b/src/usr/testcore/rtloader/loader.H index aec064494..006647811 100644 --- a/src/usr/testcore/rtloader/loader.H +++ b/src/usr/testcore/rtloader/loader.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2015 */ +/* Contributors Listed Below - COPYRIGHT 2013,2016 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -212,6 +212,15 @@ class RuntimeLoaderTest : public CxxTest::TestSuite *data64 = 0; } + // Fail on these addresses + // On real HW they would cause an error + // The test that sends these expects an error + if( addr == 0x11223344 || + addr == 0x22334455 ) + { + rc = 1; + } + return rc; } @@ -231,6 +240,15 @@ class RuntimeLoaderTest : public CxxTest::TestSuite SCOM_KEY scomKey(chipid,addr); cv_scomMap[scomKey] = *data64; + // Fail on these addresses + // On real HW they would cause an error + // The test that sends these expects an error + if( addr == 0x11223344 || + addr == 0x22334455 ) + { + rc = 1; + } + return rc; } |