Recently, I tried to run some tests locally and the test runner kept silently failing. Ultimately, it was just giving up during bootstrap. The problem was eventually traced to Acquia’s frustrating modification of the settings.php file; it only loads when $_SERVER['DEVDESKTOP_DRUPAL_SETTINGS_DIR'] is defined.
So in order to make it run, you’ll need to:
- Define
DEVDESKTOP_DRUPAL_SETTINGS_DIRin your CLI environment or: - Modify
run-tests.shto populate that value in$_SERVERbefore bootstrapping Drupal:
Then the test runner will actually do something useful.