summaryrefslogtreecommitdiff
path: root/util/ec3po/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/ec3po/run_tests.sh')
-rwxr-xr-xutil/ec3po/run_tests.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/ec3po/run_tests.sh b/util/ec3po/run_tests.sh
new file mode 100755
index 0000000000..f0ef348273
--- /dev/null
+++ b/util/ec3po/run_tests.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+#
+# Copyright 2015 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 the ec3po directory and run them.
+python2 -m unittest discover -b -s util/ec3po/ -p *_unittest.py \
+ && touch util/ec3po/.tests-passed