From: jashoo Date: Thu, 25 Aug 2016 21:54:29 +0000 (-0700) Subject: Incremental progress addressing dotnet/coreclr#6676 X-Git-Tag: submit/tizen/20210909.063632~11030^2~9565^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e5dd8a5417866b49c72f323a0e6d036ce587dc2;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Incremental progress addressing dotnet/coreclr#6676 This change is based upon dotnet/coreclr#6910 by sjsinju to fix the arm emulator running out of space. It changes uses the /opt folder on the main system drive to /mnt which has a larger local disk. Commit migrated from https://github.com/dotnet/coreclr/commit/aab8db1993a975866661c21f74dedef9154789a6 --- diff --git a/src/coreclr/tests/scripts/arm32_ci_script.sh b/src/coreclr/tests/scripts/arm32_ci_script.sh index 2c20d7f..1b016bb 100755 --- a/src/coreclr/tests/scripts/arm32_ci_script.sh +++ b/src/coreclr/tests/scripts/arm32_ci_script.sh @@ -180,6 +180,10 @@ function mount_emulator { mount_with_checking "-o bind" "/dev/pts" "$__ARMRootfsMountPath/dev/pts" mount_with_checking "-t tmpfs" "shm" "$__ARMRootfsMountPath/run/shm" mount_with_checking "-o bind" "/sys" "$__ARMRootfsMountPath/sys" + if [ ! -d "$__ARMRootfsMountPath/bindings/tmp" ]; then + sudo mkdir -p "$__ARMRootfsMountPath/bindings/tmp" + fi + mount_with_checking "-o bind" "/mnt" "$__ARMRootfsMountPath/bindings/tmp" } #Cross builds coreclr @@ -265,7 +269,7 @@ function copy_to_emulator { #Runs tests in an emulated mode function run_tests { sudo chroot $__ARMRootfsMountPath /bin/bash -x <