Enable --arch option in run-test.sh (dotnet/corefx#24300)
authorHyung-Kyu Choi <hk0110.choi@samsung.com>
Thu, 28 Sep 2017 11:51:44 +0000 (20:51 +0900)
committerStephen Toub <stoub@microsoft.com>
Thu, 28 Sep 2017 11:51:44 +0000 (07:51 -0400)
There is a help message for --arch option,
but there is no code for the option.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/c7f67e738cdae5040ef9594f1d190647ed32c67a

src/libraries/run-test.sh

index 9402862..1fdc2d7 100755 (executable)
@@ -31,7 +31,7 @@ usage()
     echo "                                      default: Debug"
     echo "    --os <os>                         OS to run (FreeBSD, Linux, NetBSD or OSX)"
     echo "                                      default: detect current OS"
-    echo "    --arch <Architecture>             Architecture to run (x64, arm, x86, arm64)"
+    echo "    --arch <Architecture>             Architecture to run (x64, arm, armel, x86, arm64)"
     echo "                                      default: detect current architecture"
     echo
     echo "Execution options:"
@@ -304,6 +304,9 @@ do
         --os)
         OS=$2
         ;;
+        --arch)
+        __Arch=$2
+        ;;
         --coreclr-coverage)
         CoreClrCoverage=ON
         ;;