/openbmc/openbmc/poky/meta/lib/oeqa/sdk/cases/ |
H A D | gcc.py | 26 os.path.join(self.tc.sdk_dir, f)) 35 self._run('$CC %s/test.c -o %s/test -lm' % (self.tc.sdk_dir, self.tc.sdk_dir)) 38 self._run('$CXX %s/test.c -o %s/test -lm' % (self.tc.sdk_dir, self.tc.sdk_dir)) 41 self._run('$CXX %s/test.cpp -o %s/test -lm' % (self.tc.sdk_dir, self.tc.sdk_dir)) 44 self._run('cd %s; make -f testsdkmakefile' % self.tc.sdk_dir) 48 files = [os.path.join(self.tc.sdk_dir, f) \
|
H A D | rust.py | 22 targetdir = os.path.join(self.tc.sdk_dir, "hello") 35 self._run('cd %s/hello; cargo build' % self.tc.sdk_dir) 42 targetdir = os.path.join(self.tc.sdk_dir, "hello") 56 self._run('cd %s/hello; cargo build --target %s-gnu' % (self.tc.sdk_dir, sdksys)) 57 self._run('cd %s/hello; cargo run --target %s-gnu' % (self.tc.sdk_dir, sdksys))
|
H A D | maturin.py | 42 targetdir = os.path.join(self.tc.sdk_dir, "guessing-game") 71 self._run("cd %s/guessing-game; python3 -m venv .venv" % self.tc.sdk_dir) 72 cmd = "cd %s/guessing-game; maturin develop" % self.tc.sdk_dir
|
H A D | buildlzip.py | 17 with tempfile.TemporaryDirectory(prefix="lzip", dir=self.tc.sdk_dir) as testdir:
|
H A D | buildcpio.py | 21 with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir:
|
H A D | buildepoxy.py | 26 with tempfile.TemporaryDirectory(prefix="epoxy", dir=self.tc.sdk_dir) as testdir:
|
H A D | assimp.py | 27 with tempfile.TemporaryDirectory(prefix="assimp", dir=self.tc.sdk_dir) as testdir:
|
H A D | buildgalculator.py | 29 with tempfile.TemporaryDirectory(prefix="galculator", dir=self.tc.sdk_dir) as testdir:
|
/openbmc/openbmc/poky/meta/lib/oeqa/sdkext/ |
H A D | testsdk.py | 45 sdk_dir = d.expand("${WORKDIR}/testsdkext/") 46 bb.utils.remove(sdk_dir, True) 47 bb.utils.mkdirhier(sdk_dir) 49 subprocess.check_output("%s -y -d %s" % (tcname, sdk_dir), shell=True) 52 logfn = os.path.join(sdk_dir, 'preparing_build_system.log') 61 sdk_envs = OESDKExtTestContextExecutor._get_sdk_environs(sdk_dir) 70 with open(os.path.join(sdk_dir, 'conf', 'auto.conf'), 'a+') as f: 78 sdk_env, cwd=sdk_dir, shell=True, stderr=subprocess.STDOUT) 80 tc = OESDKExtTestContext(td=test_data, logger=logger, sdk_dir=sdk_dir, 104 bb.utils.remove(sdk_dir+'workspace/sources', True)
|
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/ |
H A D | context.py | 17 def __init__(self, td=None, logger=None, sdk_dir=None, sdk_env=None, argument 21 self.sdk_dir = sdk_dir 101 self.tc_kwargs['init']['sdk_dir'] = args.sdk_dir 110 def _get_sdk_environs(sdk_dir): argument 113 environ_pattern = sdk_dir + '/environment-setup-*' 114 full_sdk_env = glob.glob(sdk_dir + '/environment-setup-*') 124 % args.sdk_dir) 132 if not args.sdk_dir: 136 sdk_envs = OESDKTestContextExecutor._get_sdk_environs(args.sdk_dir) 139 "environments found at %s" % args.sdk_dir, self.name)
|
H A D | testsdk.py | 40 def extract_sdk(self, tcname, sdk_dir, d): argument 47 subprocess.check_output("cd %s; %s <<EOF\n./\nY\nEOF" % (sdk_dir, tcname), shell=True) 99 sdk_dir = d.expand("${WORKDIR}/testimage-sdk/") 100 bb.utils.remove(sdk_dir, True) 101 bb.utils.mkdirhier(sdk_dir) 105 self.extract_sdk(tcname, sdk_dir, d) 108 sdk_envs = self.context_executor_class._get_sdk_environs(sdk_dir) 112 tc = self.context_class(td=test_data, logger=logger, sdk_dir=sdk_dir,
|
H A D | testmetaidesupport.py | 18 sdk_dir = d.expand("${WORKDIR}/testsdk/") 19 bb.utils.remove(sdk_dir, True) 20 bb.utils.mkdirhier(sdk_dir) 34 tc = OESDKTestContext(td=test_data, logger=logger, sdk_dir=sdk_dir,
|
/openbmc/openbmc/poky/meta/lib/oeqa/sdkext/cases/ |
H A D | devtool.py | 21 cls.myapp_dst = os.path.join(cls.tc.sdk_dir, "myapp") 28 cls.myapp_cmake_dst = os.path.join(cls.tc.sdk_dir, "myapp_cmake") 55 self.assertEqual(output.startswith(self.tc.sdk_dir), True, \ 101 self.publish_dir = os.path.join(self.tc.sdk_dir, 'esdk_publish')
|
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/buildtools-docs-cases/ |
H A D | build.py | 17 … with tempfile.TemporaryDirectory(prefix='docs-tarball-build-', dir=self.tc.sdk_dir) as testdir:
|
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/buildtools-cases/ |
H A D | sanity.py | 20 sdk_base = os.path.realpath(self.tc.sdk_dir)
|
H A D | gcc.py | 17 sdk_base = os.path.realpath(self.tc.sdk_dir)
|
H A D | build.py | 18 with tempfile.TemporaryDirectory(prefix='bitbake-build-', dir=self.tc.sdk_dir) as testdir:
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | runtime_test.py | 85 sdk_dir = bb_vars['TEST_EXPORT_SDK_DIR'] 90 tarball_path = os.path.join(testexport_dir, sdk_dir, tarball_name)
|
/openbmc/openbmc/poky/bitbake/lib/bb/ui/ |
H A D | buildinfohelper.py | 1905 sdk_dir = os.path.join(tmpdir, 'deploy', 'sdk') 1909 for dir_path, _, filenames in os.walk(sdk_dir):
|
/openbmc/openbmc/poky/documentation/test-manual/ |
H A D | intro.rst | 434 cls.myapp_dst = os.path.join(cls.tc.sdk_dir, "myapp")
|