mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
Add ability to unit test by permissions.
This commit is contained in:
parent
722c7e4a1b
commit
e13f3c10ca
7 changed files with 113 additions and 25 deletions
|
@ -5,6 +5,7 @@ import os
|
|||
import sys
|
||||
from check_output_test import check_output_test
|
||||
from util import executable_suffix, run, build_path
|
||||
from unit_tests import unit_tests
|
||||
from util_test import util_test
|
||||
import subprocess
|
||||
import http_server
|
||||
|
@ -41,7 +42,7 @@ def main(argv):
|
|||
|
||||
deno_exe = os.path.join(build_dir, "deno" + executable_suffix)
|
||||
check_exists(deno_exe)
|
||||
run([deno_exe, "js/unit_tests.ts", "--allow-write"])
|
||||
unit_tests(deno_exe)
|
||||
|
||||
check_exists(deno_exe)
|
||||
check_output_test(deno_exe)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue