-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
executable file
·33 lines (26 loc) · 849 Bytes
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/zsh
otool_l_bundle() {
target="$1"
test_bundle_path=$(find bazel-out/ -name "NonDeterministicBundlesTests.__internal__.__test_bundle_bin")
otool -l "$test_bundle_path" > "$target"
}
bazelisk clean --expunge
bazelisk test \
--xcode_version=14.2.0 \
--disk_cache= \
--experimental_execution_log_file="test_log1" \
:NonDeterministicBundlesTests
otool_l_bundle "bundle_1_otool_l"
bazelisk clean --expunge
bazelisk test \
--xcode_version=14.2.0 \
--disk_cache= \
--experimental_execution_log_file="test_log2" \
:NonDeterministicBundlesTests
otool_l_bundle "bundle_2_otool_l"
# Make sure path to the parser is adjusted
bazel-master/bazel-bin/src/tools/execlog/parser \
--log_path test_log1 \
--log_path test_log2 \
--output_path test_log1_parsed \
--output_path test_log2_parsed