From: Timur Mustafin Date: Thu, 21 Mar 2024 13:25:41 +0000 (+0300) Subject: [TIZEN] Add unsupportedTests.GCStress.riscv64.txt X-Git-Tag: accepted/tizen/unified/x/20240419.130259~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93bf6f2df428155f50a742c5cc27d42664678fbd;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [TIZEN] Add unsupportedTests.GCStress.riscv64.txt Tests marked by true in csproj may fail on GCStress mode. This list excludes them: (Failed_on_riscv64_gcstress=0xc \ unsupportedTests.riscv64.txt) ∩ GCStressIncompatible_marked --- diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec index 2686211..8788a9e 100644 --- a/packaging/coreclr.spec +++ b/packaging/coreclr.spec @@ -659,6 +659,7 @@ chmod +x %{buildroot}/%{clrtestdir}/runtest.sh cp unsupportedCrossgenLibs.%{_barch}.txt %{buildroot}/%{clrtestdir}/unsupportedCrossgenLibs.txt | true cp unsupportedCrossgenTests.%{_barch}.txt %{buildroot}/%{clrtestdir}/unsupportedCrossgenTests.txt | true cp unsupportedTests.%{_barch}.txt %{buildroot}/%{clrtestdir}/unsupportedTests.txt | true +cp unsupportedGCStressTests.%{_barch}.txt %{buildroot}/%{clrtestdir}/unsupportedGCStressTests.txt | true %define _tcreldir artifacts/tests/coreclr/linux.%{_barch}.%{dotnet_buildtype_clr} cp -r %{_tcreldir}/* %{buildroot}/%{clrtestdir} diff --git a/runtest_clr.sh b/runtest_clr.sh index 90be4aeb..ecf2b21 100755 --- a/runtest_clr.sh +++ b/runtest_clr.sh @@ -7,6 +7,7 @@ function print_usage { echo ' unsupportedTests.txt' echo ' unsupportedCrossgenLibs.txt' echo ' unsupportedCrossgenTests.txt' + echo ' unsupportedGCStressTests.txt' echo '' echo 'Typical Tizen command:' echo ' coreclr/tests/runtest.sh' @@ -366,6 +367,7 @@ trap handle_ctrl_c INT declare -a unsupportedCrossGenLibs declare -a unsupportedCrossGenTests declare -a unsupportedTests +declare -a unsupportedGCStressTests # Get an array of items by reading the specified file line by line. function read_array { @@ -393,6 +395,8 @@ function load_unsupported_tests { 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.txt")) + # Load the list of tests that are not supported on this platform in GCStress mode + unsupportedGCStressTests=($(read_array "$(dirname "$0")/unsupportedGCStressTests.txt")) } function is_unsupported_crossgen_lib { @@ -419,6 +423,14 @@ function is_unsupported_test { done fi + if [[ ! -z "$COMPlus_GCStress" ]] && [[ "$COMPlus_GCStress" -ne "0" ]]; then + for unsupported in "${unsupportedGCStressTests[@]}"; do + if [ "$1" == "$unsupported" ]; then + return 0 + fi + done + fi + return 1 } @@ -810,6 +822,15 @@ useMulticoreJitNoProfileGather=0 crossgenOpts="" crossgen2Opts="" +export COMPlus_MultiCoreJitProfile= +export COMPlus_MultiCoreJitMinNumCpus= +export COMPlus_MultiCoreJitNoProfileGather= +export RunCrossGen= +export RunCrossGen2= +export COMPlus_JitStress= +export COMPlus_JitStressRegs= +export COMPlus_GCStress= + for i in "$@" do case $i in diff --git a/unsupportedGCStressTests.riscv64.txt b/unsupportedGCStressTests.riscv64.txt new file mode 100644 index 0000000..5e91235 --- /dev/null +++ b/unsupportedGCStressTests.riscv64.txt @@ -0,0 +1,27 @@ +CoreMangLib/system/span/SlowTailCallArgs/SlowTailCallArgs.sh +GC/API/Frozen/Frozen/Frozen.sh +GC/API/GC/GetTotalMemory/GetTotalMemory.sh +GC/API/GC/GetTotalPauseDuration/GetTotalPauseDuration.sh +GC/API/NoGCRegion/Callback/Callback.sh +GC/API/NoGCRegion/Callback_Svr/Callback_Svr.sh +GC/Regressions/v2.0-beta2/452950/452950/452950.sh +GC/Regressions/v2.0-rtm/494226/494226/494226.sh +JIT/Methodical/doublearray/dblarray1_cs_d/dblarray1_cs_d.sh +JIT/Methodical/doublearray/dblarray1_cs_do/dblarray1_cs_do.sh +JIT/Methodical/doublearray/dblarray1_cs_r/dblarray1_cs_r.sh +JIT/Methodical/doublearray/dblarray1_cs_ro/dblarray1_cs_ro.sh +JIT/Methodical/doublearray/dblarray2_cs_d/dblarray2_cs_d.sh +JIT/Methodical/doublearray/dblarray2_cs_do/dblarray2_cs_do.sh +JIT/Methodical/doublearray/dblarray2_cs_r/dblarray2_cs_r.sh +JIT/Methodical/doublearray/dblarray2_cs_ro/dblarray2_cs_ro.sh +JIT/Methodical/doublearray/dblarray3_cs_d/dblarray3_cs_d.sh +JIT/Methodical/doublearray/dblarray3_cs_do/dblarray3_cs_do.sh +JIT/Methodical/doublearray/dblarray3_cs_r/dblarray3_cs_r.sh +JIT/Methodical/doublearray/dblarray3_cs_ro/dblarray3_cs_ro.sh +JIT/Methodical/doublearray/dblarray4_cs_d/dblarray4_cs_d.sh +JIT/Methodical/doublearray/dblarray4_cs_do/dblarray4_cs_do.sh +JIT/Methodical/doublearray/dblarray4_cs_r/dblarray4_cs_r.sh +JIT/Methodical/doublearray/dblarray4_cs_ro/dblarray4_cs_ro.sh +JIT/Performance/CodeQuality/Roslyn/CscBench/CscBench.sh +profiler/handles/handles/handles.sh +profiler/unittest/getappdomainstaticaddress/getappdomainstaticaddress.sh