Skip to content

Commit 9483008

Browse files
committed
Tests for the CI
1 parent 8bba646 commit 9483008

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build_sysroot/build_sysroot.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ mkdir -p sysroot/lib/rustlib/$TARGET_TRIPLE/lib/
3030
cp -r target/$TARGET_TRIPLE/$sysroot_channel/deps/* sysroot/lib/rustlib/$TARGET_TRIPLE/lib/
3131

3232
# Since we can't override the sysroot for the UI tests anymore, we create a new toolchain and manually overwrite the sysroot directory.
33-
my_toolchain_dir=$HOME/.rustup/toolchains/my_toolchain
33+
my_toolchain_dir=$HOME/.rustup/toolchains/codegen_gcc_ui_tests
3434
rm -rf $my_toolchain_dir
3535
rust_toolchain=$(cat ../rust-toolchain | grep channel | sed 's/channel = "\(.*\)"/\1/')
3636
cp -r $HOME/.rustup/toolchains/$rust_toolchain-$TARGET_TRIPLE $my_toolchain_dir

test.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function setup_rustc() {
213213

214214
rm config.toml || true
215215

216-
my_toolchain_dir=$HOME/.rustup/toolchains/my_toolchain
216+
my_toolchain_dir=$HOME/.rustup/toolchains/codegen_gcc_ui_tests
217217

218218
cat > config.toml <<EOF
219219
changelog-seen = 2
@@ -224,8 +224,10 @@ deny-warnings = false
224224
225225
[build]
226226
cargo = "$my_toolchain_dir/bin/cargo"
227+
#cargo = "$(rustup which cargo)"
227228
local-rebuild = true
228229
rustc = "$my_toolchain_dir/bin/rustc"
230+
#rustc = "$HOME/.rustup/toolchains/$rust_toolchain-$TARGET_TRIPLE/bin/rustc"
229231
230232
[target.x86_64-unknown-linux-gnu]
231233
llvm-filecheck = "`which FileCheck-10 || which FileCheck-11 || which FileCheck-12 || which FileCheck-13 || which FileCheck-14`"

0 commit comments

Comments
 (0)