Added tools/test-js-with-casper symlink.

The test-all script now calls the symlink, and the run script
has been cleaned up to be symlink friendly.

(imported from commit 8abb5c1e5744416e94ff843e50c53e0d0f7e1316)
This commit is contained in:
Steve Howell 2013-08-09 11:55:29 -04:00
parent 0a21b9b294
commit db33028b98
3 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,6 @@ run ./tools/clean-repo
run ./tools/check-all
run ./tools/test-js-with-node
run ./tools/test-backend
run ./zerver/tests/frontend/run
run ./tools/test-js-with-casper
printf '\n\e[32mAll OK!\e[0m\n'

1
tools/test-js-with-casper Symbolic link
View File

@ -0,0 +1 @@
../zerver/tests/frontend/run

View File

@ -34,7 +34,7 @@ for file in args:
file = path.join(path.dirname(__file__), 'tests', file)
test_files.append(path.abspath(file))
os.chdir(path.join(path.dirname(__file__), '../../..'))
os.chdir(path.join(path.dirname(path.realpath(__file__)), '../../..'))
subprocess.check_call('tools/generate-fixtures')