Gizra / drupal-elm-starter

DEPRECATED - See https://github.com/Gizra/drupal-starter
33 stars 9 forks source link

Unknown argument on run-tests.sh #206

Closed amitaibu closed 5 years ago

amitaibu commented 5 years ago

https://github.com/Gizra/drupal-elm-starter/blob/c0cdf1f7b9dbde834669d9d90cfb2c4a9377a9cd/ci-scripts/test_simpletest.sh#L15

cache and cache-modules, don't seem to be valid arguments:

php ./scripts/run-tests.sh --help

Run Drupal tests from the shell.

Usage:        run-tests.sh [OPTIONS] <tests>
Example:      run-tests.sh Profile

All arguments are long options.

  --help      Print this page.

  --list      Display all available test groups.

  --clean     Cleans up database tables or directories from previous, failed,
              tests and then exits (no tests are run).

  --url       Immediately precedes a URL to set the host and path. You will
              need this parameter if Drupal is in a subdirectory on your
              localhost and you have not set $base_url in settings.php. Tests
              can be run under SSL by including https:// in the URL.

  --php       The absolute path to the PHP executable. Usually not needed.

  --concurrency [num]

              Run tests in parallel, up to [num] tests at a time.

  --all       Run all available tests.

  --class     Run tests identified by specific class names, instead of group names.

  --file      Run tests identified by specific file names, instead of group names.
              Specify the path and the extension (i.e. 'modules/user/user.test').

  --directory Run all tests found within the specified file directory.

  --xml       <path>

              If provided, test results will be written as xml files to this path.

  --color     Output text format results with color highlighting.

  --verbose   Output detailed assertion messages in addition to summary.

  <test1>[,<test2>[,<test3> ...]]

              One or more tests to be run. By default, these are interpreted
              as the names of test groups as shown at
              ?q=admin/config/development/testing.
              These group names typically correspond to module names like "User"
              or "Profile" or "System", but there is also a group "XML-RPC".
              If --class is specified then these are interpreted as the names of
              specific test classes whose test methods will be run. Tests must
              be separated by commas. Ignored if --all is specified.
AronNovak commented 5 years ago

@amitaibu https://www.drupal.org/files/issues/d7_improve-2759197-40.patch - this is the patch what introduces it.

amitaibu commented 5 years ago

Oh, thanks - I probably should have ./install -ly before reporting. Thanks.