11 # These tests utilize the run_hdl=False parameter to compare
12 # simulator with expected states
13 from openpower
.test
.runner
import TestRunnerBase
14 from openpower
.test
.alu
.svp64_cases
import SVP64ALUTestCase
17 if __name__
== "__main__":
19 # allow list of testing to be selected by command-line
20 testing
= sys
.argv
[1:]
21 sys
.argv
= sys
.argv
[:1]
24 testing
= ['svp64_alu']
26 unittest
.main(exit
=False)
27 suite
= unittest
.TestSuite()
29 # dictionary of data for tests
30 tests
= {'svp64_alu': SVP64ALUTestCase().test_data
}
32 # walk through all tests, those requested get added
33 for tname
, data
in tests
.items():
35 suite
.addTest(TestRunnerBase(data
))
37 runner
= unittest
.TextTestRunner()