2018-01-19 18:08:23 +00:00
|
|
|
/*
|
|
|
|
* 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 "Test.h"
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
std::vector<std::string> tests;
|
2018-07-30 21:07:07 +00:00
|
|
|
for (const skiatest::Test& test : skiatest::TestRegistry::Range()) {
|
2018-01-19 18:08:23 +00:00
|
|
|
if (test.needsGpu) {
|
|
|
|
tests.push_back(std::string(test.name));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
std::sort(tests.begin(), tests.end());
|
|
|
|
for (const std::string& test : tests) {
|
|
|
|
std::cout << test << '\n';
|
|
|
|
}
|
|
|
|
}
|