[Tizen] runtest.sh: move System.Private.CoreLib.dll to System.Private.CoreLib.dll...
authorGleb Balykov <g.balykov@samsung.com>
Wed, 2 Feb 2022 17:51:29 +0000 (20:51 +0300)
committerAlexander Soldatov/Platform Lab /SRR/Staff Engineer/Samsung Electronics <soldatov.a@samsung.com>
Fri, 4 Mar 2022 14:48:50 +0000 (17:48 +0300)
runtest_clr.sh

index 5034fba..56b53f2 100755 (executable)
@@ -453,13 +453,13 @@ function crossgen_file {
     else
         echo Crossgen success $dll_path.
         echo "$dll_path" >> "$libsCrossgenPassOutputPath"
-    fi
 
-    if [[ "${name}" == "System.Private.CoreLib.dll" ]]; then
-        # SPC.ni.dll can be used directly without ni.dll.tmp
-        # (because SPC doesn't use any dependencies)
-        mv $dll_path $dll_path.bak
-        mv $tmp_ni_path $dll_path
+        if [[ "${name}" == "System.Private.CoreLib.dll" ]]; then
+            # SPC.ni.dll can be used directly without ni.dll.tmp
+            # (because SPC doesn't use any dependencies)
+            mv $dll_path $dll_path.bak
+            mv $tmp_ni_path $dll_path
+        fi
     fi
 
     rm $dll_path.out