try layout tests
diff --git a/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/layout/tests/TestLayout.java b/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/layout/tests/TestLayout.java
index 9339bd8..6357671 100644
--- a/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/layout/tests/TestLayout.java
+++ b/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/layout/tests/TestLayout.java
@@ -96,10 +96,9 @@
 		if (errors.size() > 0) {
 			FileWriter outfileWriter = null;
 			File outfile = null;
-			String testDirName = System.getProperty("env.PROJECT_TESTS");
-			String projectDirName = System.getProperty("projectname");
+			String testDirName = System.getProperty("junit-report-output");
 			try {
-				outfile = new File(testDirName + "/" + projectDirName + "/", "layoutErrors.html");
+				outfile = new File(testDirName, "layoutErrors.html");
 				outfileWriter = new FileWriter(outfile);
 				for (Iterator iter = errors.iterator(); iter.hasNext();) {
 					outfileWriter.write("<p>" + (String) iter.next() + "</p>" + EOL);
diff --git a/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/layout/tests/TestRepoLicenses.java b/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/layout/tests/TestRepoLicenses.java
index b190131..184d54e 100644
--- a/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/layout/tests/TestRepoLicenses.java
+++ b/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/layout/tests/TestRepoLicenses.java
@@ -46,7 +46,7 @@
 
 	public static Test suite() {
 		System.out.println("suite for layout");
-		return new TestSuite(TestLayout.class);
+		return new TestSuite(TestRepoLicenses.class);
 	}
 
 
diff --git a/tests/org.eclipse.wtp.releng.tests/test.xml b/tests/org.eclipse.wtp.releng.tests/test.xml
index 6892522..90a71fd 100644
--- a/tests/org.eclipse.wtp.releng.tests/test.xml
+++ b/tests/org.eclipse.wtp.releng.tests/test.xml
@@ -119,7 +119,7 @@
                 value="${classname}"/>
             <property
                 name="extraVMargs"
-                value="-DrelengTestsPropertiesFile=${keyCfgFile} -DdefaultURLToTest=${file://}${buildDirectory}/${buildlabel}/repository/ -DdefaultReferenceFeature=org.eclipse.wst.xml_core.feature.feature.group" />
+                value="-DrelengTestsPropertiesFile=${keyCfgFile} -Djunit-report-output=${junit-report-output} -DdefaultURLToTest=${file://}${buildDirectory}/${buildlabel}/repository/ -DdefaultReferenceFeature=org.eclipse.wst.xml_core.feature.feature.group" />
         </ant>
         <condition
             property="dotlogavailable">