summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorKoundinya Veluri <kouvel@microsoft.com>2015-10-02 11:05:54 -0700
committerKoundinya Veluri <kouvel@microsoft.com>2015-10-02 14:50:18 -0700
commitccfbffb17c5555b6c90e25d694777c0bd6a235fa (patch)
tree990872602c2486c2bbe4325b353558a6aafd5ade /build.sh
parent5f1ea77280c069eda75003014167771825d10b92 (diff)
downloadcoreclr-ccfbffb17c5555b6c90e25d694777c0bd6a235fa.tar.gz
coreclr-ccfbffb17c5555b6c90e25d694777c0bd6a235fa.tar.bz2
coreclr-ccfbffb17c5555b6c90e25d694777c0bd6a235fa.zip
On builds outside Windows, build native test components by default
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index 6a02dceeb3..609bf1aea1 100755
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
usage()
{
- echo "Usage: $0 [BuildArch] [BuildType] [clean] [verbose] [coverage] [cross] [clangx.y] [skipmscorlib] [includetests]"
+ echo "Usage: $0 [BuildArch] [BuildType] [clean] [verbose] [coverage] [cross] [clangx.y] [skipmscorlib] [skiptests]"
echo "BuildArch can be: x64, ARM"
echo "BuildType can be: Debug, Release"
echo "clean - optional argument to force a clean build."
@@ -12,7 +12,7 @@ usage()
echo "cross - optional argument to signify cross compilation,"
echo " - will use ROOTFS_DIR environment variable if set."
echo "skipmscorlib - do not build mscorlib.dll even if mono is installed."
- echo "includetests - build the tests in the 'tests' subdirectory as well."
+ echo "skiptests - skip the tests in the 'tests' subdirectory."
exit 1
}
@@ -187,7 +187,7 @@ esac
__MSBuildBuildArch=x64
__BuildType=Debug
__CodeCoverage=
-__IncludeTests=
+__IncludeTests=Include_Tests
# Set the various build properties here so that CMake and MSBuild can pick them up
__ProjectDir="$__ProjectRoot"
@@ -262,7 +262,9 @@ for i in "$@"
__SkipMSCorLib=1
;;
includetests)
- __IncludeTests=Include_Tests
+ ;;
+ skiptests)
+ __IncludeTests=
;;
*)
__UnprocessedBuildArgs="$__UnprocessedBuildArgs $i"