mirror of https://github.com/zulip/zulip.git
Move casper tests to a clearer directory name.
This commit is contained in:
parent
f1074aa491
commit
988a9acead
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue