Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Unified Diff: tests/Test.h

Issue 144343004: Add --skip_cpu and --skip_gpu options to tests (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/skia_test.cpp » ('j') | tests/skia_test.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/Test.h
diff --git a/tests/Test.h b/tests/Test.h
index 2dc7c66f7c2e2833eb2639b26989a73f06be93e0..935568c6f45e6fa00a47dd08ce05be4974132699 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -66,6 +66,8 @@ namespace skiatest {
virtual bool isThreadsafe() const { return true; }
+ virtual bool isGPUTest() const { return false; }
mtklein 2014/01/27 22:35:29 Can you fold isThreadsafe and this together? isTh
borenet 2014/01/28 18:42:09 Done.
+
protected:
virtual void onGetName(SkString*) = 0;
virtual void onRun(Reporter*) = 0;
@@ -83,6 +85,7 @@ namespace skiatest {
static GrContextFactory* GetGrContextFactory();
static void DestroyContexts();
virtual bool isThreadsafe() const { return false; }
+ virtual bool isGPUTest() const { return true; }
private:
};
« no previous file with comments | « no previous file | tests/skia_test.cpp » ('j') | tests/skia_test.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698