Tests: Output Python scripts for all targets
This commit is contained in:
@@ -60,8 +60,9 @@ namespace Il2CppInspector
|
|||||||
new CppScaffolding(appModel)
|
new CppScaffolding(appModel)
|
||||||
.Write(testPath + $@"\test-cpp-result{nameSuffix}");
|
.Write(testPath + $@"\test-cpp-result{nameSuffix}");
|
||||||
|
|
||||||
new PythonScript(appModel)
|
var python = new PythonScript(appModel);
|
||||||
.WriteScriptToFile(testPath + $@"\test-ida{nameSuffix}.py", "IDA",
|
foreach (var target in PythonScript.GetAvailableTargets())
|
||||||
|
python.WriteScriptToFile(testPath + $@"\test-{target.ToLower()}{nameSuffix}.py", target,
|
||||||
testPath + $@"\test-cpp-result{nameSuffix}\appdata\il2cpp-types.h",
|
testPath + $@"\test-cpp-result{nameSuffix}\appdata\il2cpp-types.h",
|
||||||
testPath + $@"\test-result{nameSuffix}.json");
|
testPath + $@"\test-result{nameSuffix}.json");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user