You are here

selftest.sh in Realistic Dummy Content 7.2

#/bin/bash
#
# Self-tests.
#
set -e

./exec.sh drupal7 'drush eval "realistic_dummy_content_api_selftest()"'
./exec.sh drupal7 \
  "drush en -y simpletest && \
  php ./scripts/run-tests.sh \
    --class \
    --url http://localhost \
    --verbose \
    RealisticDummyContentDatabaseTestCase"

./exec.sh drupal7 'drush generate-realistic'
./exec.sh drupal7 'drush dis -y comment && drush generate-realistic'

./exec.sh drupal7 'drush -y dis realistic_dummy_content'
./exec.sh drupal7 'drush -y dis realistic_dummy_content_api'
./exec.sh drupal7 'drush -y pm-uninstall realistic_dummy_content'
./exec.sh drupal7 'drush -y pm-uninstall realistic_dummy_content_api'

File

developer/frameworks/drupal7/selftest.sh
View source
  1. #/bin/bash
  2. #
  3. # Self-tests.
  4. #
  5. set -e
  6. ./exec.sh drupal7 'drush eval "realistic_dummy_content_api_selftest()"'
  7. ./exec.sh drupal7 \
  8. "drush en -y simpletest && \
  9. php ./scripts/run-tests.sh \
  10. --class \
  11. --url http://localhost \
  12. --verbose \
  13. RealisticDummyContentDatabaseTestCase"
  14. ./exec.sh drupal7 'drush generate-realistic'
  15. ./exec.sh drupal7 'drush dis -y comment && drush generate-realistic'
  16. ./exec.sh drupal7 'drush -y dis realistic_dummy_content'
  17. ./exec.sh drupal7 'drush -y dis realistic_dummy_content_api'
  18. ./exec.sh drupal7 'drush -y pm-uninstall realistic_dummy_content'
  19. ./exec.sh drupal7 'drush -y pm-uninstall realistic_dummy_content_api'