Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903557

Add a skip count when user throws SkippedException

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • None
    • tools
    • None

      I am using `SkippedException` in order to not run a test. When running with verbose options, I get a `TEST RESULT: Passed. Skipped: jtreg.SkippedException:`, when running without verbose options I get no such message, just the pass summary:
      ```
      ==============================
      Test summary
      ==============================
         TEST TOTAL PASS FAIL ERROR
         jtreg:open/test/hotspot/jtreg/gc/arguments/TestCompressedClassFlags.java
                                                               1 1 0 0
      ==============================
      TEST SUCCESS
      ```
      I wonder if there exist some exception (or other mechanism) that would make the TOTAL/PASS count zero?
      Or maybe add a skip count (which would be better)

            Unassigned Unassigned
            lkorinth Leo Korinth
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: