From: j-h.choi Date: Mon, 19 Feb 2024 08:31:40 +0000 (+0900) Subject: Fixed bug that check the arch of device X-Git-Tag: accepted/tizen/unified/20240220.115648~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8905e11387186ec55461c761523adad24005c354;p=platform%2Fcore%2Fdotnet%2Flauncher.git Fixed bug that check the arch of device Change-Id: Ia27f81678ad75cc5d5029a2d9288c27f8319f291 --- diff --git a/tests/TCs/Utils.py b/tests/TCs/Utils.py index 0a25754..da67ff3 100755 --- a/tests/TCs/Utils.py +++ b/tests/TCs/Utils.py @@ -164,10 +164,10 @@ def check_library_arch(rootpath, library): subprocess.run((f"rm ./{library}").split(), encoding="utf-8", stdout=subprocess.PIPE).stdout device_arch = get_device_arch() - if "armv7" == device_arch: + if "armv7" in device_arch: if "ARM" not in raw: return "FAIL" - elif "x86" == device_arch: + elif "x86" in device_arch: if "Intel 80386" not in raw: return "FAIL" else: @@ -199,7 +199,7 @@ def run_tc_array(module_name, tc_array): return str(n) + ":" + str(f) + ":" + str(p) def check_tc_support(): - if "armv8" == get_device_arch(): + if "armv8" in get_device_arch(): return False else: return True