blob: 81f7c5dfd0b542286fb24662d9cc70dcb59b1a21 [file] [log] [blame]
Jacob Kopczynski436d1562020-06-21 13:37:23 -07001#!/bin/bash -e
2# Copyright 2020 The Chromium OS Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
Jacob Kopczynski6455fd62020-06-21 13:37:23 -07006set -x
7MY_PATH=$(readlink -f ~/trunk/infra/tnull/metadata/all-tests.json)
8tnull generate-full-request -output_json "${MY_PATH}"
9tnull run-steps -input_json "${MY_PATH}"
10if $?
11then
12 echo "pass"
Jacob Kopczynski6b2ae3c2020-07-20 15:29:14 -070013 exit 0
Jacob Kopczynski6455fd62020-06-21 13:37:23 -070014else
15 echo "fail"
Jacob Kopczynski6b2ae3c2020-07-20 15:29:14 -070016 exit 1
Jacob Kopczynski6455fd62020-06-21 13:37:23 -070017fi