about summary refs log tree commit diff
path: root/build_sysroot
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2019-11-24 15:44:39 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2019-11-24 15:44:39 +0100
commite9d3569e08987e3d034a6c239d71ef8ec15c7cf2 (patch)
tree3a2bd94c6c05de697e0085f621d545abc78e93c6 /build_sysroot
parent53e083323257d0d79d9f0b2d365232a3c1f085ca (diff)
downloadrust-e9d3569e08987e3d034a6c239d71ef8ec15c7cf2.tar.gz
rust-e9d3569e08987e3d034a6c239d71ef8ec15c7cf2.zip
Run libcore tests
Diffstat (limited to 'build_sysroot')
-rwxr-xr-xbuild_sysroot/build_sysroot.sh1
-rwxr-xr-xbuild_sysroot/prepare_sysroot_src.sh3
2 files changed, 2 insertions, 2 deletions
diff --git a/build_sysroot/build_sysroot.sh b/build_sysroot/build_sysroot.sh
index 26f6607b2aa..ff122e21e4f 100755
--- a/build_sysroot/build_sysroot.sh
+++ b/build_sysroot/build_sysroot.sh
@@ -12,7 +12,6 @@ popd >/dev/null
 # Cleanup for previous run
 #     v Clean target dir except for build scripts and incremental cache
 rm -r target/*/{debug,release}/{build,deps,examples,libsysroot*,native} || true
-rm -r sysroot_src/src/{libcore,libtest}/target/ || true
 rm Cargo.lock test_target/Cargo.lock 2>/dev/null || true
 rm -r sysroot/ 2>/dev/null || true
 
diff --git a/build_sysroot/prepare_sysroot_src.sh b/build_sysroot/prepare_sysroot_src.sh
index c96c3b36ba2..882454754ed 100755
--- a/build_sysroot/prepare_sysroot_src.sh
+++ b/build_sysroot/prepare_sysroot_src.sh
@@ -24,7 +24,8 @@ git commit -m "Initial commit" -q
 for file in $(ls ../../patches/ | grep -v patcha); do
 echo "[GIT] apply" $file
 git apply ../../patches/$file
-git commit --no-gpg-sign -am "Patch $file"
+git add -A
+git commit --no-gpg-sign -m "Patch $file"
 done
 popd