diff options
author | 2017-02-09 14:42:37 +0000 | |
---|---|---|
committer | 2017-02-09 15:12:08 +0000 | |
commit | 92f182bd1058ac05db8592d3f390826d2f94ed98 (patch) | |
tree | c21cad5d8b5b09ef12c88d93ebecb1a7415bd723 /src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java | |
parent | 1509cc8f07228a87184ee032b6a8d624b7d4e189 (diff) |
Remove the first argument of TestStrategy.getArgs.
All callers were performing identical steps before calling getArgs - move the
functionality into getArgs instead.
--
PiperOrigin-RevId: 147028753
MOS_MIGRATED_REVID=147028753
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java b/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java index db711bcff7..5e33a9ba77 100644 --- a/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java +++ b/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java @@ -17,7 +17,6 @@ package com.google.devtools.build.lib.exec; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.devtools.build.lib.actions.ActionExecutionContext; -import com.google.devtools.build.lib.actions.Artifact; import com.google.devtools.build.lib.actions.BaseSpawn; import com.google.devtools.build.lib.actions.EnvironmentalExecException; import com.google.devtools.build.lib.actions.ExecException; @@ -113,10 +112,9 @@ public class StandaloneTestStrategy extends TestStrategy { info.put("timeout", "" + getTimeout(action)); info.putAll(action.getTestProperties().getExecutionInfo()); - Artifact testSetup = action.getRuntimeArtifact(TEST_SETUP_BASENAME); Spawn spawn = new BaseSpawn( - getArgs(testSetup.getExecPathString(), COLLECT_COVERAGE, action), + getArgs(COLLECT_COVERAGE, action), env, info, new RunfilesSupplierImpl( |