aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build
diff options
context:
space:
mode:
authorGravatar tomlu <tomlu@google.com>2018-04-26 09:54:17 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-04-26 09:55:59 -0700
commit67423ddc06a925ce80eb574adb8d7519ab39f348 (patch)
tree93b25b8a925f9eb408ddec4465563394168f979f /src/main/java/com/google/devtools/build
parente28711b351c9f413281e638c5ea171128dd99f82 (diff)
Abstract away the param file write action from tests.
Rule authors frequently wants to make assertions on the parameter files their rule implementations have created. However, if they do not explicitly create parameter file write actions, or if indeed _there aren't_ any parameter file write actions inserted into the action graph, the tests will fail. This CL puts an abstraction between the tests and obtaining their parameter files, allowing us to change the implementation without updating hundreds of lines of test code in the same CL. Note that we can no longer sanely assert that the parameter file argument is inserted into the main command line, because the parameter file system controls both whether it is inserted and the name used. Those assertions have been removed where found. RELNOTES: None PiperOrigin-RevId: 194411047
Diffstat (limited to 'src/main/java/com/google/devtools/build')
0 files changed, 0 insertions, 0 deletions