summaryrefslogtreecommitdiff
path: root/poky/meta/lib/oeqa/sdk/cases/autotools.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/lib/oeqa/sdk/cases/autotools.py')
-rw-r--r--poky/meta/lib/oeqa/sdk/cases/autotools.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/poky/meta/lib/oeqa/sdk/cases/autotools.py b/poky/meta/lib/oeqa/sdk/cases/autotools.py
index 848e9392ec..4bac28f04d 100644
--- a/poky/meta/lib/oeqa/sdk/cases/autotools.py
+++ b/poky/meta/lib/oeqa/sdk/cases/autotools.py
@@ -7,6 +7,7 @@
import os
import tempfile
import subprocess
+import unittest
from oeqa.sdk.case import OESDKTestCase
from oeqa.utils.subprocesstweak import errors_have_output
@@ -16,6 +17,11 @@ class AutotoolsTest(OESDKTestCase):
"""
Check that autotools will cross-compile correctly.
"""
+ def setUp(self):
+ libc = self.td.get("TCLIBC")
+ if libc in [ 'newlib' ]:
+ raise unittest.SkipTest("AutotoolsTest class: SDK doesn't contain a supported C library")
+
def test_cpio(self):
with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir:
tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.gz")