Move casper tests to a clearer directory name.

This commit is contained in:
Tim Abbott 2015-10-13 17:57:31 -04:00
parent f1074aa491
commit 988a9acead
10 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ parser.add_option('--remote-debug',
test_files = [] test_files = []
for file in args: for file in args:
if not os.path.exists(file): 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)) test_files.append(os.path.abspath(file))
os.chdir(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) os.chdir(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..'))
@ -79,7 +79,7 @@ try:
if test_files: if test_files:
cmd += ' '.join(test_files) cmd += ' '.join(test_files)
else: else:
cmd += 'frontend_tests/tests' cmd += 'frontend_tests/casper_tests'
print "Running %s" % (cmd,) print "Running %s" % (cmd,)
ret = subprocess.call(cmd, shell=True) ret = subprocess.call(cmd, shell=True)
finally: finally: