Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit ccfbffb

Browse files
author
Koundinya Veluri
committed
On builds outside Windows, build native test components by default
1 parent 5f1ea77 commit ccfbffb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

build.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
usage()
44
{
5-
echo "Usage: $0 [BuildArch] [BuildType] [clean] [verbose] [coverage] [cross] [clangx.y] [skipmscorlib] [includetests]"
5+
echo "Usage: $0 [BuildArch] [BuildType] [clean] [verbose] [coverage] [cross] [clangx.y] [skipmscorlib] [skiptests]"
66
echo "BuildArch can be: x64, ARM"
77
echo "BuildType can be: Debug, Release"
88
echo "clean - optional argument to force a clean build."
@@ -12,7 +12,7 @@ usage()
1212
echo "cross - optional argument to signify cross compilation,"
1313
echo " - will use ROOTFS_DIR environment variable if set."
1414
echo "skipmscorlib - do not build mscorlib.dll even if mono is installed."
15-
echo "includetests - build the tests in the 'tests' subdirectory as well."
15+
echo "skiptests - skip the tests in the 'tests' subdirectory."
1616

1717
exit 1
1818
}
@@ -187,7 +187,7 @@ esac
187187
__MSBuildBuildArch=x64
188188
__BuildType=Debug
189189
__CodeCoverage=
190-
__IncludeTests=
190+
__IncludeTests=Include_Tests
191191

192192
# Set the various build properties here so that CMake and MSBuild can pick them up
193193
__ProjectDir="$__ProjectRoot"
@@ -262,7 +262,9 @@ for i in "$@"
262262
__SkipMSCorLib=1
263263
;;
264264
includetests)
265-
__IncludeTests=Include_Tests
265+
;;
266+
skiptests)
267+
__IncludeTests=
266268
;;
267269
*)
268270
__UnprocessedBuildArgs="$__UnprocessedBuildArgs $i"

0 commit comments

Comments
 (0)