commit | 7d317f8b0be720c10394d94283c16583dad34b06 | [log] [tgz] |
---|---|---|
author | Chase Qi <chase.qi@linaro.org> | Wed Feb 08 08:29:48 2017 +0800 |
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | Mon Feb 20 13:19:30 2017 +0000 |
tree | 5de82fba7fe97d5b50f3335989e9c1ecc92a72e0 | |
parent | 6f49a1bbb11e50165dd17c4f67f49d8f10c01144 [diff] [blame] |
automated: android: add cts test Change-Id: I75eb65bc7de03cbe612b33c4ee69d50cfdc6608d Signed-off-by: Chase Qi <chase.qi@linaro.org>
diff --git a/automated/lib/py_test_lib.py b/automated/lib/py_test_lib.py new file mode 100755 index 0000000..e8932bf --- /dev/null +++ b/automated/lib/py_test_lib.py
@@ -0,0 +1,4 @@ +def add_result(result_file, result): + print(result) + with open(result_file, 'a') as f: + f.write('%s\n' % result)