xref: /aosp_15_r20/external/skia/tests/TestHarness.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1 /*
2  * Copyright 2022 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 #ifndef TestHarness_DEFINED
9 #define TestHarness_DEFINED
10 
11 /**
12  * Identifies the currently-running test harness.
13  */
14 enum class TestHarness {
15     kDM,
16     kFM,
17     kListGpuUnitTests,
18     kSkQP,
19     kWasmGMTests,
20     kBazelUnitTestRunner,
21 };
22 TestHarness CurrentTestHarness();
23 bool CurrentTestHarnessIsSkQP();
24 
25 #endif
26