add gpr lookup in Indexed SVSHAPE iterator (no elwidths yet)
[openpower-isa.git] / src / openpower / decoder / isa / test_caller_shift_rot.py
index 09b673338beab8b941e94f7e00e4b59ec7b36010..04a0e4a94db3dbb75d088aa7af8ef55514dffb97 100644 (file)
@@ -11,22 +11,23 @@ import sys
 # These tests utilize the run_hdl=False parameter to compare
 # simulator with expected states
 from soc.simple.test.test_runner import TestRunner
-from openpower.decoder.isa.shift_rot_cases import ShiftRotTestCase
+from openpower.test.shift_rot.shift_rot_cases2 import ShiftRotTestCase2
 
 
 if __name__ == "__main__":
 
     # allow list of testing to be selected by command-line
     testing = sys.argv[1:]
+    sys.argv = sys.argv[:1]
 
     if not testing:
-        testing = ['shiftrot']
+        testing = ['shiftrot2']
 
     unittest.main(exit=False)
     suite = unittest.TestSuite()
 
     # dictionary  of data for tests
-    tests = {'shiftrot': ShiftRotTestCase().test_data}
+    tests = {'shiftrot2': ShiftRotTestCase2().test_data}
 
     # walk through all tests, those requested get added
     for tname, data in tests.items():