mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 08:42:40 +01:00
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
This commit is contained in:
parent
261fd592b9
commit
a5e2f81928
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ abstract class ArcanistLinterTestCase extends ArcanistTestCase {
|
||||||
|
|
||||||
} catch (ArcanistPhutilTestTerminatedException $ex) {
|
} catch (ArcanistPhutilTestTerminatedException $ex) {
|
||||||
throw $ex;
|
throw $ex;
|
||||||
|
} catch (ArcanistUsageException $ex) {
|
||||||
|
$this->assertSkipped($ex->getMessage());
|
||||||
} catch (Exception $exception) {
|
} catch (Exception $exception) {
|
||||||
$caught_exception = true;
|
$caught_exception = true;
|
||||||
$exception_message = $exception->getMessage()."\n\n".
|
$exception_message = $exception->getMessage()."\n\n".
|
||||||
|
|
Loading…
Reference in a new issue