Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Weinfurt <tweinfurt@yahoo.com>2017-10-20 15:57:13 +0300
committerJan Vorlicek <janvorli@microsoft.com>2017-10-20 15:57:13 +0300
commit6c50a9e705800bbc5d166c91aa2c7e2a85b2325b (patch)
tree915c7ad049142ca7a3f3b10dcab5280dc13bdd4b /run-test.sh
parent4e408ff42f9ecbd63f6787e781d6f06bb28ca81e (diff)
initial Freebsd support. (#24467)
* add FreeBSD * move pragma clang diagnostic pop few lines down to avoild build error on FreeBSD with clang 3.9 * improve detection of in_pktinfo * correct detection of in_pktinfo * set __HostDistroRid properly to avoid warning on FreeBSD * roll-back freebsd change - rejected in #23986 * add support for OSGroup so this can be done consistently with managed code * support also -release to be consistent with top level build.sh. simple "release" arg still works * add -lpthread to get posix threads * initial implementation of System.Diagnostics.Process. more work to come * few FreeBSD fixes for run-test.sh * add VerifyFreeBSDDebugName test * fix up System.Diagnostics.Process to provide at least functionality needed by tests * add GetPathToOpenFile() * adress most feedback from review. refactor sysctl() to system/native. fix extra debug can commented code. handle free better. update calculation for process start. * minor clenup to avoid unnecesary diff and one more place to use PlatformDetection.IsFreeBSD * address review comments. mode and merge with OSX is still to do. * fix typo * fix mode for chmod(). It needs to be 644 and 744 in ocral mode. * address remaining comments from review * more style cleanup. Use -OS instead of -OSGroup to do cross-platform build * roll back -release and -debug option. this will be handled as separate change * remove unsued SystemNative_SysctlByName * remove one more place where sysctlByName sneaked in
Diffstat (limited to 'run-test.sh')
-rwxr-xr-xrun-test.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/run-test.sh b/run-test.sh
index 1fdc2d7991..9e9e0eac89 100755
--- a/run-test.sh
+++ b/run-test.sh
@@ -119,7 +119,9 @@ case $CPUName in
aarch64)
__Arch=arm64
;;
-
+ amd64)
+ __Arch=x64
+ ;;
*)
echo "Unknown CPU $CPUName detected, configuring as if for x64"
__Arch=x64
@@ -385,7 +387,7 @@ if [ $RunTestSequential -eq 1 ]
then
maxProcesses=1;
else
- if [ `uname` = "NetBSD" ]; then
+ if [ `uname` = "NetBSD" ] || [ `uname` = "FreeBSD" ]; then
maxProcesses=$(($(getconf NPROCESSORS_ONLN)+1))
else
maxProcesses=$(($(getconf _NPROCESSORS_ONLN)+1))