mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
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 <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>
This commit is contained in:
parent
6a5f578cac
commit
45e8a45bb5
@ -458,7 +458,9 @@ def main():
|
|||||||
for i in range(0, num_servers):
|
for i in range(0, num_servers):
|
||||||
if len(vm[i]['failed']) == 0:
|
if len(vm[i]['failed']) == 0:
|
||||||
continue
|
continue
|
||||||
print "./parallel-vm.py -1 1",
|
print "./vm-run.sh",
|
||||||
|
if args.long:
|
||||||
|
print "--long",
|
||||||
skip = len(vm[i]['fail_seq'])
|
skip = len(vm[i]['fail_seq'])
|
||||||
skip -= min(skip, 30)
|
skip -= min(skip, 30)
|
||||||
for t in vm[i]['fail_seq']:
|
for t in vm[i]['fail_seq']:
|
||||||
|
Loading…
Reference in New Issue
Block a user