Failure to find multiple @test in a single file

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • jtreg4.2
    • Affects Version/s: None
    • Component/s: tools
    • None
    • b08

      The file JSR166TestCase has two @test blocks. Both are found when jtreg is invoked with an arg of the directory containing the file, but not when passed just the file directly.

      Mysterious failure to run tests seems pretty serious.

       $ for arg in '' JSR166TestCase.java; do echo ---; jtreg -testjdk:/home/martin/ws/jdk9/build/linux-x86_64-normal-server-release/images/jdk -noreport -agentvm -verbose:all java/util/concurrent/tck/$arg |& grep ACTION: ; done
      ---
      ACTION: build -- Passed. All files up to date
      ACTION: build -- Passed. All files up to date
      ACTION: junit -- Passed. Execution successful
      ACTION: build -- Passed. All files up to date
      ACTION: build -- Passed. All files up to date
      ACTION: junit -- Passed. Execution successful
      ACTION: build -- Passed. All files up to date
      ACTION: junit -- Passed. Execution successful
      ACTION: build -- Passed. All files up to date
      ACTION: junit -- Passed. Execution successful
      ACTION: build -- Passed. All files up to date
      ACTION: junit -- Passed. Execution successful
      ---
      ACTION: build -- Passed. All files up to date
      ACTION: build -- Passed. All files up to date
      ACTION: junit -- Passed. Execution successful

            Assignee:
            Jonathan Gibbons
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: