blob: a39a5f46c592d3933b210745480e812595d86b0b [file] [log] [blame]
Hal Canarya9de7602018-01-19 13:08:23 -05001/*
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
Mike Kleinc0bd9f92019-04-23 12:05:21 -050013#include "tests/Test.h"
Hal Canarya9de7602018-01-19 13:08:23 -050014
15int main() {
16 std::vector<std::string> tests;
Hal Canary972eba32018-07-30 17:07:07 -040017 for (const skiatest::Test& test : skiatest::TestRegistry::Range()) {
Hal Canarya9de7602018-01-19 13:08:23 -050018 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}