From 52c18e9c9da4d1f699c81d5ee1e0b3516afbd50f Mon Sep 17 00:00:00 2001 From: Rishi Gupta Date: Thu, 29 Dec 2016 15:59:46 -0800 Subject: [PATCH] run-dev: Change provisioning error messages to not reference tests. Previously, we got the following as a part of the output when running `tools/run-dev.py` without provisioning: It looks like you checked out a branch that has added dependencies beyond what you last provisioned. Your tests are likely to fail until you add dependencies by provisioning. which is a bit confusing. --- tools/lib/test_script.py | 4 ++-- tools/run-dev.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/lib/test_script.py b/tools/lib/test_script.py index 3d2915a578..feea962c61 100644 --- a/tools/lib/test_script.py +++ b/tools/lib/test_script.py @@ -38,8 +38,8 @@ Do this: `./tools/provision.py` NEED_TO_UPGRADE = ''' It looks like you checked out a branch that has added -dependencies beyond what you last provisioned. Your tests -are likely to fail until you add dependencies by provisioning. +dependencies beyond what you last provisioned. Your command +is likely to fail until you add dependencies by provisioning. Do this: `./tools/provision.py` ''' diff --git a/tools/run-dev.py b/tools/run-dev.py index e8f4b38a9c..b57905e642 100755 --- a/tools/run-dev.py +++ b/tools/run-dev.py @@ -60,7 +60,7 @@ parser.add_option('--no-clear-memcached', parser.add_option('--force', dest='force', action="store_true", - default=False, help='Run tests despite possible problems.') + default=False, help='Run command despite possible problems.') parser.add_option('--enable-tornado-logging', dest='enable_tornado_logging', action="store_true",