From 535bbdeb6fdc13f5cdaea611fa2d547419f3b3f3 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 13 Aug 2014 17:12:45 -0700 Subject: [PATCH] tools/scripts/runTests.sh.txt - Remove old svn/biryani script --- tools/scripts/runTests.sh.txt | 180 ---------------------------------- 1 file changed, 180 deletions(-) delete mode 100755 tools/scripts/runTests.sh.txt diff --git a/tools/scripts/runTests.sh.txt b/tools/scripts/runTests.sh.txt deleted file mode 100755 index dadf2a46da..0000000000 --- a/tools/scripts/runTests.sh.txt +++ /dev/null @@ -1,180 +0,0 @@ -#!/bin/bash - -SELF=$(cd $(dirname $0); pwd -P)/$(basename $0) - -case $1 in - - stable-3.4) - - echo - echo §§§§§§§§§§§§§§§§§§§§ EXECUTING TESTS FOR STABLE - echo - - echo - echo §§§§§§§§§§§§§§§§§§§§ Updating Selenium tests repository - echo - cd /var/www/drupal6.dev.civicrm.org/public/sites/devel.drupal6.tests.dev.civicrm.org/modules/civicrm/ - find . -name *~ -delete - svn up - echo §§§§§§§§§§§§§§§§§§§§ ...done. - - echo - echo §§§§§§§§§§§§§§§§§§§§ Resetting Selenium tests database and template files - echo - rm -rf /tmp/templates_c/ - cd /var/www/drupal6.dev.civicrm.org/public/sites/devel.drupal6.tests.dev.civicrm.org/modules/civicrm/bin - ./setup.sh - rm -rf /var/www/drupal6.dev.civicrm.org/public/sites/devel.drupal6.tests.dev.civicrm.org/files/civicrm/ - chmod -R 777 /var/www/drupal6.dev.civicrm.org/public/sites/devel.drupal6.tests.dev.civicrm.org/files/ - - echo §§§§§§§§§§§§§§§§§§§§ ...done. - echo - - CODE_DIR="/home/tests/stable-suite" - - echo - echo §§§§§§§§§§§§§§§§§§§§ Running test suite - echo - - rm -rf /tmp/templates_c/ - - for testName in api_v2 api_v3 CRM WebTest; do - cd $CODE_DIR/tools - scripts/phpunit --tap --log-junit tests/reports/logfile.$testName.xml -u tests -ptests -h localhost ${testName}_AllTests - cd $CODE_DIR/tools/scripts/ - - echo - echo §§§§§§§§§§§§§§§§§§§§ Generating test results. - echo - phing $testName - echo §§§§§§§§§§§§§§§§§§§§ All finished. - done - - ;; - - stable) - - echo - echo §§§§§§§§§§§§§§§§§§§§ EXECUTING TESTS FOR TRUNK - echo - - echo - echo §§§§§§§§§§§§§§§§§§§§ Updating test suite repository - echo - cd /var/www/drupal7.dev.civicrm.org/public/sites/stable.drupal7.tests.dev.civicrm.org/modules/civicrm/ - find . -name *~ -delete - svn up - echo §§§§§§§§§§§§§§§§§§§§ ...done. - - echo - echo §§§§§§§§§§§§§§§§§§§§ Resetting Selenium tests database and template files - echo - rm -rf /tmp/templates_c/ - cd /var/www/drupal7.dev.civicrm.org/public/sites/stable.drupal7.tests.dev.civicrm.org/modules/civicrm/bin - ./setup.sh - - echo §§§§§§§§§§§§§§§§§§§§ ...done. - - rm -rf /var/www/drupal7.dev.civicrm.org/public/sites/stable.drupal7.tests.dev.civicrm.org/files/civicrm/ - chmod -R 777 /var/www/drupal7.dev.civicrm.org/public/sites/stable.drupal7.tests.dev.civicrm.org/files/ - - CODE_DIR="/home/tests/stable-suite" - - echo - echo §§§§§§§§§§§§§§§§§§§§ Running test suite - echo - -# for testName in api_v3; do -# for testName in WebTest; do -# for testName in api_v3 CRM; do - for testName in api_v3 CRM WebTest; do -# for testName in CRM; do - cd $CODE_DIR/tools - - rm -rf /tmp/templates_c/ - - #reset the db before running webtest - if [ $testName == WebTest ] ; then - echo - echo ============== reloading db for Webtest =============================== - echo - /var/www/drupal7.dev.civicrm.org/public/sites/stable.drupal7.tests.dev.civicrm.org/modules/civicrm/bin/setup.sh - fi - - scripts/phpunit --tap --log-junit tests/reports/logfile.$testName.xml -u tests -ptests -bstable_drupal7_tests_dev_civicrm -h localhost ${testName}_AllTests - cd $CODE_DIR/tools/scripts/ - - echo - echo §§§§§§§§§§§§§§§§§§§§ Generating test results. - echo - phing $testName - echo §§§§§§§§§§§§§§§§§§§§ All finished. - done - - ;; - - trunk) - - echo - echo §§§§§§§§§§§§§§§§§§§§ EXECUTING TESTS FOR TRUNK - echo - - echo - echo §§§§§§§§§§§§§§§§§§§§ Updating test suite repository - echo - cd /var/www/drupal7.dev.civicrm.org/public/sites/devel.drupal7.tests.dev.civicrm.org/modules/civicrm/ - find . -name *~ -delete - svn up - echo §§§§§§§§§§§§§§§§§§§§ ...done. - - echo - echo §§§§§§§§§§§§§§§§§§§§ Resetting Selenium tests database and template files - echo - rm -rf /tmp/templates_c/ - cd /var/www/drupal7.dev.civicrm.org/public/sites/devel.drupal7.tests.dev.civicrm.org/modules/civicrm/bin - ./setup.sh - - echo §§§§§§§§§§§§§§§§§§§§ ...done. - - rm -rf /var/www/drupal7.dev.civicrm.org/public/sites/devel.drupal7.tests.dev.civicrm.org/files/civicrm/ - chmod -R 777 /var/www/drupal7.dev.civicrm.org/public/sites/devel.drupal7.tests.dev.civicrm.org/files/ - - CODE_DIR="/home/tests/devel-suite" - - echo - echo §§§§§§§§§§§§§§§§§§§§ Running test suite - echo - -# for testName in api_v3; do -# for testName in WebTest; do -# for testName in api_v2 api_v3 CRM; do - for testName in api_v3 CRM WebTest; do -# for testName in CRM; do - cd $CODE_DIR/tools - - rm -rf /tmp/templates_c/ - - #reset the db before running webtest - if [ $testName == WebTest ] ; then - echo - echo ============== reloading db for Webtest =============================== - echo - /var/www/drupal7.dev.civicrm.org/public/sites/devel.drupal7.tests.dev.civicrm.org/modules/civicrm/bin/setup.sh - fi - - scripts/phpunit --tap --log-junit tests/reports/logfile.$testName.xml -u tests -ptests -bdevel_drupal7_tests_dev_civicrm -h localhost ${testName}_AllTests - cd $CODE_DIR/tools/scripts/ - - echo - echo §§§§§§§§§§§§§§§§§§§§ Generating test results. - echo - phing $testName - echo §§§§§§§§§§§§§§§§§§§§ All finished. - done - - ;; - - *) - $SELF trunk - ;; -esac -- 2.25.1