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
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
- duplicates
-
CODETOOLS-7901940 support multiple @test in one test file
-
- Resolved
-
- relates to
-
JDK-8176551 testCommonPoolThreadContextClassLoader fails with "Should throw SecurityException"
-
- Resolved
-
-
CODETOOLS-7903445 Failure to execute multiple failing @run test statements
-
- New
-
-
CODETOOLS-7901942 Proposed update for TagTestFinder.scanFile
-
- In Progress
-