summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/sdkmingw/cases/pkgconfig.py
blob: 24185a086abfcdee7d37673e5b4169eee8f0c8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2018 by Garmin Ltd. or its subsidiaries
# Released under the MIT license (see COPYING.MIT)

import os
import unittest

from oeqa.sdkmingw.case import OESDKMinGWTestCase

class PkgConfigTest(OESDKMinGWTestCase):
    def setUp(self):
        super().setUp()

        if not self.tc.hasHostPackage("nativesdk-pkgconfig"):
            raise unittest.SkipTest(self.__class__.__name__ + " class: SDK doesn't contain nativesdk-pkgconfig")

    def test_pkg_config(self):
        self._run('pkg-config --list-all')