Skip to content

Commit

Permalink
Merge pull request #31612 from geoand/gradle-it-polish
Browse files Browse the repository at this point in the history
Apply minor polish to Gradle integration test launching
  • Loading branch information
gsmet authored Mar 11, 2023
2 parents 91536be + 3912af6 commit 7909903
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Locale;
import java.util.Map;
Expand Down Expand Up @@ -53,9 +52,10 @@ static void killProcesses() {

public BuildResult runGradleWrapper(File projectDir, String... args) throws IOException, InterruptedException {
setupTestCommand();
List<String> command = new LinkedList<>();
List<String> systemProperties = getSytemProperties();
List<String> command = new ArrayList<>(systemProperties.size() + args.length + 4);
command.add(getGradleWrapperCommand());
command.addAll(getSytemProperties());
command.addAll(systemProperties);
command.add("-Dorg.gradle.console=plain");
command.add("-Dorg.gradle.daemon=false");
command.add("--stacktrace");
Expand Down

0 comments on commit 7909903

Please sign in to comment.