Announcement

Collapse
No announcement yet.

parse-results, list-results

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • parse-results, list-results

    not having much luck here with results. I can edit the user-config.xml to save benchmark logs, and at least then there's something saved. What is required to get a test to return something for 'phoronix-test-suite list-results' for a locally created test?

    Is there possibly a 'universal' parse-results script that will always return _something_?

    Thanks!

    Rob

  • #2
    Hi Rob,

    The phoronix-test-suite list-results command will list the name of all saved results, the saved identifiers, and the test that was called. It does not matter whether or not it's a locally created test or one that is included upstream. Below is a sample output.

    Fedora
    Saved Name: fedora Test: mesa
    - Fedora 9
    - Fedora 10
    - Fedora 11
    - Fedora Rawhide

    ZaReason
    Saved Name: zareason Test: netbook
    - ZaReason Ion Breeze
    - ASRock ION 330-BD - 1.60GHz
    - ASRock ION 330-BD - 2.10GHz
    What is it that you are looking to achieve? Are you running in batch mode? If so, did you configure it with batch-setup to always save test results? Otherwise you are prompted to save the results or not each time that phoronix-test-suite is used.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Ok, it looks like the ResultFormat tag in the test-profile is required in order to have results saved.

      I've found these so far:
      NO_RESULT
      PASS_FAIL
      MULTI_PASS_FAIL
      LINE_GRAPH

      Thanks,
      Rob

      Comment


      • #4
        Ah, so your problem was the results were not being saved at all? The ResultFormat tag is not mandatory and in fact is not even used by most test profiles, it's just used for setting a special case in which a single, numerical result is not returned.
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          I was using a script that returns null for PASS. I'll look at changing the start script so there's always a return.

          Comment


          • #6
            Ah, for a pass/fail scenario you need to set PASS_FAIL or MULTI_PASS_FAIL for the ResultFormat and then return if 0, FALSE, or FAIL is returned, it will be set to a failure otherwise it will be interpreted as a pass.
            Michael Larabel
            https://www.michaellarabel.com/

            Comment

            Working...
            X