diff options
| author | 2019-04-04 18:05:57 -0400 | |
|---|---|---|
| committer | 2019-06-10 00:03:11 -0400 | |
| commit | f279e792b7c23a9fabce7c56c53c01fcf4e87547 (patch) | |
| tree | 1229e5662adc8976b24471de7bd2dc3857c2ab58 /src/yuzu_tester/yuzu.cpp | |
| parent | yuzu_tester: Add 'yuzutest' service (diff) | |
| download | yuzu-f279e792b7c23a9fabce7c56c53c01fcf4e87547.tar.gz yuzu-f279e792b7c23a9fabce7c56c53c01fcf4e87547.tar.xz yuzu-f279e792b7c23a9fabce7c56c53c01fcf4e87547.zip | |
yuzutest: Support multiple tests per executable
Diffstat (limited to 'src/yuzu_tester/yuzu.cpp')
| -rw-r--r-- | src/yuzu_tester/yuzu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_tester/yuzu.cpp b/src/yuzu_tester/yuzu.cpp index 84d277fcf..0f7067541 100644 --- a/src/yuzu_tester/yuzu.cpp +++ b/src/yuzu_tester/yuzu.cpp | |||
| @@ -170,7 +170,7 @@ int main(int argc, char** argv) { | |||
| 170 | 170 | ||
| 171 | bool finished = false; | 171 | bool finished = false; |
| 172 | int return_value = 0; | 172 | int return_value = 0; |
| 173 | const auto callback = [&finished, &return_value](u32 code, std::string string) { | 173 | const auto callback = [&finished, &return_value](std::vector<Service::Yuzu::TestResult>) { |
| 174 | finished = true; | 174 | finished = true; |
| 175 | return_value = code & 0xFF; | 175 | return_value = code & 0xFF; |
| 176 | const auto text = fmt::format("Test Finished [Result Code: {:08X}]\n{}", code, string); | 176 | const auto text = fmt::format("Test Finished [Result Code: {:08X}]\n{}", code, string); |