1. 03 2月, 2020 1 次提交
  2. 21 1月, 2020 1 次提交
  3. 06 10月, 2019 1 次提交
  4. 16 9月, 2019 2 次提交
  5. 15 9月, 2019 3 次提交
    • B
      tools: refactor lint.py and format.py (#2950) · fbfd895b
      Bert Belder 提交于
      fbfd895b
    • B
      tools: add 'shell' parameter to 'run()' (#2950) · 456b75cb
      Bert Belder 提交于
      456b75cb
    • B
      tools: clean up third_party.py, and merge prebuilt.py into it (#2950) · e7d1da36
      Bert Belder 提交于
      * Remove reference to removed dir 'third_party/rust_crates'.
      * Remove reference to unused environment variable 'DENO_NINJA_PATH'.
      * Remove helper functions 'root()' and 'tp()'.
      * Move definition of 'third_party_path' to build.py.
      * Move definition of 'gn_exe()' to setup.py.
      * Move 'download_sccache()' and 'download_hyperfine()' from prebuilt.py
        to third_party.py, and delete prebuilt.py.
      * Add helper function 'get_platform_dir_name()' to locate the
        platform-specific 'v8/buildtools/<platform>' and
        'prebuilt/<platform>' directories.
      * Add helper function 'get_prebuilt_tool_path()' that returns the full
        path to a platform-specific executable in //prebuilt.
      * Cosmetic improvements.
      e7d1da36
  6. 10 9月, 2019 1 次提交
  7. 29 7月, 2019 1 次提交
  8. 08 6月, 2019 1 次提交
    • A
      make tests quieter (#2468) · 5960e398
      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.
      5960e398
  9. 04 6月, 2019 1 次提交
    • B
      Refactor test infrastructure (#2432) · 43c6c1a9
      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
      43c6c1a9
  10. 31 5月, 2019 1 次提交
    • A
      chore: refactor python tests to use unittest (#2414) · 8fb44eba
      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.
      8fb44eba
  11. 09 5月, 2019 1 次提交
  12. 25 3月, 2019 1 次提交
  13. 05 3月, 2019 1 次提交
    • B
      tools/run_node: only create 'node_modules' symlink once · ee29ed79
      Bert Belder 提交于
      Previously run_node.py would always attempt to remove and then re-create
      the 'target/xx/node_modules' symlink. This causes sporadic build errors
      on windows when multiple build targets that use run_node.py are being
      built concurrently.
      ee29ed79
  14. 12 2月, 2019 1 次提交
  15. 03 2月, 2019 1 次提交
  16. 22 1月, 2019 1 次提交
  17. 16 1月, 2019 1 次提交
  18. 12 12月, 2018 1 次提交
    • R
      tools: remove_and_symlink can be skipped on unix · bba1a0d4
      Ryan Dahl 提交于
      This is more optimial and this fixes a problem where occasionally
      remove_and_symlink will error with:
      
          gen/compiler_bundle/main.js --sourcemapFile /Users/rld/src/deno --silent
          Traceback (most recent call last):
            File "../../tools/run_node.py", line 18, in <module>
              util.remove_and_symlink(target_rel, "node_modules", True)
            File "/Users/rld/src/deno/tools/util.py", line 103, in remove_and_symlink
              symlink(target, name, target_is_dir)
            File "/Users/rld/src/deno/tools/util.py", line 141, in symlink
              os.symlink(target, name)
          OSError: [Errno 17] File exists
      bba1a0d4
  19. 01 12月, 2018 1 次提交
  20. 09 11月, 2018 1 次提交
  21. 05 11月, 2018 1 次提交
  22. 24 10月, 2018 1 次提交
  23. 23 10月, 2018 1 次提交
  24. 20 10月, 2018 1 次提交
  25. 16 10月, 2018 1 次提交
  26. 12 10月, 2018 1 次提交
    • R
      Improve tools/unit_tests.py (#958) · d4f72e18
      Ryan Dahl 提交于
      Checks the output more carefully. The first line of output from
      js/unit_tests.ts should be something like "running 96 tests"
      And the last line should be something like
      "test result: ok. 96 passed; 0 failed; 0 ignored; 0 measured; 36
      filtered out"
      This parses those strings and make sure they align.
      
      This will catch silent death bugs.
      d4f72e18
  27. 01 10月, 2018 1 次提交
  28. 27 9月, 2018 1 次提交
  29. 25 9月, 2018 1 次提交
  30. 22 8月, 2018 1 次提交
  31. 11 8月, 2018 1 次提交
  32. 02 8月, 2018 2 次提交
  33. 29 7月, 2018 1 次提交
  34. 26 7月, 2018 2 次提交
    • R
      Simplify run_rustc.py output. · 6b49944d
      Ryan Dahl 提交于
      6b49944d
    • B
      Clean up and fix tools · 4d08bb85
      Bert Belder 提交于
      * Make sync_third_party work in general
      * Un-break build.py and run_hooks.py on windows
      * Partially fix format.py on windows
      * Reduce code duplication between run_hooks and sync_third_party
      4d08bb85
  35. 25 7月, 2018 1 次提交