From 7f9bec933cf067abd712a17ad775c3a8bad7950e Mon Sep 17 00:00:00 2001 From: Christine Lytwynec Date: Wed, 24 Jun 2015 11:33:57 -0400 Subject: [PATCH] split common/lib and js unit tests into separate shards --- scripts/all-tests.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/all-tests.sh b/scripts/all-tests.sh index fdc50aa319..3c3a8b6b28 100755 --- a/scripts/all-tests.sh +++ b/scripts/all-tests.sh @@ -17,6 +17,8 @@ set -e # - "quality": Run the quality (pep8/pylint) checks # - "lms-unit": Run the LMS Python unit tests # - "cms-unit": Run the CMS Python unit tests +# - "js-unit": Run the JavaScript tests +# - "commonlib-unit": Run Python unit tests from the common/lib directory # - "commonlib-js-unit": Run the JavaScript tests and the Python unit # tests from the common/lib directory # - "lms-acceptance": Run the acceptance (Selenium/Lettuce) tests for @@ -113,6 +115,14 @@ END paver test_system -s cms --extra_args="--with-flaky" --cov_args="-p" ;; + "commonlib-unit") + paver test_lib --extra_args="--with-flaky" --cov_args="-p" + ;; + + "js-unit") + paver test_js --coverage + ;; + "commonlib-js-unit") paver test_js --coverage --skip_clean || { EXIT=1; } paver test_lib --skip_clean --extra_args="--with-flaky" --cov_args="-p" || { EXIT=1; }