Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-313

testing/README.htm property descriptions: testSpecialProps wrongly named; useprocess omitted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.1.0
    • 10.1.1.0
    • Documentation
    • None
    • n/a

    Description

      In section 4.12 in ../testing/README.htm, the property

      TestSpecialFlags

      is described for specifying additional properties to RunTest. I could not
      find any evidence of this in RunTest or elsewhere. However, the property

      testSpecialProps

      is supported by RunTest.java. I found this to work. This property
      also has a syntax for specifying more than one property using a "^"
      delimiter between properties, i.e.

      testSpecialProps=<prop-1>=<value-1>^ ... ^<prop-n>=<value-n>

      Also,I noticed the property "useprocess" (default=true) for controlling
      whether RunTest runs the test in a separate vm or a thread in current
      vm isn't documented in README.htm. I suggest it be included, since
      it's potentially useful for debugging tests. I could include it in the
      patch for derby-313 (I don't think anybody committed it yet) or file a
      new JIRA issue.

      Looking at RunTest reveals that unit tests are not (yet) runnable with
      "useprocess=false", though.

      Attachments

        1. 313.diff
          3 kB
          Dag H. Wanvik

        Activity

          People

            dagw Dag H. Wanvik
            dagw Dag H. Wanvik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: