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)