summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2019-06-12Split up tools/sync_third_partyRyan Dahl
This is just encoding my actual workflow; not suggesting that this workflow is ideal. Previously I would edit sync_third_party.py each time I ran it.
2019-06-11feat: default output filename for deno bundle (#2484)Ryan Dahl
And improve bundle docs
2019-06-11Move TestFmt to end of tests (#2491)Ryan Dahl
2019-06-08make tests quieter (#2468)Andy Hayden
Don't mix every http request in with the tests output. Don't print that the file servers are starting unless -vv flag is passed. Capture the output of run with run_output which returns stdout, stderr and exit_code. Test against this rather than relying on sys.exit.
2019-06-07http benchmarks with unique ports (#2471)Kurt Mackey
2019-06-06add tcp proxy benchmarks + split out website section for proxy req/s (#2464)Kurt Mackey
2019-06-06add http proxy benchmark (#2462)Kurt Mackey
2019-06-03Refactor test infrastructure (#2432)Bartek Iwańczuk
* use subclass of unittest.TestCase for all test cases * allow to run single test file (eg. python tools/integration_tests.py) * test filtering (via --pattern/-p CLI flag) * use common CLI parser for all tests: usage: test.py [-h] [--failfast] [--verbose] [--executable EXECUTABLE] [--release] [--pattern PATTERN] [--build-dir BUILD_DIR] optional arguments: -h, --help show this help message and exit --failfast, -f Stop on first failure --verbose, -v Verbose output --executable EXECUTABLE Use external executable of Deno --release Test against release executable --pattern PATTERN, -p PATTERN Run tests that match provided pattern --build-dir BUILD_DIR Deno build directory * respect NO_COLOR variable
2019-06-01Upgrade TypeScript to 3.5.1 (#2437)Kitson Kelly
2019-05-30chore: refactor python tests to use unittest (#2414)Andy Hayden
Move every test to a method on DenoTestCase. test.py is a single TestSuite of every TestCase. Add a Spawn context manager for http_server, this is explicitly used where it's needed. Each python test file can now be run independently without needing to manually run http_server. Add --help and consistent flags using argparse for each python test, including --failfast. Use ColorTextTestRunner so that '... ok' is green.
2019-05-30tools/setup: don't download sccache if --no-binary-download is passedChristian Moritz
2019-05-30tools/third_party: add DENO_GN_PATH and DENO_NINJA_PATH env varsChristian Moritz
2019-05-29Change tools/fmt_test.py to always download prettierRyan Dahl
This is to ensure a more fair test. Also we were already downloading from the internet since we changed the URL to use std@v0.5.0. This change exposes an OOM bug, which is then fixed in the upcoming compiler refactor by changing checkJs compiler option to false.
2019-05-27chore: Port Python tests to unittest (#2408)Bartek Iwańczuk
2019-05-23re-fix permissions for dial and listen (#2400)Bartek Iwańczuk
Closes #2397
2019-05-22Revert "Fix permissions for dial and listen (#2373)"Bert Belder
This reverts commit 7219787894f13b1920b3b6b49203cdcb8f672c00.
2019-05-17Fix permissions for dial and listen (#2373)Bartek Iwańczuk
2019-05-16tools: format .gn files in the 'cli' directoryBert Belder
2019-05-14Rename HTTP benchmarks (#2350)Ryan Dahl
2019-05-09fix: support relative path for whitelisting (#2317)Kevin (Kun) "Kassimo" Qian
Using `std::fs::canonicalize` to expand path to full existing path, such that later attempt to loop-pop and compare path segment would work.
2019-05-08First pass at permissions whitelist (#2129)andy finch
2019-05-08Refactor unit test runner (#2294)Bartek Iwańczuk
Properly discovers the permissions needed for each test.
2019-05-03add "deno run" subcommand (#2215)Bartek Iwańczuk
2019-05-03feat(cli cmd): deno xeval (#2260)Kevin (Kun) "Kassimo" Qian
2019-05-02Re-enable networking unit tests (#2268)Ryan Dahl
The following tests were commented out in order to get this to go green : - bodyMultipartFormData - bodyURLEncodedFormData - fetchRequestInitStringBody - netConcurrentAccept - netListenAsyncIterator
2019-05-01Rename test targets (#2262)Bartek Iwańczuk
2019-04-30Make error in ast_util more informative. (#2252)andy finch
2019-04-25Rename deno prefetch to deno fetch (#2210)Bartek Iwańczuk
2019-04-21Fix eslint warnings (#2151)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-21Refactor CLI entry point (#2157)Bartek Iwańczuk
Changes "deno --types" to "deno types" and "deno --prefetch" to "deno prefetch"
2019-04-20fix typo in permissions explanation (#2162)Jonathon Orsi
2019-04-17benchmarks: improve syscall and thread count (#2140)Ryan Dahl
2019-04-17benchmarks: fix max_memory and clean up (#2137)Ryan Dahl
2019-04-16Add max memory benchmark (#2061)Dmitry Sharshakov
2019-04-09upgrade deno_std & add workaround prettier issue (#2087)Yoshiya Hinosawa
2019-04-08Allow high precision performance.now() (#1977)Vincent LE GOFF
2019-04-07Fix unit_tests.py (#2065)Ryan Dahl
They were silently broken in 780e72 due to flag reordering. This commit also includes a new assert that would avoid that kind of failure in the future.
2019-04-07Refactor CLI flag parsing (#2025)Bartek Iwańczuk
2019-04-06Test TCP_NODELAY in hyper_hello (#2060)Ryan Dahl
2019-04-06Fix tools/docs.py (#2055)Ryan Dahl
2019-04-05Add worker benchmarks (#2059)andy finch
2019-04-01Follow redirect location as new referrers for nested module imports (#2031)Kevin (Kun) "Kassimo" Qian
Fixes #1742 Fixes #2021
2019-04-01Add web worker JS API (#1993)andy finch
* Refactored the way worker polling is scheduled and errors are handled. * Share the worker future as a Shared
2019-04-01Upgrade to TypeScript 3.4.1 (#2027)Kitson Kelly
2019-03-31Publish rust crate on crates.io (#2024)Bert Belder
2019-03-30Call ninja directly from build.rs (#2020)Ryan Dahl
2019-03-30Move //libdeno to //core/libdeno (#2015)Ryan Dahl
Fixes some sed errors introduced in c43cfe. Unfortunately moving libdeno required splitting build.rs into two parts, one for cli and one for core. I've also removed the arm64 build - it's complicating things at this re-org and we're not even testing it. I need to swing back to it and get tools/test.py running for it.
2019-03-28Merge the --recompile and --reload flags (#2003)Ryan Dahl
2019-03-25Update ts_library_builder (#1920)Bartek Iwańczuk
2019-03-24Add benchmark for max latency (#1975)Bernard Lin