diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-09-04 19:18:31 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-05 22:27:47 -0400 |
commit | 43aead854f22a76aa447404581235c9085dd05d6 (patch) | |
tree | 70fc22f7659a0c61b2dc8d11d25b74e55d0fe5b0 /tools/unit_tests.py | |
parent | e7741ab97ff75187aa4f72b0ad4d62af5b3a7d04 (diff) |
Add --reload to JS unit tests.
Fixes #677
Diffstat (limited to 'tools/unit_tests.py')
-rwxr-xr-x | tools/unit_tests.py | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/tools/unit_tests.py b/tools/unit_tests.py index 0c4667b63..62844fc09 100755 --- a/tools/unit_tests.py +++ b/tools/unit_tests.py @@ -10,12 +10,19 @@ import sys # tests by the special string. permW0N0 means allow-write but not allow-net. # See js/test_util.ts for more details. def unit_tests(deno_exe): - run([deno_exe, "js/unit_tests.ts", "permW0N0E0"]) - run([deno_exe, "js/unit_tests.ts", "permW1N0E0", "--allow-write"]) - run([deno_exe, "js/unit_tests.ts", "permW0N1E0", "--allow-net"]) - run([deno_exe, "js/unit_tests.ts", "permW0N0E1", "--allow-env"]) + run([deno_exe, "--reload", "js/unit_tests.ts", "permW0N0E0"]) + run([ + deno_exe, "--reload", "js/unit_tests.ts", "permW1N0E0", "--allow-write" + ]) + run([ + deno_exe, "--reload", "js/unit_tests.ts", "permW0N1E0", "--allow-net" + ]) + run([ + deno_exe, "--reload", "js/unit_tests.ts", "permW0N0E1", "--allow-env" + ]) run([ deno_exe, + "--reload", "js/unit_tests.ts", "permW1N1E1", "--allow-write", |