From 4465c9368b0c37a3a2c41b68f65de08690a8179b Mon Sep 17 00:00:00 2001 From: Ting Wang Date: Fri, 3 Jan 2014 13:36:51 +0800 Subject: lib/oeqa/runtime: add test for python Run a python script on the target 1)checks the output. 2)Call os.system method create a testfile Signed-off-by: Saul Wold --- meta/lib/oeqa/runtime/files/test.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta/lib/oeqa/runtime/files/test.py (limited to 'meta/lib/oeqa/runtime/files') diff --git a/meta/lib/oeqa/runtime/files/test.py b/meta/lib/oeqa/runtime/files/test.py new file mode 100644 index 0000000000..f3a2273c52 --- /dev/null +++ b/meta/lib/oeqa/runtime/files/test.py @@ -0,0 +1,6 @@ +import os + +os.system('touch /tmp/testfile.python') + +a = 9.01e+21 - 9.01e+21 + 0.01 +print "the value of a is %s" % a -- cgit 1.2.3-korg