blob: 963aa8d3585bde84e0c6c4f8141cf855a981b0a9 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001# Copyright (C) 2016 Intel Corporation
2# Released under the MIT license (see COPYING.MIT)
3
4import subprocess
5
6from oeqa.core.case import OETestCase
7
8class OESDKTestCase(OETestCase):
9 def _run(self, cmd):
10 return subprocess.check_output(". %s > /dev/null; %s;" % \
11 (self.tc.sdk_env, cmd), shell=True,
12 stderr=subprocess.STDOUT, universal_newlines=True)