Skip to content

Commit

Permalink
Split kdump and fadump test suites to run separately
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin P Bappalige <[email protected]>
  • Loading branch information
Sachin P Bappalige committed Apr 15, 2024
1 parent 32a6d28 commit 4d41b83
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions op-test
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,43 @@ class OSdumpSuite():
def suite(self):
return self.s

class OSdumpkdumpSuite():
'''Crash Test Suite which Verify operating System Crash Dump Functionality'''
def __init__(self):
self.s = unittest.TestSuite()
self.s.addTest(PowerNVDump.KernelCrash_OnlyKdumpEnable())
if 'dev_path' in OpTestConfiguration.conf.args:
self.s.addTest(PowerNVDump.KernelCrash_KdumpSAN())
self.s.addTest(PowerNVDump.KernelCrash_KdumpDLPAR())
self.s.addTest(PowerNVDump.KernelCrash_KdumpWorkLoad())
self.s.addTest(PowerNVDump.KernelCrash_hugepage_checks())
self.s.addTest(PowerNVDump.KernelCrash_XIVE_off())
self.s.addTest(PowerNVDump.KernelCrash_disable_radix())
self.s.addTest(PowerNVDump.OpTestMakedump())
self.s.addTest(PowerNVDump.KernelCrash_KdumpSSH())
self.s.addTest(PowerNVDump.KernelCrash_KdumpNFS())

def suite(self):
return self.s

class OSdumpfadumpSuite():
'''Crash Test Suite which Verify operating System Crash Dump Functionality'''
def __init__(self):
self.s = unittest.TestSuite()
self.s.addTest(PowerNVDump.KernelCrash_FadumpEnable())
self.s.addTest(PowerNVDump.OpTestMakedump())
self.s.addTest(PowerNVDump.KernelCrash_KdumpDLPAR())
self.s.addTest(PowerNVDump.KernelCrash_KdumpWorkLoad())
self.s.addTest(PowerNVDump.KernelCrash_hugepage_checks())
self.s.addTest(PowerNVDump.KernelCrash_XIVE_off())
self.s.addTest(PowerNVDump.KernelCrash_disable_radix())
self.s.addTest(PowerNVDump.KernelCrash_FadumpNocma())
self.s.addTest(PowerNVDump.KernelCrash_KdumpSSH())
self.s.addTest(PowerNVDump.KernelCrash_KdumpNFS())

def suite(self):
return self.s

class OSdumpsanitySuite():
'''Test Suite which runs kdump and fadump basic sanity tests'''
def __init__(self):
Expand Down Expand Up @@ -942,6 +979,8 @@ suites = {
'opencapi': OpenCAPISuite(),
'crash-suite': CrashSuite(),
'osdump-suite': OSdumpSuite(),
'osdumpkdumpsuite': OSdumpkdumpSuite(),
'osdumpfadumpsuite': OSdumpfadumpSuite(),
'osdumpsanitysuite': OSdumpsanitySuite(),
'dlpario-suite': DlparIOSuite(),
'lpm-suite': LPMSuite(),
Expand Down

0 comments on commit 4d41b83

Please sign in to comment.