From a5e2f819289d4a3d4a015a7c067d164050dddf21 Mon Sep 17 00:00:00 2001 From: vrana Date: Wed, 12 Sep 2012 10:39:39 -0700 Subject: [PATCH] Skip linter tests with usage problems Summary: D3480#comment-1 Test Plan: This diff. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3481 --- src/lint/linter/__tests__/ArcanistLinterTestCase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lint/linter/__tests__/ArcanistLinterTestCase.php b/src/lint/linter/__tests__/ArcanistLinterTestCase.php index 6e6da640..ece66542 100644 --- a/src/lint/linter/__tests__/ArcanistLinterTestCase.php +++ b/src/lint/linter/__tests__/ArcanistLinterTestCase.php @@ -100,6 +100,8 @@ abstract class ArcanistLinterTestCase extends ArcanistTestCase { } catch (ArcanistPhutilTestTerminatedException $ex) { throw $ex; + } catch (ArcanistUsageException $ex) { + $this->assertSkipped($ex->getMessage()); } catch (Exception $exception) { $caught_exception = true; $exception_message = $exception->getMessage()."\n\n".