diff --git a/Il2CppTests/update-expected-results.ps1 b/Il2CppTests/update-expected-results.ps1 index a17a2a6..5fea1e1 100644 --- a/Il2CppTests/update-expected-results.ps1 +++ b/Il2CppTests/update-expected-results.ps1 @@ -10,8 +10,8 @@ $bin = (gci "$PSScriptRoot/TestBinaries/*/*" -Filter test-result.cs) $bin2 = (gci "$PSScriptRoot/TestBinaries/*/*" -Filter test-result-1.cs) $py = (gci "$PSScriptRoot/TestBinaries/*/*" -Filter test-ida-result.py) $py2 = (gci "$PSScriptRoot/TestBinaries/*/*" -Filter test-ida-result-1.py) -$cpp = (gci "$PSScriptRoot/TestBinaries/*/*" -Filter test-result.h) -$cpp2 = (gci "$PSScriptRoot/TestBinaries/*/*" -Filter test-result-1.h) +$cpp = (gci "$PSScriptRoot/TestBinaries/*/test-cpp-result/*" -Filter il2cpp-types.h) +$cpp2 = (gci "$PSScriptRoot/TestBinaries/*/test-cpp-result-1/*" -Filter il2cpp-types.h) # Get path to expected test results $results = "$PSScriptRoot/TestExpectedResults" @@ -37,11 +37,11 @@ $py2 | % { } $cpp | % { - $target = $results + "/" + (Split-Path -Path (Split-Path -Path $_) -Leaf) + ".h" + $target = $results + "/" + (Split-Path -Path (Split-Path -Path (Split-Path -Path $_)) -Leaf) + ".h" cp $_ -Destination $target -Force } $cpp2 | % { - $target = $results + "/" + (Split-Path -Path (Split-Path -Path $_) -Leaf) + "-1.h" + $target = $results + "/" + (Split-Path -Path (Split-Path -Path (Split-Path -Path $_)) -Leaf) + "-1.h" cp $_ -Destination $target -Force } \ No newline at end of file