提交 aa9a5f62 authored 作者: sainsbury.kerry's avatar sainsbury.kerry

Build tool: ability to only run one test using the -Dtest=className setting.

上级 8382475f
......@@ -37,6 +37,8 @@ Change Log
</li><li>Cluster: non-admin users could not connect when one of the cluster node was stopped. Issue 206.
</li><li>DROP VIEW now supports the CASCADE and RESTRICT clauses (patch from Kerry Sainsbury)
</li><li>CREATE VIEW now supports the OR REPLACE clause (patch from Kerry Sainsbury)
</li><li>Build tool: ability to only run one test using the -Dtest=className setting.
eg: build -Dtest=org.h2.test.db.TestViewDropView test (patch from Kerry Sainsbury)
</li></ul>
<h2>Version 1.2.137 (2010-06-06)</h2>
......
......@@ -543,7 +543,8 @@ public class Build extends BuildBase {
public void test() {
downloadTest();
compile();
java("org.h2.test.TestAll", null);
String testClass=System.getProperty("test", "org.h2.test.TestAll");
java(testClass, null);
}
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论