mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-23 14:24:52 +00:00
headless: Correct tests.
This commit is contained in:
parent
89ea9625a5
commit
ed2ade4e22
@ -209,7 +209,7 @@ std::string GetTestName(const Path &bootFilename)
|
||||
}
|
||||
|
||||
bool CompareOutput(const Path &bootFilename, const std::string &output, bool verbose) {
|
||||
Path expect_filename = bootFilename.WithReplacedExtension("prx", "expected");
|
||||
Path expect_filename = bootFilename.WithReplacedExtension(".prx", ".expected");
|
||||
std::unique_ptr<FileLoader> expect_loader(ConstructFileLoader(expect_filename));
|
||||
|
||||
if (expect_loader->Exists()) {
|
||||
@ -271,7 +271,7 @@ bool CompareOutput(const Path &bootFilename, const std::string &output, bool ver
|
||||
printf("%s", output.c_str());
|
||||
printf("============== expected output:\n");
|
||||
std::string fullExpected;
|
||||
if (File::ReadFileToString(true, Path(expect_filename), fullExpected))
|
||||
if (File::ReadFileToString(true, expect_filename, fullExpected))
|
||||
printf("%s", fullExpected.c_str());
|
||||
printf("===============================\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user