diff options
author | Joe Onorato <joeo@google.com> | 2019-02-27 20:42:37 -0500 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2019-02-28 09:20:27 -0500 |
commit | 6c97f4908c99f26c7d59ac92bf74e7913a5333c8 (patch) | |
tree | ac9ad961c3f2e75304e9d552b919d83a1b64f888 /tools/bit/util.h | |
parent | b953577b2784bebfc47ca8ad31fa55f2ea9808d1 (diff) |
Make bit able to run gtest native tests.
The output parsing isn't ideal, so these are a bit more spammy
than I'd like, but at least they build, install and run without
the manual glop.
Test: bit incidentd_test
Change-Id: I3c34a4ebbf661f612b4b0f8b4e05cade8669b5a6
Diffstat (limited to 'tools/bit/util.h')
-rw-r--r-- | tools/bit/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/bit/util.h b/tools/bit/util.h index 718f1474a969..7ccdab103d9a 100644 --- a/tools/bit/util.h +++ b/tools/bit/util.h @@ -79,5 +79,10 @@ void split_lines(vector<string>* result, const string& str); string read_file(const string& filename); +bool is_executable(const string& filename); + +string dirname(const string& filename); +string leafname(const string& filename); + #endif // UTIL_H |