if root_path == "None":
return f"FAIL : Get the root path for {pkg_id}"
- raw = cmd(f"shell find {root_path}/bin/ -name .native_image")
- if ".native_image" in raw:
+ if exist(f"{root_path}/bin/.native_image"):
return "FAIL : The .native_image folder should not exist"
raw = cmd(f"shell find {root_path}/bin/ -name *.ni.dll")
if root_path == "None":
return f"FAIL : Get the root path for {pkg_id}"
- raw = cmd(f"shell find {root_path}/bin/ -name .native_image")
- if ".native_image" not in raw:
+ if not exist(f"{root_path}/bin/.native_image"):
return "FAIL : The .native_image folder should exist"
raw = cmd(f"shell find {root_path}/bin/.native_image/ -name *.ni.dll")
if root_path == "None":
return f"FAIL : Get the root path for {pkg_id}"
- raw = cmd(f"shell find {root_path}/bin/ -name .native_image")
- if ".native_image" in raw:
+ if exist(f"{root_path}/bin/.native_image"):
return "FAIL : The .native_image folder should not exist"
raw = cmd(f"shell find {root_path}/bin/ -name *.ni.dll")