diff options
Diffstat (limited to 'src/usr/diag/attn/runtime/test/attntest_rt.H')
-rw-r--r-- | src/usr/diag/attn/runtime/test/attntest_rt.H | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/usr/diag/attn/runtime/test/attntest_rt.H b/src/usr/diag/attn/runtime/test/attntest_rt.H index 84731ec22..b86c0a0a7 100644 --- a/src/usr/diag/attn/runtime/test/attntest_rt.H +++ b/src/usr/diag/attn/runtime/test/attntest_rt.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014 */ +/* Contributors Listed Below - COPYRIGHT 2014,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -76,6 +76,17 @@ class AttnTestRT: public CxxTest::TestSuite ATTN_SLOW("handle_attns returned rc: %d", rc); } + if (NULL == rt_intf->get_ipoll_events) + { + TS_FAIL("AttnTestRT: get_ipoll_events not set"); + } + else + { + // just pass in some params for now + uint64_t l_bits = rt_intf->get_ipoll_events(); + ATTN_SLOW("get_ipoll_events returned: %llx", l_bits); + } + ATTN_SLOW(EXIT_MRK"AttnTestRT::testAttnRtIntf"); } |