From: Jouni Malinen Date: Mon, 30 Nov 2015 17:42:56 +0000 (+0200) Subject: tests: Show vm-run.sh command line for re-running failure sequences X-Git-Tag: hostap_2_6~1257 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45e8a45bb52c8109a5554a2c83665a34c0cf3562;p=thirdparty%2Fhostap.git tests: Show vm-run.sh command line for re-running failure sequences 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 " 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 --- diff --git a/tests/hwsim/vm/parallel-vm.py b/tests/hwsim/vm/parallel-vm.py index e40d44fba..0f175b184 100755 --- a/tests/hwsim/vm/parallel-vm.py +++ b/tests/hwsim/vm/parallel-vm.py @@ -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']: