summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2019-07-31Use system rustfmt instead of fixed binary (#2701)Ryan Dahl
2019-07-31Add --current-thread flag (#2702)Bartek Iwańczuk
2019-07-28benchmarks: make latency benchmark less noisy (#2689)Bartek Iwańczuk
2019-07-28benchmarks: add bundle size (#2690)Bartek Iwańczuk
2019-07-18Reorder tools/format.py so slowest are last (#2661)Ryan Dahl
2019-07-17Refactor DenoDir (#2636)Bartek Iwańczuk
* rename `ModuleMetaData` to `SourceFile` and remove TS specific functionality * add `TsCompiler` struct encapsulating processing of TypeScript files * move `SourceMapGetter` trait implementation to `//cli/compiler.rs` * add low-level `DiskCache` API for general purpose caches and use it in `DenoDir` and `TsCompiler` for filesystem access * don't use hash-like filenames for compiled modules, instead use metadata file for storing compilation hash * add `SourceFileCache` for in-process caching of loaded files for fast subsequent access * define `SourceFileFetcher` trait encapsulating loading of local and remote files and implement it for `DenoDir` * define `use_cache` and `no_fetch` flags on `DenoDir` instead of using in fetch methods
2019-07-15hyper_hello should be in its own crate (#2641)Ryan Dahl
So that "cargo build" will build it when the gn frontend is eventually removed.
2019-07-12Fix REPL when it receives EOF (#2638)Ryan Dahl
2019-07-06io: change Reader interface (#2591)Yoshiya Hinosawa
Instead of returning { nread: number, eof: bool }, read() returns EOF | number.
2019-06-30fix: normalize Deno.execPath (#2598)Bartek Iwańczuk
2019-06-30ts_library_builder: update README (#2604)Yoshiya Hinosawa
2019-06-24feat: fetch() now handles redirects (#2561)Long(Tony) Lian
2019-06-22fmt_test: resolve old absolute path issue (#2562)Yoshiya Hinosawa
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.