a9de760a21
Also clean up some things, fix docs, whitelist. Change-Id: I2818d973978ffe1b8ce0cc9c69f8d91ab4a0ef22 Reviewed-on: https://skia-review.googlesource.com/91805 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
28 lines
665 B
C++
28 lines
665 B
C++
/*
|
|
* 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::TestRegistry* r = skiatest::TestRegistry::Head(); r; r = r->next()) {
|
|
const skiatest::Test& test = r->factory();
|
|
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';
|
|
}
|
|
}
|