Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16326

TAP Parser can't handle SKIP_ALL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • tap-plugin
    • None

      In perl test suites, it's common to do a SKIPALL on certain test files when you for instance determine that you're on the wrong OS, or if long tests are not enabled.

      <testsuites>
        <testsuite failures="0"
                   errors="0"
                   tests="0"
                   name="00_devel_smoke_binaries_t">
          <system-out><![CDATA[1..0 # SKIP Long-running tests disabled unless SLOW_TESTS environment variable set.
      ]]></system-out>
          <system-err></system-err>
        </testsuite>
      </testsuites>
      

      When the TAP parser hits these, it declares the build a failure. If the well formed XML is declaring 0 tests, how is this a failure condition?

        1. screenshot004.png
          screenshot004.png
          93 kB
        2. screenshot005.png
          screenshot005.png
          10 kB
        3. screenshot006.png
          screenshot006.png
          63 kB

            kinow Bruno P. Kinoshita
            toddr Todd Rinaldo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: