| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/ |
| H A D | runqueue.py | 55 with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: 58 tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid) 62 self.shutdown(tempdir) 65 with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: 68 tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid) 74 self.shutdown(tempdir) 77 with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: 80 tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid) 85 self.shutdown(tempdir) 88 with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: [all …]
|
| H A D | fetch.py | 380 self.tempdir = tempfile.mkdtemp(prefix="bitbake-fetch-") 381 self.dldir = os.path.join(self.tempdir, "download") 384 self.unpackdir = os.path.join(self.tempdir, "unpacked") 386 persistdir = os.path.join(self.tempdir, "persistdata") 392 print("Not cleaning up %s. Please remove manually." % self.tempdir) 394 bb.process.run('chmod u+rw -R %s' % self.tempdir) 395 bb.utils.prunedir(self.tempdir) 670 self.localsrcdir = os.path.join(self.tempdir, 'localsrc') 751 src_dir = tempfile.mkdtemp(dir=self.tempdir, 1045 os.chdir(self.tempdir) [all …]
|
| H A D | persist_data.py | 21 self.tempdir = tempfile.TemporaryDirectory() 22 self.d['PERSISTENT_DIR'] = self.tempdir.name 36 self.tempdir.cleanup()
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | devtool.py | 285 tempdir = tempfile.mkdtemp(prefix='devtoolqa') 286 self.track_for_cleanup(tempdir) 287 result = runCmd('devtool create-workspace %s' % tempdir) 288 …self.assertTrue(os.path.isfile(os.path.join(tempdir, 'conf', 'layer.conf')), msg = "No workspace c… 290 self.assertIn(tempdir, result.output) 297 self.assertNotIn(tempdir, result.output) 304 tempdir = tempfile.mkdtemp(prefix='devtoolqa') 305 self.track_for_cleanup(tempdir) 309 result = runCmd('wget %s' % url, cwd=tempdir) 310 result = runCmd('tar xfv %s' % os.path.basename(url), cwd=tempdir) [all …]
|
| H A D | fetch.py | 58 def write_recipe(self, content, tempdir): argument 59 f = os.path.join(tempdir, "test.bb") 69 …h bb.tinfoil.Tinfoil() as tinfoil, tempfile.TemporaryDirectory(prefix="selftest-fetch") as tempdir: 76 f = self.write_recipe(textwrap.dedent(r), tempdir) 86 f = self.write_recipe(textwrap.dedent(r), tempdir) 95 f = self.write_recipe(textwrap.dedent(r), tempdir) 104 f = self.write_recipe(textwrap.dedent(r), tempdir)
|
| H A D | fitimage.py | 227 tempdir = result.output.split('=', 1)[1].strip().strip('') 228 …result = runCmd('grep "a smart comment" %s/run.do_assemble_fitimage' % tempdir, ignore_status=True) 232 …'grep "### uboot-mkimage wrapper message" %s/log.do_assemble_fitimage' % tempdir, ignore_status=Tr… 234 …## uboot-mkimage signing wrapper message" %s/log.do_assemble_fitimage' % tempdir, ignore_status=Tr… 542 tempdir = result.output.split('=', 1)[1].strip().strip('') 543 …result = runCmd('grep "a smart U-Boot comment" %s/run.do_uboot_assemble_fitimage' % tempdir, ignor… 547 …"### uboot-mkimage wrapper message" %s/log.do_uboot_assemble_fitimage' % tempdir, ignore_status=Tr… 549 …ot-mkimage signing wrapper message" %s/log.do_uboot_assemble_fitimage' % tempdir, ignore_status=Tr… 696 tempdir = result.output.split('=', 1)[1].strip().strip('') 697 …p "a smart cascaded U-Boot comment" %s/run.do_uboot_assemble_fitimage' % tempdir, ignore_status=Tr… [all …]
|
| H A D | recipetool.py | 33 self.tempdir = tempfile.mkdtemp(prefix='recipetoolqa') 34 self.track_for_cleanup(self.tempdir) 35 self.testfile = os.path.join(self.tempdir, 'testfile') 297 exttemplayerdir = os.path.join(self.tempdir, 'extlayer') 339 tempsrc = os.path.join(self.tempdir, 'srctree') 341 recipefile = os.path.join(self.tempdir, 'logrotate_3.12.3.bb') 359 tempsrc = os.path.join(self.tempdir, 'srctree') 361 recipefile = os.path.join(self.tempdir, 'libmatchbox.bb') 377 temprecipe = os.path.join(self.tempdir, 'recipe') 398 temprecipe = os.path.join(self.tempdir, 'recipe') [all …]
|
| H A D | sstatetests.py | 22 tempdir = tempfile.mkdtemp(prefix='sstate_autorev') 24 self.track_for_cleanup(tempdir) 26 create_temp_layer(tempdir, 'selftestrecipetool') 27 self.add_command_to_tearDown('bitbake-layers remove-layer %s' % tempdir) 29 runCmd('bitbake-layers add-layer %s' % tempdir) 35 result = runCmd('git clone %s noname' % url, cwd=tempdir) 36 srcdir = os.path.join(tempdir, 'noname') 40 … recipefile = os.path.join(tempdir, "recipes-test", "dbus-wait-test", 'dbus-wait-test_git.bb')
|
| H A D | pkgdata.py | 200 tempdir = tempfile.mkdtemp(prefix='pkgdataqa') 201 self.track_for_cleanup(tempdir) 202 pkglistfile = os.path.join(tempdir, 'pkglist')
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/icecc-create-env/icecc-create-env/ |
| H A D | icecc-create-env | 312 tempdir=`mktemp -d /tmp/iceccenvXXXXXX` 315 mkdir -p $tempdir/`dirname $path` 316 cp -pH $path $tempdir/$path 318 if test -f $tempdir/$path -a -x $tempdir/$path; then 319 strip -s $tempdir/$path 2>/dev/null 322 fix_rpath $tempdir/$path `dirname $path` 330 mkdir -p $tempdir/`dirname $link_name` 333 link_rel $target $link_name $tempdir 354 …archive_name=`for i in $target_files; do test -f $tempdir/$i && $md5sum $tempdir/$i; done | sed -e… 372 cd $tempdir [all …]
|
| /OK3568_Linux_fs/kernel/arch/um/os-Linux/ |
| H A D | mem.c | 21 static char *tempdir = NULL; variable 100 if (tempdir == NULL) { in make_tempfile() 101 tempdir = choose_tempdir(); in make_tempfile() 102 if (tempdir == NULL) { in make_tempfile() 110 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile() 120 tempname = malloc(strlen(tempdir) + strlen(template) + 1); in make_tempfile() 124 strcpy(tempname, tempdir); in make_tempfile() 197 os_info("Checking PROT_EXEC mmap in %s...", tempdir); in check_tmpexec() 203 os_warn("%s must be not mounted noexec\n", tempdir); in check_tmpexec()
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | get_dvb_firmware | 54 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 72 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 91 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 109 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 127 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 160 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 177 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 194 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 206 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0); 250 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/tests/ |
| H A D | sdt.c | 83 char *tempdir = NULL, *myself = get_self_path(); in test__sdt_event() local 90 tempdir = realpath(__tempdir, NULL); in test__sdt_event() 91 if (tempdir == NULL) in test__sdt_event() 95 set_buildid_dir(tempdir); in test__sdt_event() 112 free(tempdir); in test__sdt_event()
|
| H A D | attr.py | 222 def run_cmd(self, tempdir): argument 228 cmd = "PERF_TEST_ATTR=%s %s %s -o %s/perf.data %s" % (tempdir, 229 self.perf, self.command, tempdir, self.args) 302 tempdir = tempfile.mkdtemp(); 306 self.run_cmd(tempdir); 310 for f in glob.glob(tempdir + '/event*'): 323 shutil.rmtree(tempdir)
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/resulttool/ |
| H A D | store.py | 22 tempdir = tempfile.mkdtemp(prefix='testresults.') 40 dst = f.replace(args.source, tempdir + "/") 69 subprocess.check_call(["find", tempdir, "!", "-path", "./.git/*", "-delete"]) 70 resultutils.save_resultsdata(results, tempdir, ptestlogs=True) 74 gitarchive.gitarchive(tempdir, args.git_dir, False, False, 81 subprocess.check_call(["rm", "-rf", tempdir])
|
| /OK3568_Linux_fs/yocto/poky/meta/classes/ |
| H A D | devtool-source.bbclass | 27 tempdir = d.getVar('DEVTOOL_TEMPDIR') 29 if not tempdir: 33 workdir = os.path.join(tempdir, 'workdir') 46 d.setVar('STAMPS_DIR', os.path.join(tempdir, 'stamps')) 47 d.setVar('T', os.path.join(tempdir, 'temp')) 74 tempdir = d.getVar('DEVTOOL_TEMPDIR') 120 os.path.join(tempdir, 'oe-local-files', fname)) 121 with open(os.path.join(tempdir, 'oe-local-files', '.gitignore'), 154 with open(os.path.join(tempdir, 'initial_rev'), 'w') as f: 157 with open(os.path.join(tempdir, 'srcsubdir'), 'w') as f: [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/layerindexlib/tests/ |
| H A D | common.py | 24 self.tempdir = tempfile.mkdtemp() 30 print("Not cleaning up %s. Please remove manually." % self.tempdir) 32 bb.utils.prunedir(self.tempdir)
|
| H A D | restapi.py | 33 … self.layerindex.store_layerindex('file://%s/file.json' % self.tempdir, self.layerindex.indexes[0]) 35 …self.assertTrue(os.path.isfile('%s/file.json' % self.tempdir), msg="Temporary file was not created… 38 reload.load_layerindex('file://%s/file.json' % self.tempdir) 70 self.layerindex.store_layerindex('file://%s' % self.tempdir, self.layerindex.indexes[0]) 73 reload.load_layerindex('file://%s' % self.tempdir)
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/ |
| H A D | setup.sh | 105 …openssl req -newkey rsa:512 -x509 -nodes -out $tempdir/cert -keyout $tempdir/key -days 1825 >/dev/… 115 cat $tempdir/cert $tempdir/key >$kfile 117 rm -f $tempdir/cert $tempdir/key
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/busybox/busybox/ |
| H A D | 0001-testsuite-check-uudecode-before-using-it.patch | 21 @@ -339,7 +339,7 @@ cd .. || exit 1; rm -rf tar.tempdir 2>/d 24 mkdir tar.tempdir && cd tar.tempdir || exit 1
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | build.py | 223 tempdir = d.getVar('T') 235 runfile = os.path.join(tempdir, runfn) 243 runlink = os.path.join(tempdir, 'run.{0}'.format(task)) 498 tempdir = d.getVar('T') 499 fifopath = os.path.join(tempdir, 'fifo.%s' % os.getpid()) 592 tempdir = localdata.getVar('T') 593 if not tempdir: 611 bb.utils.mkdirhier(tempdir) 618 logorder = os.path.join(tempdir, 'log.task_order') 627 loglink = os.path.join(tempdir, 'log.{0}'.format(task)) [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/ |
| H A D | standard.py | 159 tempdir = tempfile.mkdtemp(prefix='devtool') 162 …path, 'recipetool --color=%s create --devtool -o %s \'%s\' %s' % (color, tempdir, source, extracmd… 169 recipes = glob.glob(os.path.join(tempdir, '*.bb')) 204 for fn in os.listdir(tempdir): 205 shutil.move(os.path.join(tempdir, fn), recipedir) 214 shutil.rmtree(tempdir) 554 tempdir = tempfile.mkdtemp(prefix='devtooltmp-', dir=tempbasedir) 562 appendbackup = os.path.join(tempdir, os.path.basename(appendfile) + '.bak') 570 f.write('DEVTOOL_TEMPDIR = "%s"\n' % tempdir) 627 with open(os.path.join(tempdir, 'initial_rev'), 'r') as f: [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/lcov/files/ |
| H A D | 0001-geninfo-Add-intermediate-text-format-support.patch | 37 +use File::Temp qw(tempfile tempdir); 128 + my $tempdir; 136 + $tempdir = tempdir(CLEANUP => 1); 143 + process_intermediate($file, $prefix, $tempdir); 151 + unlink($tempdir); 346 +# process_intermediate(file, dir, tempdir) 354 + my ($file, $dir, $tempdir) = @_; 375 + $data_file = "$tempdir/$fbase$graph_file_extension"; 386 + if (!chdir($tempdir)) { 387 + $errmsg = "Could not change to directory $tempdir: $!";
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bblayers/ |
| H A D | action.py | 46 tempdir = tempfile.mkdtemp() 47 backup = tempdir + "/bblayers.conf.bak" 64 shutil.rmtree(tempdir)
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/ |
| H A D | python3-pytest-tempdir_2019.10.12.bb | 2 HOMEPAGE = "https://github.com/saltstack/pytest-tempdir"
|