summaryrefslogtreecommitdiff
path: root/automated/lib/py_test_lib.py
diff options
context:
space:
mode:
Diffstat (limited to 'automated/lib/py_test_lib.py')
-rwxr-xr-xautomated/lib/py_test_lib.py4
1 files changed, 4 insertions, 0 deletions
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)