mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-04 20:02:50 +00:00
97fd2a6383
Summary: Two changes here: - Remove dead Jenkins related code which is no longer relevant. - Support `arc diff --preview`. Currently it doesn't work because a step which applies a diff assumes that a revision has been created. Which in case of `--preview` isn't. Therefore diff can't be applied and validation fails. Solution is to use `--nocommit` because for validation purposes performing a commit isn't necessary. Test Plan: - Current changes are submitted using `arc diff --preview`. - All the pre-commit verification tests passed. Reviewers: kradhakrishnan, sdong Reviewed By: sdong Subscribers: leveldb, andrewkr, jtolmer, dhruba Differential Revision: https://reviews.facebook.net/D59571
18 lines
712 B
PHP
18 lines
712 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() {
|
|
// For a call to `arc call-conduit differential.updateunitresults` to
|
|
// succeed we need at least one entry here.
|
|
$result = new ArcanistUnitTestResult();
|
|
$result->setName("dummy_placeholder_entry");
|
|
$result->setResult(ArcanistUnitTestResult::RESULT_PASS);
|
|
return array($result);
|
|
}
|
|
}
|