summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/gcc.py
diff options
context:
space:
mode:
authorLucian Musat <george.l.musat@intel.com>2015-07-17 12:54:36 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-23 08:48:38 +0100
commitcc2202b8b45ccdce16256cac3780aa7a546a882f (patch)
tree21fd2367df17f4471b38fcea0a68db71b1c98842 /meta/lib/oeqa/runtime/gcc.py
parent1bfb9327b7d7bba5b739483ee8571f1fe8263197 (diff)
downloadpoky-cc2202b8b45ccdce16256cac3780aa7a546a882f.tar.gz
oeqa/runtime: Added decorators for the remaining auto tests.
This helps for the automatic completion of the results in testopia. (From OE-Core rev: 9148e5873a79ea3ef64f00cf9807fae99bf3040a) Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/gcc.py')
-rw-r--r--meta/lib/oeqa/runtime/gcc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/gcc.py b/meta/lib/oeqa/runtime/gcc.py
index a7f62e1758..d90cd1799a 100644
--- a/meta/lib/oeqa/runtime/gcc.py
+++ b/meta/lib/oeqa/runtime/gcc.py
@@ -30,6 +30,7 @@ class GccCompileTest(oeRuntimeTest):
30 (status, output) = self.target.run('/tmp/test') 30 (status, output) = self.target.run('/tmp/test')
31 self.assertEqual(status, 0, msg="running compiled file failed, output %s" % output) 31 self.assertEqual(status, 0, msg="running compiled file failed, output %s" % output)
32 32
33 @testcase(1142)
33 def test_gpp2_compile(self): 34 def test_gpp2_compile(self):
34 (status, output) = self.target.run('g++ /tmp/test.cpp -o /tmp/test -lm') 35 (status, output) = self.target.run('g++ /tmp/test.cpp -o /tmp/test -lm')
35 self.assertEqual(status, 0, msg="g++ compile failed, output: %s" % output) 36 self.assertEqual(status, 0, msg="g++ compile failed, output: %s" % output)