mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-02 10:15:54 +00:00
de22c7bd1f
Summary: After this diff, when a user submits a diff from Facebook's VPN network, we'll automatically trigger a jenkins test. Once jenkins test is done, we'll update the diff with test results. Test Plan: Made sure that jenkins build is triggered on `arc diff` and that result is reflected back on the diff Reviewers: sdong, rven, kradhakrishnan, anthony, yhchiang Reviewed By: anthony Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D36555
19 lines
717 B
PHP
19 lines
717 B
PHP
<?php
|
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
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);
|
|
}
|
|
}
|