]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Show vm-run.sh command line for re-running failure sequences
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 30 Nov 2015 17:42:56 +0000 (19:42 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 30 Nov 2015 17:42:56 +0000 (19:42 +0200)
Now that vm-run.sh supports a long list of test cases without crashing
the VM kernel, there is no need to use the "parallel-vm.py -1 1 <tests>"
workaround. Print the re-run example commands with vm-run.sh instead. In
addition, add the --long argument if it was specified for the test run
to avoid skipping test cases in the re-run case.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/vm/parallel-vm.py

index e40d44fbad862d6a113b7b9cbba606e0bbd19d8a..0f175b184b84da21617f46953eb5ab879a672758 100755 (executable)
@@ -458,7 +458,9 @@ def main():
         for i in range(0, num_servers):
             if len(vm[i]['failed']) == 0:
                 continue
-            print "./parallel-vm.py -1 1",
+            print "./vm-run.sh",
+            if args.long:
+                print "--long",
             skip = len(vm[i]['fail_seq'])
             skip -= min(skip, 30)
             for t in vm[i]['fail_seq']: