blob: 0155debffaecca9d14c59fdcd6637140c662fa00 [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
echo "Skipping unit tests, which need updating based on https://crrev.com/c/2488091"
exit 0
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