#!/bin/bash -e | |
# Copyright 2020 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
set -x | |
MY_PATH=$(readlink -f ~/trunk/infra/tnull/metadata/all-tests.json) | |
tnull generate-full-request -output_json "${MY_PATH}" | |
tnull run-steps -input_json "${MY_PATH}" | |
if $? | |
then | |
echo "pass" | |
exit 0 | |
else | |
echo "fail" | |
exit 1 | |
fi |