Skip to content
Snippets Groups Projects
  1. Apr 28, 2019
  2. Apr 27, 2019
  3. Apr 28, 2019
  4. Apr 27, 2019
  5. Apr 28, 2019
  6. Apr 27, 2019
  7. Mar 30, 2019
  8. Apr 24, 2019
  9. Mar 30, 2019
  10. Apr 24, 2019
  11. Apr 12, 2019
  12. Apr 06, 2019
  13. Apr 05, 2019
    • Raphaël Gomès's avatar
      Add functional .t test for all expected failures · 33ba3b5df38e
      Raphaël Gomès authored
      Most failure cases have to be covered basically end-to-end,
      so we might as well test the entire script.
      Moreover, failures would be easy to pinpoint since we are
      testing a single condition every time.
      33ba3b5df38e
    • Raphaël Gomès's avatar
      Add test for migration script · dda52a8b8613
      Raphaël Gomès authored
      This unit test is here to make sure the base cases are covered and
      most of the actual logic (that it, not opening files and fetching data)
      is correct.
      dda52a8b8613
    • Raphaël Gomès's avatar
      Add pytest as a dependency with minimal configuration · 0d388137ae84
      Raphaël Gomès authored
      Pytest is the best python test runner in 2019, so it makes sense
      for us to use it for testing our own scripts.
      Since its test discovery relies on python modules (even in Python 3),
      this change adds the required __init__.py files in the folder structure.
      A minimal pytest.ini config file was added with usual parameters.
      0d388137ae84
    • Raphaël Gomès's avatar
      Add migration script for old benchmarks · eb31e66d4789
      Raphaël Gomès authored
      Some older benchmarks were not recognized by ASV because of a version
      discrepancy. ASV generates a version hash from the code that is ran in each
      benchmark, which means that any change to the benchmark code renders old
      results unusable by ASV.
      
      While the reason for doing this is sensible (any change in the benchmark could
      invalidate it), this safety measure does not concern us, and we need to bypass
      it. Since ASV does not yet log a warning (pending another PR) when it ignores
      results, nor does it allow us to accept those "invalid" results, this change
      migrates the old results to a form ASV will accept.
      
      Most of this changeset is unrelated to the version compatibility issue and is
      mostly catching up the file structure with the new one: a few new parameters
      were inserted, the main "repo" parameter was split into itself and
      "sparse-revlog", etc.
      eb31e66d4789
Loading