blob: 1f57f4a71d611b9f11bbf1705a39da1016329e50 [file] [log] [blame]
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from PB.recipe_modules.recipe_engine.swarming import properties
from recipe_engine.post_process import DoesNotRun, Filter, StatusFailure
DEPS = [
'flutter/logs_util',
'recipe_engine/path',
]
def RunSteps(api):
env = {}
api.logs_util.initialize_logs_collection(env)
api.logs_util.upload_logs('mytaskname')
s = api.path['cleanup'].join('flutter_logs_dir')
api.logs_util.upload_test_metrics(s, 'taskname', 'hash')
api.logs_util.upload_test_metrics('/path/to/tmp/json', 'taskname2')
def GenTests(api):
yield api.test('basic')