mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-03 05:54:17 +00:00
a1581eca87
Summary: This was motivated by t7518166. checkCpp crashes on db_test.cc because the file is too big :( Couple of changes: * Added clang-format linter. Now we can catch all code that is not formatted correctly. * Added Howtoeven in our list of linters * Replaced cpplint with flint * Removed checkCpp lint. Nobody ownes it and it doesn't work on db_test.cc Test Plan: Made a random lint error and `arc lint`. Saw an error. Reviewers: yhchiang, kradhakrishnan, anthony, sdong Reviewed By: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D41949
22 lines
945 B
PHP
22 lines
945 B
PHP
<?php
|
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
// This source code is licensed under the BSD-style license found in the
|
|
// LICENSE file in the root directory of this source tree. An additional grant
|
|
// of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
class FacebookFbcodeUnitTestEngine extends ArcanistBaseUnitTestEngine {
|
|
|
|
public function run() {
|
|
// Here we create a new unit test "jenkins_async_test" and promise we'll
|
|
// update the results later.
|
|
// Jenkins updates the results using `arc call-conduit
|
|
// differential.updateunitresults` call. If you change the name here, also
|
|
// make sure to change the name in Jenkins script that updates the test
|
|
// result -- they have to be the same.
|
|
$result = new ArcanistUnitTestResult();
|
|
$result->setName("jenkins_async_test");
|
|
$result->setResult(ArcanistUnitTestResult::RESULT_POSTPONED);
|
|
return array($result);
|
|
}
|
|
}
|