[TIZEN] Add unsupportedTests.GCStress.riscv64.txt
authorTimur Mustafin <t.mustafin@partner.samsung.com>
Thu, 21 Mar 2024 13:25:41 +0000 (16:25 +0300)
committerGleb Balykov/Advanced System SW Lab /SRR/Staff Engineer/Samsung Electronics <g.balykov@samsung.com>
Mon, 25 Mar 2024 19:19:25 +0000 (22:19 +0300)
Tests marked by <GCStressIncompatible>true</GCStressIncompatible> in csproj may fail on GCStress mode. This list excludes them:
(Failed_on_riscv64_gcstress=0xc \ unsupportedTests.riscv64.txt) ∩ GCStressIncompatible_marked

packaging/coreclr.spec
runtest_clr.sh
unsupportedGCStressTests.riscv64.txt [new file with mode: 0644]

index 2686211..8788a9e 100644 (file)
@@ -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}
index 90be4ae..ecf2b21 100755 (executable)
@@ -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 (file)
index 0000000..5e91235
--- /dev/null
@@ -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