/*
 * Copyright 2016 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.gradle.integtests.fixtures.executer;

public class PerformanceTestBuildContext extends IntegrationTestBuildContext {

}

@@ -664,86 +664,724 @@
 r;%0A%0A
-public class PerformanceTestBuildContext extends IntegrationTestBuildContext %7B%0A
+import org.gradle.test.fixtures.file.TestFile;%0A%0Aimport java.io.File;%0Aimport java.util.UUID;%0A%0Apublic class PerformanceTestBuildContext extends IntegrationTestBuildContext %7B%0A    @Override%0A    public TestFile getTmpDir() %7B%0A        String uniquePart = UUID.randomUUID().toString();%0A        return getTmpBaseDir().file(uniquePart);%0A    %7D%0A%0A    private TestFile getTmpBaseDir() %7B%0A        return file(%22integTest.tmpDir%22, new File(System.getProperty(%22java.io.tmpdir%22), %22integTestBuildTmp-%22 + System.getProperty(%22user.name%22)).getAbsolutePath());%0A    %7D%0A%0A    @Override%0A    public void configure(GradleExecuter gradleExecuter) %7B%0A        super.configure(gradleExecuter);%0A        gradleExecuter.withCleanupTempDirectory(true);%0A    %7D
 %0A%7D%0A

Use unique temp dir for each performance test execution