diff options
author | ruperts <ruperts@google.com> | 2017-11-28 21:17:48 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-11-28 21:19:26 -0800 |
commit | b394da457e9e1f717581b00926e811f6c9e018f3 (patch) | |
tree | de17a49a8222a84ca26a477a0a1f42300004471f /src/test/shell/integration/BUILD | |
parent | 85d69f2397d7b54fa8b8c69b7bc9ec6d36cb1d49 (diff) |
Make process-wrapper output execution statistics for executed commands.
For example, it now outputs resource usage statistics like the amount of user time and system time used.
RELNOTES: None
PiperOrigin-RevId: 177263221
Diffstat (limited to 'src/test/shell/integration/BUILD')
-rw-r--r-- | src/test/shell/integration/BUILD | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/test/shell/integration/BUILD b/src/test/shell/integration/BUILD index a04bb2c6b3..1d9b55d76c 100644 --- a/src/test/shell/integration/BUILD +++ b/src/test/shell/integration/BUILD @@ -288,9 +288,23 @@ sh_test( name = "process_wrapper_test", size = "medium", srcs = ["process-wrapper_test.sh"], - data = [":test-deps"], + data = [ + ":spend_cpu_time", + ":test-deps", + "//src/main/protobuf:execution_statistics.proto", + ], ) +cc_binary( + name = "spend_cpu_time", + testonly = 1, + srcs = ["spend_cpu_time.cc"], + malloc = "//base:system_malloc", +) + +######################################################################## +# Test suites. + test_suite( name = "all_tests", visibility = ["//visibility:public"], |