summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtest.sh25
1 files changed, 6 insertions, 19 deletions
diff --git a/tests/runtest.sh b/tests/runtest.sh
index 9abf620a61..0513f2ec09 100755
--- a/tests/runtest.sh
+++ b/tests/runtest.sh
@@ -4,13 +4,12 @@ function print_usage {
echo ''
echo 'CoreCLR test runner script.'
echo 'Script uses next files if they exist:'
- echo ' unsupportedTests.<arch>.txt'
- echo ' unsupportedCrossgenLibs.<arch>.txt'
- echo ' unsupportedCrossgenTests.<arch>.txt'
+ echo ' unsupportedTests.txt'
+ echo ' unsupportedCrossgenLibs.txt'
+ echo ' unsupportedCrossgenTests.txt'
echo ''
echo 'Typical Tizen command:'
echo ' coreclr/tests/runtest.sh'
- echo ' --arch=arm'
echo ' --testRootDir="/opt/usr/coreclr-tc"'
echo ' --coreOverlayDir="/opt/usr/coreclr-tc/coreroot"'
echo ' --netcoreDir="/usr/share/dotnet.tizen/netcoreapp"'
@@ -24,7 +23,6 @@ function print_usage {
echo ' --libsCrossgenFailOutputPath="/opt/usr/coreclr-tc/results/crossgenlibs.fail.txt"'
echo ''
echo 'Required arguments:'
- echo ' --arch=<arch> : Target arch (for TW targets "arm" should be passed instead of "arm64").'
echo ' --testRootDir=<path> : Root directory of the test build (default: /opt/usr/coreclr-tc).'
echo ' --coreOverlayDir=<path> : Directory containing CLR and FX (default: /opt/usr/coreclr-tc/coreroot).'
echo ''
@@ -378,11 +376,11 @@ function read_array {
function load_unsupported_tests {
# Load the list of tests that are not supported on this platform
- unsupportedTests=($(read_array "$(dirname "$0")/unsupportedTests.$ARCH.txt"))
+ unsupportedTests=($(read_array "$(dirname "$0")/unsupportedTests.txt"))
# Load the list of libs that are not supported for crossgen on this platform
- unsupportedCrossGenLibs=($(read_array "$(dirname "$0")/unsupportedCrossgenLibs.$ARCH.txt"))
+ unsupportedCrossGenLibs=($(read_array "$(dirname "$0")/unsupportedCrossgenLibs.txt"))
# Load the list of test that are not supported for crossgen on this platform
- unsupportedCrossGenTests=($(read_array "$(dirname "$0")/unsupportedCrossgenTests.$ARCH.txt"))
+ unsupportedCrossGenTests=($(read_array "$(dirname "$0")/unsupportedCrossgenTests.txt"))
}
function is_unsupported_crossgen_lib {
@@ -750,9 +748,6 @@ do
-v|--verbose)
verbose=1
;;
- --arch=*)
- ARCH=${i#*=}
- ;;
--crossgen-libs)
doCrossgenLibs=1
;;
@@ -834,12 +829,6 @@ do
esac
done
-if [ -z "$ARCH" ]; then
- echo "--arch is required."
- print_usage
- exit $EXIT_CODE_EXCEPTION
-fi
-
if [ -z "$testRootDir" ]; then
echo "--testRootDir is required."
print_usage
@@ -864,8 +853,6 @@ export CORE_ROOT="$coreOverlayDir"
echo "! Make sure CLR/FX are copied to $coreOverlayDir !"
-echo "Running on CPU-$ARCH"
-
xunit_output_begin
text_file_output_begin
load_unsupported_tests