skia2/tests/TestHarness.h
John Stiles 333159568d Add CurrestTestHarness helper method to WasmGMTests.
Change-Id: Ifcfe69974fabf15f73ac010ab1ae6775868af629
Bug: skia:13037
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/519618
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-03-10 21:14:03 +00:00

25 lines
433 B
C

/*
* Copyright 2022 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef TestHarness_DEFINED
#define TestHarness_DEFINED
/**
* Identifies the currently-running test harness.
*/
enum class TestHarness {
kDM,
kFM,
kListGpuUnitTests,
kSkQP,
kWasmGMTests,
};
TestHarness CurrentTestHarness();
bool CurrentTestHarnessIsSkQP();
#endif