Update TestRunner and update-expected-results.ps1

This commit is contained in:
Katy Coe
2020-08-02 22:19:31 +02:00
parent 8926af341f
commit 19a5b3735b
2 changed files with 22 additions and 6 deletions

View File

@@ -54,6 +54,9 @@ namespace Il2CppInspector
MustCompile = true
}.WriteSingleFile(testPath + $@"\test-result{nameSuffix}.cs");
new JSONMetadata(appModel)
.Write(testPath + $@"\test-result{nameSuffix}.json");
new IDAPythonScript(appModel)
.WriteScriptToFile(testPath + $@"\test-ida-result{nameSuffix}.py",
testPath + $@"\test-cpp-result{nameSuffix}\appdata\il2cpp-types.h");
@@ -67,6 +70,7 @@ namespace Il2CppInspector
var suffix = (i > 0 ? "-" + i : "");
compareFiles(testPath, suffix + ".cs", $"test-result{suffix}.cs");
compareFiles(testPath, suffix + ".json", $"test-result{suffix}.json");
compareFiles(testPath, suffix + ".h", $@"test-cpp-result{suffix}\appdata\il2cpp-types.h");
compareFiles(testPath, suffix + ".py", $"test-ida-result{suffix}.py");
}