# Copyright 2022 The Fuchsia Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
DEPS = [ | |
"fuchsia/ninja", | |
"recipe_engine/path", | |
] | |
def RunSteps(api): | |
api.ninja( | |
"run ninja", | |
build_dir=api.path["start_dir"].join("out"), | |
ninja_jobs=8, | |
) | |
def GenTests(api): | |
yield api.test("basic") | |
yield api.test("fail", status="FAILURE") + api.step_data("run ninja", retcode=1) |