1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
1 <!DOCTYPE html> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 <html> |
3 <head> |
3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
4 <meta charset="utf-8"> |
5 <meta http-equiv="Content-Style-Type" content="text/css" /> |
5 <meta name="generator" content="pandoc"> |
6 <meta name="generator" content="pandoc" /> |
6 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> |
7 <title>Testing OpenJDK</title> |
7 <title>Testing OpenJDK</title> |
8 <style type="text/css">code{white-space: pre;}</style> |
8 <style type="text/css">code{white-space: pre;}</style> |
9 <link rel="stylesheet" href=" ../../jdk/make/data/docs-resources/specs/resources/jdk-default.css" type="text/css" /> |
9 <link rel="stylesheet" href="../../jdk/make/data/docs-resources/specs/resources/jdk-default.css"> |
|
10 <!--[if lt IE 9]> |
|
11 <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> |
|
12 <![endif]--> |
10 <style type="text/css">pre, code, tt { color: #1d6ae5; }</style> |
13 <style type="text/css">pre, code, tt { color: #1d6ae5; }</style> |
11 </head> |
14 </head> |
12 <body> |
15 <body> |
13 <div id="header"> |
16 <header> |
14 <h1 class="title">Testing OpenJDK</h1> |
17 <h1 class="title">Testing OpenJDK</h1> |
15 </div> |
18 </header> |
16 <div id="TOC"> |
19 <nav id="TOC"> |
17 <ul> |
20 <ul> |
18 <li><a href="#using-the-run-test-framework">Using the run-test framework</a></li> |
21 <li><a href="#using-the-run-test-framework">Using the run-test framework</a></li> |
19 <li><a href="#test-selection">Test selection</a><ul> |
22 <li><a href="#test-selection">Test selection</a><ul> |
20 <li><a href="#jtreg">JTreg</a></li> |
23 <li><a href="#jtreg">JTreg</a></li> |
21 <li><a href="#gtest">Gtest</a></li> |
24 <li><a href="#gtest">Gtest</a></li> |
24 <li><a href="#test-suite-control">Test suite control</a><ul> |
27 <li><a href="#test-suite-control">Test suite control</a><ul> |
25 <li><a href="#jtreg-keywords">JTreg keywords</a></li> |
28 <li><a href="#jtreg-keywords">JTreg keywords</a></li> |
26 <li><a href="#gtest-keywords">Gtest keywords</a></li> |
29 <li><a href="#gtest-keywords">Gtest keywords</a></li> |
27 </ul></li> |
30 </ul></li> |
28 </ul> |
31 </ul> |
29 </div> |
32 </nav> |
30 <h2 id="using-the-run-test-framework">Using the run-test framework</h2> |
33 <h2 id="using-the-run-test-framework">Using the run-test framework</h2> |
31 <p>This new way of running tests is developer-centric. It assumes that you have built a jdk locally and want to test it. Running common test targets is simple, and more complex ad-hoc combination of tests is possible. The user interface is forgiving, and clearly report errors it cannot resolve.</p> |
34 <p>This new way of running tests is developer-centric. It assumes that you have built a jdk locally and want to test it. Running common test targets is simple, and more complex ad-hoc combination of tests is possible. The user interface is forgiving, and clearly report errors it cannot resolve.</p> |
32 <p>Some example command-lines:</p> |
35 <p>Some example command-lines:</p> |
33 <pre><code>$ make run-test-tier1 |
36 <pre><code>$ make run-test-tier1 |
34 $ make run-test-jdk_lang JTREG="JOBS=8" |
37 $ make run-test-jdk_lang JTREG="JOBS=8" |