-
Bug
-
Resolution: Fixed
-
P3
-
None
-
None
test java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java still failed on nonmultiscreen system, bu with new log now:
the log is:
c:\>C:\jdk\jdk1.8.0b67\bin\java -jar K:\regression\tools\jtreg_latest\lib\jtreg.jar -v -testjdk C:\jdk\jdk1.5.0_39b02 K:\regression\workspaces\150\1.5.0_39b02\j2se\test\java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java
Directory "JTreport" not found: creating
Directory "JTwork" not found: creating
Directory "JTwork\scratch" not found: creating
runner starting test: java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java
runner finished test: java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java
Failed. Unexpected exit from test [exit code: 0]
Test results: failed: 1
Report written to C:\JTreport\html\report.html
Results written to C:\JTwork
Error: Some tests failed or other problems occurred.
As you see, JTREG thinks that exit code 0 is also an error. You should not use System.exit(0) in JTREG main tests. Write a shell wrapper for this test.
the log is:
c:\>C:\jdk\jdk1.8.0b67\bin\java -jar K:\regression\tools\jtreg_latest\lib\jtreg.jar -v -testjdk C:\jdk\jdk1.5.0_39b02 K:\regression\workspaces\150\1.5.0_39b02\j2se\test\java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java
Directory "JTreport" not found: creating
Directory "JTwork" not found: creating
Directory "JTwork\scratch" not found: creating
runner starting test: java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java
runner finished test: java/awt/Multiscreen/WPanelPeerPerf/WPanelPeerPerf.java
Failed. Unexpected exit from test [exit code: 0]
Test results: failed: 1
Report written to C:\JTreport\html\report.html
Results written to C:\JTwork
Error: Some tests failed or other problems occurred.
As you see, JTREG thinks that exit code 0 is also an error. You should not use System.exit(0) in JTREG main tests. Write a shell wrapper for this test.