blob: b6d8aacc61b826d0dc8bfe381bbe7d69a2c8ede5 [file] [log] [blame]
#!/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
T_PATH=$(readlink -f ~/trunk/infra/tnull/metadata/known_good_tests.json)
INV_PATH=$(readlink -f ~/trunk/infra/tnull/metadata/unittests.json)
tnull generate-full-request -input_json "${T_PATH}" -output_json "${INV_PATH}"
tnull run-steps -input_json "${INV_PATH}"
if [ $? ] ; then
echo "pass"
exit 0
else
echo "fail"
exit 1
fi