summaryrefslogtreecommitdiffhomepage
path: root/scripts/common_build.sh
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2020-09-14 15:32:46 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-16 12:22:17 -0700
commitf148242abab1ff043428036ccaf464de98268863 (patch)
tree1e57aea21f2fe0cfaf7031d6fa4b9f2fb3b0aa8c /scripts/common_build.sh
parent113928754c26ea3d4d7d387bae459ce447774d30 (diff)
Revert "fuse: add benchmarking support for FUSE"
test/fuse/benchmark/read_benchmark.cc:34: Failure Expected: (fuse_prefix) != (nullptr), actual: NULL vs (nullptr) external/com_google_benchmark/src/benchmark_runner.cc:120: RunInThread: Check `st.iterations() >= st.max_iterations' failed. Benchmark returned before State::KeepRunning() returned false! --- FAIL: Benchmarks_BM_Read/262144/real_time (0.29s) runner.go:502: test "Benchmarks.BM_Read/262144/real_time" failed with error exit status 134, want nil FAIL
Diffstat (limited to 'scripts/common_build.sh')
-rwxr-xr-xscripts/common_build.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/common_build.sh b/scripts/common_build.sh
index 6874e56f9..d4a6c4908 100755
--- a/scripts/common_build.sh
+++ b/scripts/common_build.sh
@@ -109,9 +109,8 @@ function collect_logs() {
}
function find_branch_name() {
- (git branch --show-current \
+ git branch --show-current \
|| git rev-parse HEAD \
|| bazel info workspace \
- | xargs basename) \
- | tr '/' '-'
+ | xargs basename
}