|
40 | 40 | * making them easier to debug.
|
41 | 41 | */
|
42 | 42 | static bool dont_fork;
|
43 |
| -/* Don't fork the tests in parallel and wait for their completion. */ |
44 |
| -static bool sequential = true; |
| 43 | +/* Fork the tests in parallel and wait for their completion. */ |
| 44 | +static bool sequential; |
45 | 45 | const char *dso_to_test;
|
46 | 46 | const char *test_objdump_path = "objdump";
|
47 | 47 |
|
@@ -639,19 +639,12 @@ int cmd_test(int argc, const char **argv)
|
639 | 639 | const char *skip = NULL;
|
640 | 640 | const char *workload = NULL;
|
641 | 641 | bool list_workloads = false;
|
642 |
| - /* |
643 |
| - * Run tests in parallel, lacks infrastructure to avoid running tests |
644 |
| - * that clash for resources, So leave it as the developers choice to |
645 |
| - * enable while working on the needed infra. |
646 |
| - */ |
647 |
| - bool parallel = false; |
648 | 642 | const struct option test_options[] = {
|
649 | 643 | OPT_STRING('s', "skip", &skip, "tests", "tests to skip"),
|
650 | 644 | OPT_INCR('v', "verbose", &verbose,
|
651 | 645 | "be more verbose (show symbol address, etc)"),
|
652 | 646 | OPT_BOOLEAN('F', "dont-fork", &dont_fork,
|
653 | 647 | "Do not fork for testcase"),
|
654 |
| - OPT_BOOLEAN('p', "parallel", ¶llel, "Run the tests in parallel"), |
655 | 648 | OPT_BOOLEAN('S', "sequential", &sequential,
|
656 | 649 | "Run the tests one after another rather than in parallel"),
|
657 | 650 | OPT_STRING('w', "workload", &workload, "work", "workload to run for testing, use '--list-workloads' to list the available ones."),
|
@@ -688,8 +681,6 @@ int cmd_test(int argc, const char **argv)
|
688 | 681 |
|
689 | 682 | if (dont_fork)
|
690 | 683 | sequential = true;
|
691 |
| - else if (parallel) |
692 |
| - sequential = false; |
693 | 684 |
|
694 | 685 | symbol_conf.priv_size = sizeof(int);
|
695 | 686 | symbol_conf.try_vmlinux_path = true;
|
|
0 commit comments