blob: 380a88fc1575366da0694b3e1d8a9d5ceebf3b24 [file] [log] [blame]
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include "tests/Test.h"
#include "tests/TestHarness.h"
TestHarness CurrentTestHarness() {
return TestHarness::kListGpuUnitTests;
}
int main() {
std::vector<std::string> tests;
for (const skiatest::Test& test : skiatest::TestRegistry::Range()) {
if (test.fNeedsGpu) {
tests.push_back(std::string(test.fName));
}
}
std::sort(tests.begin(), tests.end());
for (const std::string& test : tests) {
std::cout << test << '\n';
}
}