7152866: Tests not run because they are missing the @run tag
brian.goetz at oracle.com
Sun Mar 11 17:06:49 UTC 2012
I would think scanning for test files that have a main() method but not a @run tag would be a good way to find more of these...
On Mar 11, 2012, at 4:21 AM, Alan Bateman wrote:
> I was looking at a test and happen to notice that it had a @build tag but no @run tag so the test wasn't actually running as expected (it wasn't a compile-only test). This prompted me to do a quick audit and I found several other tests with similar issues. The following webrev fixes the test description of several of these tests:
> Note that I didn't fix all the tests. It turns out that some of these tests don't compile or or fail on one or more platforms. I've created bugs for these . TestX11CS.java is one case where it's not worth trying to fix it to compile so I propose to delete it.
> I've used the opportunity to remove some tests from the ProblemList while I was there.
>  7152856: TEST_BUG: sun/net/www/protocol/jar/B4957695.java failing on Windows
> 7152799: javax/naming/spi/DirectoryManager/GetContDirCtx.java failing with CannotProceedException
> 7152798: TEST_BUG: sun/management/HotspotClassLoadingMBean/GetClassLoadingTime.java does not compile
> 7152796: TEST_BUG: java/net/Socks/SocksV4Test.java does not terminate
More information about the core-libs-dev