Skip to content

Commit a964325

Browse files
author
Siddhartha Bagaria
committed
Disable absolute paths in tests
Relative paths work fine now for both C++ and go.
1 parent d2bbe5b commit a964325

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ load("@com_grail_bazel_toolchain//toolchain:configure.bzl", "llvm_toolchain")
1515
llvm_toolchain(
1616
name = "llvm_toolchain",
1717
llvm_version = "6.0.0",
18-
absolute_paths = True,
1918
)
2019
```
2120

tests/run_tests.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
set -exuo pipefail
22

3-
if [[ $(uname -s) == "Linux" ]]; then
4-
LINKOPT="-Wl,--verbose"
5-
else
6-
LINKOPT="-Wl,-v"
7-
fi
8-
93
bazel test \
104
--crosstool_top=@llvm_toolchain//:toolchain \
115
--copt=-v \
12-
--linkopt="${LINKOPT}" \
6+
--linkopt=-Wl,-t \
137
--color=yes \
148
--show_progress_rate_limit=30 \
159
--keep_going \

travis/WORKSPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ load("@com_grail_bazel_toolchain//toolchain:configure.bzl", "llvm_toolchain")
2121

2222
llvm_toolchain(
2323
name = "llvm_toolchain",
24-
absolute_paths = True,
2524
llvm_version = "6.0.0",
2625
sha256 = {
2726
"linux": "114e78b2f6db61aaee314c572e07b0d635f653adc5d31bd1cd0bf31a3db4a6e5",

0 commit comments

Comments
 (0)