blob: 0155debffaecca9d14c59fdcd6637140c662fa00 [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
Sean Abrahamc52694c2020-10-20 17:22:16 -06007
8echo "Skipping unit tests, which need updating based on https://crrev.com/c/2488091"
9exit 0
10
Jacob Kopczynski442ae5c2020-07-20 17:33:33 -070011T_PATH=$(readlink -f ~/trunk/infra/tnull/metadata/known_good_tests.json)
12INV_PATH=$(readlink -f ~/trunk/infra/tnull/metadata/unittests.json)
13tnull generate-full-request -input_json "${T_PATH}" -output_json "${INV_PATH}"
14tnull run-steps -input_json "${INV_PATH}"
15if [ $? ] ; then
Jacob Kopczynski6455fd62020-06-21 13:37:23 -070016 echo "pass"
Jacob Kopczynski6b2ae3c2020-07-20 15:29:14 -070017 exit 0
Jacob Kopczynski6455fd62020-06-21 13:37:23 -070018else
19 echo "fail"
Jacob Kopczynski6b2ae3c2020-07-20 15:29:14 -070020 exit 1
Jacob Kopczynski6455fd62020-06-21 13:37:23 -070021fi