• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2018 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #include <algorithm>
9 #include <iostream>
10 #include <string>
11 #include <vector>
12 
13 #include "tests/Test.h"
14 
main()15 int main() {
16     std::vector<std::string> tests;
17     for (const skiatest::Test& test : skiatest::TestRegistry::Range()) {
18         if (test.needsGpu) {
19             tests.push_back(std::string(test.name));
20         }
21     }
22     std::sort(tests.begin(), tests.end());
23     for (const std::string& test : tests) {
24         std::cout << test << '\n';
25     }
26 }
27