blob: 9b6ea342245f66e43a00cd14511584eb82af7b82 [file] [log] [blame]
# Copyright 2017 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.
import json
DEPS = [
'recipe_engine/path',
'recipe_engine/platform',
'recipe_engine/step',
'traceback',
]
def RunSteps(api):
try:
json.load("not a JSON")
except Exception:
api.step('echo', ['echo', api.traceback.format_exc()])
def GenTests(api):
yield api.test(
'linux',
api.platform('linux', 64),
)
yield api.test(
'mac',
api.platform('mac', 64),
)
yield api.test(
'win',
api.platform('win', 32),
)