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

jtreg to skip running not applicable tests

XMLWordPrintable

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

      It's a normal practice when existing tests are executed in various environments. But not all tests could be run in all environments:
      - VM options specified in a test might conflict with given by tested
      - test might be OS specific
      - test might require some extra resources (memory/permissions/whatever)
      - test might be applicable in a certain profile.

      There should be a mechanism that allows to identify not applicable tests.

      Possible solution:
      - some tests might declare what kind of resources they require
      - jtreg before test execution pre-calculates the environment
      - before a particular test execution jtreg checks if all required resources are available
      - tests not being run due to resouces are be reported separately (not as passed, not as failed)

            jjg Jonathan Gibbons
            dfazunen Dmitry Fazunenko (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: