raw = cmd(f"shell find {RUNTIME_DIR} -name *.ni.dll")
lines1 = [l for l in raw.splitlines()]
+ len1 = len(lines1) + 2 # System.Private.CoreLib.dll, System.Runtime.WindowsRuntime.dll
raw = cmd(f"shell find {RUNTIME_DIR} -name *.dll -not -name *.ni.dll")
lines2 = [l for l in raw.splitlines()]
- if (len(lines1) + 2) != len(lines2):
- return "FAIL : The number of .dll and .ni.dll must match"
+ len2 = len(lines2)
+ if len1 != len2:
+ return f"FAIL : The number of .dll({len2}) and .ni.dll({len1}) must match in the {RUNTIME_DIR}"
raw = cmd(f"shell find {FRAMEWORK_DIR} -name *.ni.dll")
lines1 = [l for l in raw.splitlines()]
+ len1 = len(lines1)
raw = cmd(f"shell find {FRAMEWORK_DIR} -name *.dll -not -name *.ni.dll")
lines2 = [l for l in raw.splitlines() if "/ref/" not in l]
- if len(lines1) != len(lines2):
- return "FAIL : The number of .dll and .ni.dll must match"
+ len2 = lne(lines2)
+ if len1 != len2:
+ return f"FAIL : The number of .dll({len2}) and .ni.dll({len1}) must match in the {FRAMEWORK_DIR}"
for ni in lines1:
is_same = False
# Create a native image for netstandard.dll by specifying the directory containing the IBC files.
def TC_09():
- current_path = os.path.abspath(__file__)
packaging_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../../packaging"))
ibcdata_zip = ""