diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2017-08-29 08:44:13 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-08-29 22:08:20 -0700 |
commit | 2777b7771e788a7c2205c907710b703c48efedc5 (patch) | |
tree | 4ca5c44a99d4c0e6d0bdb2413a55d159e5b14c9e /extra | |
parent | c1e5671e561c82c9532cb29b17fc7cf4061ab20a (diff) | |
download | chrome-ec-2777b7771e788a7c2205c907710b703c48efedc5.tar.gz |
presubmit_check: Check unittests results on extra/stack_analyzer
BRANCH=none
BUG=none
TEST=util/presubmit_check.sh
Change-Id: I6078377603719de1d633660c69ad3a40b29ffadf
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/640191
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Che-yu Wu <cheyuw@google.com>
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/stack_analyzer/run_tests.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/stack_analyzer/run_tests.sh b/extra/stack_analyzer/run_tests.sh new file mode 100755 index 0000000000..0e307d8d4a --- /dev/null +++ b/extra/stack_analyzer/run_tests.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# +# Copyright 2017 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. + +# Discover all the unit tests in extra/stack_analyzer directory and run them. +python2 -m unittest discover -b -s extra/stack_analyzer -p *_unittest.py \ + && touch extra/stack_analyzer/.tests-passed |