huangcm
2025-08-25 f350412dc55c15118d0a7925d1071877498e5e24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * 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;
    for (const skiatest::Test& test : skiatest::TestRegistry::Range()) {
        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';
    }
}