about summary refs log tree commit diff stats
path: root/test/arch/x86/unit/mn_punpck.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/arch/x86/unit/mn_punpck.py')
-rw-r--r--test/arch/x86/unit/mn_punpck.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/arch/x86/unit/mn_punpck.py b/test/arch/x86/unit/mn_punpck.py
index 8b655aa0..f6a4772e 100644
--- a/test/arch/x86/unit/mn_punpck.py
+++ b/test/arch/x86/unit/mn_punpck.py
@@ -1,7 +1,8 @@
 #! /usr/bin/env python
-from asm_test import Asm_Test_32
 import sys
 
+from asm_test import Asm_Test_32
+
 class Test_PUNPCKHBW(Asm_Test_32):
     TXT = '''
     main:
@@ -120,5 +121,5 @@ class Test_PUNPCKLDQ(Asm_Test_32):
         assert self.myjit.cpu.MM1 == 0xEEFF020155667788
 
 if __name__ == "__main__":
-    [test()() for test in [Test_PUNPCKHBW, Test_PUNPCKHWD, Test_PUNPCKHDQ,
-                           Test_PUNPCKLBW, Test_PUNPCKLWD, Test_PUNPCKLDQ,]]
+    [test(*sys.argv[1:])() for test in [Test_PUNPCKHBW, Test_PUNPCKHWD, Test_PUNPCKHDQ,
+                                        Test_PUNPCKLBW, Test_PUNPCKLWD, Test_PUNPCKLDQ,]]