Announcement

Collapse
No announcement yet.

How to make PTS accept 0 as valid input and output for a custom test-profile?

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

  • How to make PTS accept 0 as valid input and output for a custom test-profile?

    PTS does not accept 0 as valid input value when entered as dynamic value of an identifier. Also,
    If the test result value is 0, the PTS fails saying "the test run did not produce a result".

    Is there a way to make test result with value 0 as acceptable output. Say if I am counting number of failures in a custom test-profile, 0 is a acceptable value.

  • #2
    There is not currently a way. Any other use-case besides "counting number of failures" in a custom test profile? Should be fairly trivial to add though so may be able to add it to Git when I have the time.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      We get "the test run did not produce a result" when the test results are less than one.
      Example pts/compress-pbzip2. compress-pbzip2 records sys.time as result and fails on results like "0.832" seconds, which is a valid output.

      Comment

      Working...
      X