summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/files
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2019-06-07 16:47:54 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-08 16:01:41 +0100
commit716dff0b2fcf578a01c1aa247df0a4c9697fa9d3 (patch)
tree1c3318b6cb61b1b4e56b43513ab574a4ab7eee04 /meta/lib/oeqa/runtime/files
parent2209af86ed356c007cb140ac12f79bc4efca21f5 (diff)
downloadpoky-716dff0b2fcf578a01c1aa247df0a4c9697fa9d3.tar.gz
oeqa/runtime: add simple test for scons
This test simply compiles a hello world program using scons. (From OE-Core rev: bf6e3f0f3a7a134e8e3cb16366ef01b8c956e4c8) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/files')
-rw-r--r--meta/lib/oeqa/runtime/files/SConstruct1
-rw-r--r--meta/lib/oeqa/runtime/files/hello.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/files/SConstruct b/meta/lib/oeqa/runtime/files/SConstruct
new file mode 100644
index 0000000000..d2cb6dd122
--- /dev/null
+++ b/meta/lib/oeqa/runtime/files/SConstruct
@@ -0,0 +1 @@
Program('hello.c')
diff --git a/meta/lib/oeqa/runtime/files/hello.c b/meta/lib/oeqa/runtime/files/hello.c
new file mode 100644
index 0000000000..b0697a3304
--- /dev/null
+++ b/meta/lib/oeqa/runtime/files/hello.c
@@ -0,0 +1,5 @@
1int
2 main()
3 {
4 printf("Hello, world!\n");
5 }