From 988a9acead425de0d06683c29885929075d94ce9 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 13 Oct 2015 17:57:31 -0400 Subject: [PATCH] Move casper tests to a clearer directory name. --- frontend_tests/{tests => casper_tests}/00-login.js | 0 frontend_tests/{tests => casper_tests}/01-site.js | 0 frontend_tests/{tests => casper_tests}/02-narrow.js | 0 frontend_tests/{tests => casper_tests}/03-compose.js | 0 frontend_tests/{tests => casper_tests}/04-subscriptions.js | 0 frontend_tests/{tests => casper_tests}/05-settings.js | 0 frontend_tests/{tests => casper_tests}/07-stars.js | 0 frontend_tests/{tests => casper_tests}/09-edit.js | 0 frontend_tests/{tests => casper_tests}/10-navigation.js | 0 frontend_tests/run | 4 ++-- 10 files changed, 2 insertions(+), 2 deletions(-) rename frontend_tests/{tests => casper_tests}/00-login.js (100%) rename frontend_tests/{tests => casper_tests}/01-site.js (100%) rename frontend_tests/{tests => casper_tests}/02-narrow.js (100%) rename frontend_tests/{tests => casper_tests}/03-compose.js (100%) rename frontend_tests/{tests => casper_tests}/04-subscriptions.js (100%) rename frontend_tests/{tests => casper_tests}/05-settings.js (100%) rename frontend_tests/{tests => casper_tests}/07-stars.js (100%) rename frontend_tests/{tests => casper_tests}/09-edit.js (100%) rename frontend_tests/{tests => casper_tests}/10-navigation.js (100%) diff --git a/frontend_tests/tests/00-login.js b/frontend_tests/casper_tests/00-login.js similarity index 100% rename from frontend_tests/tests/00-login.js rename to frontend_tests/casper_tests/00-login.js diff --git a/frontend_tests/tests/01-site.js b/frontend_tests/casper_tests/01-site.js similarity index 100% rename from frontend_tests/tests/01-site.js rename to frontend_tests/casper_tests/01-site.js diff --git a/frontend_tests/tests/02-narrow.js b/frontend_tests/casper_tests/02-narrow.js similarity index 100% rename from frontend_tests/tests/02-narrow.js rename to frontend_tests/casper_tests/02-narrow.js diff --git a/frontend_tests/tests/03-compose.js b/frontend_tests/casper_tests/03-compose.js similarity index 100% rename from frontend_tests/tests/03-compose.js rename to frontend_tests/casper_tests/03-compose.js diff --git a/frontend_tests/tests/04-subscriptions.js b/frontend_tests/casper_tests/04-subscriptions.js similarity index 100% rename from frontend_tests/tests/04-subscriptions.js rename to frontend_tests/casper_tests/04-subscriptions.js diff --git a/frontend_tests/tests/05-settings.js b/frontend_tests/casper_tests/05-settings.js similarity index 100% rename from frontend_tests/tests/05-settings.js rename to frontend_tests/casper_tests/05-settings.js diff --git a/frontend_tests/tests/07-stars.js b/frontend_tests/casper_tests/07-stars.js similarity index 100% rename from frontend_tests/tests/07-stars.js rename to frontend_tests/casper_tests/07-stars.js diff --git a/frontend_tests/tests/09-edit.js b/frontend_tests/casper_tests/09-edit.js similarity index 100% rename from frontend_tests/tests/09-edit.js rename to frontend_tests/casper_tests/09-edit.js diff --git a/frontend_tests/tests/10-navigation.js b/frontend_tests/casper_tests/10-navigation.js similarity index 100% rename from frontend_tests/tests/10-navigation.js rename to frontend_tests/casper_tests/10-navigation.js diff --git a/frontend_tests/run b/frontend_tests/run index aea0b2d41c..0f69ad6bfa 100755 --- a/frontend_tests/run +++ b/frontend_tests/run @@ -30,7 +30,7 @@ parser.add_option('--remote-debug', test_files = [] for file in args: if not os.path.exists(file): - file = os.path.join(os.path.dirname(__file__), '../frontend_tests/tests', file) + file = os.path.join(os.path.dirname(__file__), '../frontend_tests/casper_tests', file) test_files.append(os.path.abspath(file)) os.chdir(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) @@ -79,7 +79,7 @@ try: if test_files: cmd += ' '.join(test_files) else: - cmd += 'frontend_tests/tests' + cmd += 'frontend_tests/casper_tests' print "Running %s" % (cmd,) ret = subprocess.call(cmd, shell=True) finally: