#!/usr/bin/env bash usage() { echo "Runs .NET CoreFX tests on FreeBSD, Linux, NetBSD or OSX" echo "usage: run-corefx-tests [options]" echo echo "Input sources:" echo " --runtime Location of root of the binaries directory" echo " containing the FreeBSD, Linux, NetBSD or OSX runtime" echo " default: /bin/testhost/netcoreapp---" echo " --corefx-tests Location of the root binaries location containing" echo " the tests to run" echo " default: /bin" echo echo "Flavor/OS/Architecture options:" echo " --configurationGroup ConfigurationGroup to run (Debug/Release)" echo " default: Debug" echo " --os OS to run (FreeBSD, Linux, NetBSD or OSX)" echo " default: detect current OS" echo " --arch Architecture to run (x64, arm, armel, x86, arm64)" echo " default: detect current architecture" echo echo "Execution options:" echo " --sequential Run tests sequentially (default is to run in parallel)." echo " --restrict-proj Run test projects that match regex" echo " default: .* (all projects)" echo " --useServerGC Enable Server GC for this test run" echo " --test-dir Run tests only in the specified directory. Path is relative to the directory" echo " specified by --corefx-tests" echo " --test-dir-file Run tests only in the directories specified by the file at . Paths are" echo " listed one line, relative to the directory specified by --corefx-tests" echo " --test-exclude-file Do not run tests in the directories specified by the file at . Paths are" echo " listed one line, relative to the directory specified by --corefx-tests" echo " --timeout