Home
last modified time | relevance | path

Searched refs:sdk_dir (Results 1 – 20 of 20) sorted by relevance

/openbmc/openbmc/poky/meta/lib/oeqa/sdk/cases/
H A Dgcc.py26 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 Drust.py22 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 Dmaturin.py42 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 Dbuildlzip.py17 with tempfile.TemporaryDirectory(prefix="lzip", dir=self.tc.sdk_dir) as testdir:
H A Dbuildcpio.py21 with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir:
H A Dbuildepoxy.py26 with tempfile.TemporaryDirectory(prefix="epoxy", dir=self.tc.sdk_dir) as testdir:
H A Dassimp.py27 with tempfile.TemporaryDirectory(prefix="assimp", dir=self.tc.sdk_dir) as testdir:
H A Dbuildgalculator.py29 with tempfile.TemporaryDirectory(prefix="galculator", dir=self.tc.sdk_dir) as testdir:
/openbmc/openbmc/poky/meta/lib/oeqa/sdkext/
H A Dtestsdk.py45 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 Dcontext.py17 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 Dtestsdk.py40 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 Dtestmetaidesupport.py18 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 Ddevtool.py21 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 Dbuild.py17 … 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 Dsanity.py20 sdk_base = os.path.realpath(self.tc.sdk_dir)
H A Dgcc.py17 sdk_base = os.path.realpath(self.tc.sdk_dir)
H A Dbuild.py18 with tempfile.TemporaryDirectory(prefix='bitbake-build-', dir=self.tc.sdk_dir) as testdir:
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Druntime_test.py85 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 Dbuildinfohelper.py1905 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 Dintro.rst434 cls.myapp_dst = os.path.join(cls.tc.sdk_dir, "myapp")