1
0
Fork 0
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:
vrana 2012-09-12 10:39:39 -07:00
parent 261fd592b9
commit a5e2f81928

View file

@ -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".