1. 08 Nov, 2018 1 commit
  2. 20 Sep, 2018 3 commits
    • Dylan Baker's avatar
      framework/test: Convert tests to new fast-skip interface · 1f9234b5
      Dylan Baker authored
      This converts the two test types that use the fast-skipping mechanism
      (glsl parser and shader) to use the new interfaces. This has been
      verified by running with PIGLIT_NO_FAST_SKIP=1 and without, and sans 1
      test (that is fixed later in the series) the results are the same.
    • Dylan Baker's avatar
      unittests/wflinfo: Update tests for new API · 1627ac4e
      Dylan Baker authored
    • Dylan Baker's avatar
      wflinfo: Reimplement wflinfo separating the various API's · c53f6ba3
      Dylan Baker authored
      Currently fast skipping is implemented such that it assumes there's a
      single version of ES, a single version of desktop, and all extensions
      are shared between them. This has basically worked because 1) there are
      basically no gles1 tests, and 2) piglit didn't have compat profile. But
      worked and correct are two different things.
      With the addition of compat profiles it's time to re-evaluate how fast
      skipping works. Namely we need to have different attributes for ES1,
      ES1+, core, compat, and I've added on for "legacy" (pre-profile), since
      waffle supports that.
      This maintains legacy interfaces so that existing code continues to
      v2: - Fix versions < 3.1 on implementations without core profile
  3. 24 Jul, 2018 1 commit
    • Dylan Baker's avatar
      JSON: move info utilities out of root · 840e6e98
      Dylan Baker authored
      And into a generic sub element in the output. This makes information
      like glxinfo and clinfo not a hard requirement and will allow any sort
      of system information to be encoded.
  4. 20 Jul, 2018 1 commit
  5. 01 May, 2018 5 commits
  6. 20 Apr, 2018 1 commit
  7. 05 Feb, 2018 1 commit
  8. 19 Dec, 2017 2 commits
  9. 16 Dec, 2017 1 commit
  10. 20 Nov, 2017 1 commit
  11. 13 Nov, 2017 1 commit
  12. 21 Jul, 2017 4 commits
  13. 25 May, 2017 1 commit
  14. 18 May, 2017 1 commit
  15. 19 Jan, 2017 1 commit
  16. 10 Nov, 2016 9 commits
  17. 08 Nov, 2016 1 commit
  18. 04 Nov, 2016 1 commit
  19. 26 Oct, 2016 2 commits
  20. 24 Oct, 2016 2 commits
    • Dylan Baker's avatar
      framework/backends/json: Don't convert to TestrunResult while updating · 12012814
      Dylan Baker authored
      This changes the way updates are done in the backend, instead of
      converting to a TestrunResult immediately, all of the transformations
      are done to the JSON data in it's rawest form, ie, as dicts and lists,
      and then transform to a TestrunResult (and children) after that.
      This makes the loading code more robust and simpler, since it's
      decoupled from the representation, making the transformations easier to
      test and manage.
      Part of this change is fixing the .to_json and .from_dict methods, many
      of which "worked" because their shortcomings were papered over by using
      json.load with a custom decoder. This patch fixes them to actually work
      correctly. Despite my best attempts I couldn't decouple this work for
      this patch because of the close coupling of the JSON loading code and
      the class representations.
      There are a number of fixups to the tests in this patch, since a number
      of issues were being covered by the TestrunResult.to_json() method
      filling it missing values.
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
    • Dylan Baker's avatar
      framework: Drop support for JSON formats < 7 · ef57fdd7
      Dylan Baker authored
      Most of these are pretty old at this point (over a year), and it seems
      unlikely anyone still has results in those formats. The biggest problem
      with them is that some of them (especially the early ones) are complex
      transformations with a lot of validation needed, and some of the middle
      ones rely on the class representations to do the transformations, which
      is what this series is trying to change, since the tight coupling makes
      changes to the schema difficult, or nearly impossible in other cases.
      If there is compelling reason I could push support back a bit more, but
      I really want to drop some of the versions we support since it
      simplifies the code considerably.
      This also drops support for the older "main" file, and only supports
      results.json and results.json.<compression>
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>