From 2fd6e85bca9c4183291beebef8a607549ee67899 Mon Sep 17 00:00:00 2001 From: catch <catch56@gmail.com> Date: Fri, 28 Oct 2022 11:56:41 +0100 Subject: [PATCH] Issue #3317504 by Wim Leers, penyaskito: run-tests.sh claims to support running a particular test method, but does not (cherry picked from commit 05e6abf5cc1ba336c9c5afb163485dd47db34a09) --- core/scripts/run-tests.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index 57f48f90a929..c51b8869f109 100755 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -170,8 +170,8 @@ // Ensure all test locks are released once finished. If tests are run with a // concurrency of 1 the each test will clean up its own lock. Test locks are -// not released if using a higher concurrency to ensure each test method has -// unique fixtures. +// not released if using a higher concurrency to ensure each test has unique +// fixtures. TestDatabase::releaseAllTestLocks(); // Display results before database is cleared. @@ -273,9 +273,6 @@ function simpletest_script_help() { (e.g., 'node') --class Run tests identified by specific class names, instead of group names. - A specific test method can be added, for example, - 'Drupal\book\Tests\BookTest::testBookExport'. This argument must - be last on the command line. --file Run tests identified by specific file names, instead of group names. Specify the path and the extension -- GitLab