[render-test] Add support for query tests

This commit is contained in:
Juha Alanen
2019-10-02 13:26:39 +03:00
committed by Juha Alanen
parent 18a426d748
commit 13801f1b80
16 changed files with 386 additions and 17 deletions

View File

@@ -81,7 +81,7 @@ int main(int argc, char** argv) {
bool shouldIgnore = false;
std::string ignoreReason;
const std::string ignoreName = "render-tests/" + id;
const std::string ignoreName = id;
const auto it = std::find_if(ignores.cbegin(), ignores.cend(), [&ignoreName](auto pair) { return pair.first == ignoreName; });
if (it != ignores.end()) {
shouldIgnore = true;