From db33028b985422192637c2669ea137602cc30fcd Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Fri, 9 Aug 2013 11:55:29 -0400 Subject: [PATCH] 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) --- tools/test-all | 2 +- tools/test-js-with-casper | 1 + zerver/tests/frontend/run | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 tools/test-js-with-casper diff --git a/tools/test-all b/tools/test-all index af6b2b8c57..7c783f4dd9 100755 --- a/tools/test-all +++ b/tools/test-all @@ -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' diff --git a/tools/test-js-with-casper b/tools/test-js-with-casper new file mode 120000 index 0000000000..43ad3c099f --- /dev/null +++ b/tools/test-js-with-casper @@ -0,0 +1 @@ +../zerver/tests/frontend/run \ No newline at end of file diff --git a/zerver/tests/frontend/run b/zerver/tests/frontend/run index c60a5f5af3..c3e3610068 100755 --- a/zerver/tests/frontend/run +++ b/zerver/tests/frontend/run @@ -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')