if len([l for l in raw.splitlines()]) == 0:
return "FAIL : The assembly of .preload file should be loaded in the candidate process"
- for preload in lines:
- if ("XSF" in preload) and (f"{FRAMEWORK_DIR}XSF." not in raw):
- return "FAIL : The assembly of XSF.preload file should be loaded in the candidate process"
+# for preload in lines:
+# if ("XSF" in preload) and (f"{FRAMEWORK_DIR}XSF." not in raw):
+# return "FAIL : The assembly of XSF.preload file should be loaded in the candidate process"
if (f"{FRAMEWORK_DIR}Tizen.Runtime." not in raw) or \
(f"{FRAMEWORK_DIR}Tizen." not in raw) or \
- (f"{FRAMEWORK_DIR}ElmSharp." not in raw) or \
(f"{FRAMEWORK_DIR}Tizen.Applications.Common." not in raw) or \
(f"{FRAMEWORK_DIR}Tizen.Applications.UI." not in raw) or \
(f"{FRAMEWORK_DIR}Tizen.Log." not in raw) or \
- (f"{FRAMEWORK_DIR}Tizen.System.Information." not in raw):
+ (f"{FRAMEWORK_DIR}Tizen.System.Information." not in raw) or \
+ (f"{FRAMEWORK_DIR}Tizen.System.SystemSettings." not in raw) or \
+ (f"{FRAMEWORK_DIR}Tizen.NUI." not in raw) or \
+ (f"{FRAMEWORK_DIR}Tizen.NUI.Components." not in raw):
return "FAIL : The assembly of .preload file should be loaded in the candidate process"
return "PASS"
pkg_id = f"org.tizen.example.Launcher_TC_PRELOAD_02"
- raw = prepare_candidate_process(f"dotnet-nui-loader", f"{pkg_id}")
+ raw = prepare_candidate_process(f"dotnet-loader", f"{pkg_id}")
if "OK" not in raw:
return f"FAIL : Candidate process should have dotnet-nui-loader"
f2 = open("./dotnet.loader.origin", "r")
for line in f2:
- if line.startswith("EXE "):
+ if line.startswith("EXE"):
f1.write(line.replace("EXE", "#EXE"))
- elif line.startswith("#EXE "):
+ elif line.startswith("#EXE"):
f1.write(line.replace("#EXE", "EXE"))
- elif line.startswith("HYDRA "):
+ elif line.startswith("HYDRA"):
f1.write(line.replace("OFF", "ON"))
else:
f1.write(line)
cmd(f"root on")
cmd(f"shell mount -o remount,rw /")
- if "OK" not in prepare_candidate_process(f"dotnet-loader", f"{pkg_id}"):
+ if "OK" not in prepare_candidate_process(f"dotnet-hydra-loader", f"{pkg_id}"):
return f"FAIL : Candidate process should have dotnet-loader"
raw = cmd(f"shell ps -ef | grep dotnet-hydra-loader")
else:
tc_array.append(funcMap[tc_num])
else:
- tc_array = [TC_01, TC_02, TC_03, TC_04]
+ tc_array = [TC_01, TC_02, TC_04]
+ #skip TC_03(dotnet-nui-loader)
global serial
if len(sys.argv) >= 2 and "TC_" not in sys.argv[1]: