Harmony
  1. Harmony
  2. HARMONY-1968

[classlib][testing] relative path to test.jre.home does not work on linux

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None

      Description

      Command:

      ant -Dbuild.module=archive -Dtest.jre.home=deploy/jdk/jre test

      leads to build failure while

      ant -Dbuild.module=archive -Dtest.jre.home=`pwd`/deploy/jdk/jre test

      works fine

      The output for the first command is:
      <...>
      run-tests:
      [mkdir] Created dir: /export/viv/trunk/cc/projects/classlib/trunk/build/test_report
      [junit] Running org.apache.harmony.archive.tests.java.util.zip.ZipOutputStreamTest
      [junit] Tests FAILED

      touch-failures-file:

      touch-errors-file:

      test:

      full-report:
      [junitreport] Transform time: 1586ms
      [echo] The test report is in /export/viv/trunk/cc/projects/classlib/trunk/build/test_report/html/index.html

      short-report:

      gen-report:

      check-test-result:

      BUILD FAILED
      /export/viv/trunk/cc/projects/classlib/trunk/build.xml:162: The following error occurred while executing this line:
      /export/viv/trunk/cc/projects/classlib/trunk/make/build-test.xml:128: There were test failures.

      for the second one:
      <...>
      [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 0.055 sec
      [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.014 sec
      [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
      [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
      [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 0.033 sec
      [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 0.531 sec
      [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.371 sec
      [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
      [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.017 sec

      touch-failures-file:

      touch-errors-file:

      test:

      full-report:
      [junitreport] Transform time: 1444ms
      [echo] The test report is in /export/viv/trunk/cc/projects/classlib/trunk/build/test_report/html/index.html

      short-report:

      gen-report:

      check-test-result:

      test-all:

      BUILD SUCCESSFUL
      Total time: 26 seconds

        Activity

        Vladimir Ivanov created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Vladimir Ivanov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development