Skip to content

Commit 49fa06e

Browse files
Print number of parallel workers used
1 parent 9db963b commit 49fa06e

42 files changed

Lines changed: 52 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/TextUI/Application.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,17 @@ private function writeRuntimeInformation(Printer $printer, Configuration $config
627627
$configuration->configurationFile(),
628628
);
629629
}
630+
631+
if ($configuration->numberOfParallelWorkers() > 1) {
632+
$this->writeMessage(
633+
$printer,
634+
'Parallel',
635+
sprintf(
636+
'%d workers',
637+
$configuration->numberOfParallelWorkers(),
638+
),
639+
);
640+
}
630641
}
631642

632643
/**

tests/end-to-end/parallel/auto/parallel-cli-option-auto.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ require_once __DIR__ . '/../../../bootstrap.php';
1616
PHPUnit %s by Sebastian Bergmann and contributors.
1717

1818
Runtime: %s
19+
Parallel: %d workers
1920

2021
.. 2 / 2 (100%)
2122

tests/end-to-end/parallel/bootstrap-for-test-suite.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
1515

1616
Runtime: %s
1717
Configuration: %s
18+
Parallel: 2 workers
1819

1920
.. 2 / 2 (100%)
2021

tests/end-to-end/parallel/crash-report/crash-report.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ require_once __DIR__ . '/../../../bootstrap.php';
1515
PHPUnit %s by Sebastian Bergmann and contributors.
1616

1717
Runtime: %s
18+
Parallel: 2 workers
1819

1920
.EE. 4 / 4 (100%)
2021

tests/end-to-end/parallel/crash-retry/crash-retry.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ require_once __DIR__ . '/../../../bootstrap.php';
2121
PHPUnit %s by Sebastian Bergmann and contributors.
2222

2323
Runtime: %s
24+
Parallel: 2 workers
2425

2526
.. 2 / 2 (100%)
2627

tests/end-to-end/parallel/cross-class-depends/cross-class-depends-failing.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ require_once __DIR__ . '/../../../bootstrap.php';
1515
PHPUnit %s by Sebastian Bergmann and contributors.
1616

1717
Runtime: %s
18+
Parallel: 2 workers
1819

1920
FS 2 / 2 (100%)
2021

tests/end-to-end/parallel/cross-class-depends/cross-class-depends.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ require_once __DIR__ . '/../../../bootstrap.php';
1515
PHPUnit %s by Sebastian Bergmann and contributors.
1616

1717
Runtime: %s
18+
Parallel: 2 workers
1819

1920
.. 2 / 2 (100%)
2021

tests/end-to-end/parallel/do-not-run-in-parallel/do-not-run-in-parallel.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ require_once __DIR__ . '/../../../bootstrap.php';
1515
PHPUnit %s by Sebastian Bergmann and contributors.
1616

1717
Runtime: %s
18+
Parallel: 2 workers
1819

1920
..... 5 / 5 (100%)
2021

tests/end-to-end/parallel/exclusivity/exclusivity.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ foreach ($intervalFiles as $intervalFile) {
6060
PHPUnit %s by Sebastian Bergmann and contributors.
6161

6262
Runtime: %s
63+
Parallel: 3 workers
6364

6465
.... 4 / 4 (100%)
6566

tests/end-to-end/parallel/non-serializable/non-serializable.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ require_once __DIR__ . '/../../../bootstrap.php';
1515
PHPUnit %s by Sebastian Bergmann and contributors.
1616

1717
Runtime: %s
18+
Parallel: 2 workers
1819

1920
.. 2 / 2 (100%)
2021

0 commit comments

Comments
 (0)