summaryrefslogtreecommitdiff
path: root/poky/meta/lib/oeqa/sdk/cases/makefile.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/lib/oeqa/sdk/cases/makefile.py')
-rw-r--r--poky/meta/lib/oeqa/sdk/cases/makefile.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/poky/meta/lib/oeqa/sdk/cases/makefile.py b/poky/meta/lib/oeqa/sdk/cases/makefile.py
index 2ff54ce25f..e1e2484820 100644
--- a/poky/meta/lib/oeqa/sdk/cases/makefile.py
+++ b/poky/meta/lib/oeqa/sdk/cases/makefile.py
@@ -5,6 +5,7 @@
#
import os, tempfile, subprocess
+import unittest
from oeqa.sdk.case import OESDKTestCase
from oeqa.utils.subprocesstweak import errors_have_output
errors_have_output()
@@ -13,6 +14,11 @@ class MakefileTest(OESDKTestCase):
"""
Test that "plain" compilation works, using just $CC $CFLAGS etc.
"""
+ def setUp(self):
+ libc = self.td.get("TCLIBC")
+ if libc in [ 'newlib' ]:
+ raise unittest.SkipTest("MakefileTest class: SDK doesn't contain a supported C library")
+
def test_lzip(self):
with tempfile.TemporaryDirectory(prefix="lzip", dir=self.tc.sdk_dir) as testdir:
tarball = self.fetch(testdir, self.td["DL_DIR"], "http://downloads.yoctoproject.org/mirror/sources/lzip-1.19.tar.gz")