diff options
Diffstat (limited to 'gm/gmmain.cpp')
-rw-r--r-- | gm/gmmain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 32ad413b9f..ca266e3f95 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -1559,8 +1559,8 @@ ErrorCombination run_multiple_configs(GMMain &gmmain, GM *gm, errorsForAllConfigs.add(kIntentionallySkipped_ErrorType); continue; } - if ((gmFlags & GM::kSkipGPU_Flag) && - kGPU_Backend == config.fBackend) { + if (((gmFlags & GM::kSkipGPU_Flag) && kGPU_Backend == config.fBackend) || + ((gmFlags & GM::kGPUOnly_Flag) && kGPU_Backend != config.fBackend)) { gmmain.RecordTestResults(kIntentionallySkipped_ErrorType, shortNamePlusConfig, renderModeDescriptor); errorsForAllConfigs.add(kIntentionallySkipped_ErrorType); |