Home
last modified time | relevance | path

Searched refs:outdir (Results 1 – 25 of 42) sorted by relevance

12

/trunk/test/aoo-test/src/aootest_worker/ops/
H A Dgenerate.py57 def _save(doc, outdir, name, flt): argument
59 … doc.storeToURL(uno.systemPathToFileUrl(os.path.join(outdir, name)), (pv("FilterName", flt),))
65 def page_fill(outdir): argument
67 png = os.path.join(outdir, "tile.png")
117 return [_save(doc, outdir, "page-fill.odt", "writer8")]
120 def fill_others(outdir): argument
160 done.append(_save(doc, outdir, "others-writer.odt", "writer8"))
169 done.append(_save(doc, outdir, "others-calc.ods", "calc8"))
183 done.append(_save(doc, outdir, "others-draw.odg", "draw8"))
196 done.append(_save(doc, outdir, "others-impress.odp", "impress8"))
[all …]
H A Dscripts.py46 def run_script(script, outdir, args=()): argument
51 os.makedirs(outdir, exist_ok=True)
52 logfile = Path(outdir).parent / (script + ".log")
55 sys.argv = [str(path), "0", str(outdir)] + list(args)
76 return sorted(p.name for p in Path(outdir).iterdir() if p.is_file())
/trunk/test/aoo-test/src/aootest/checkers/
H A Dcrosscheck.py40 def run(flag, outdir, pkgs, work, tag, java, jar, schema_dir): argument
52 entries["path%06d" % i] = os.path.join(outdir, p)
58 prefix = os.path.join(outdir, "")
113 def check(outdir, val, workdir, jar, schema_dir, java="java"): argument
115 outdir = os.path.abspath(outdir)
120 …pkgs = sorted(p for p in os.listdir(outdir) if not p.startswith(".") and p not in val.get("bad_zip…
123 events, crashed = run(flag, outdir, pkgs, work, name, java, jar, schema_dir)
130 outdir, valjson, crossjson = sys.argv[1:4] if argv is None else argv
131 …res = check(outdir, json.load(open(valjson)), crossjson[:-5] + ".d", os.environ["AOO_ODFVALIDATOR"…
H A Didcheck.py60 def check(outdir): argument
63 pkgs = sorted(p for p in os.listdir(outdir) if not p.startswith("."))
66 z = zipfile.ZipFile(os.path.join(outdir, pkg))
80 outdir, idsjson = sys.argv[1:3] if argv is None else argv
81 res = check(outdir)
H A Dvalidate.py51 def check(outdir, workdir, jing, schema_dir): argument
61 pkgs = sorted(p for p in os.listdir(outdir) if not p.startswith("."))
64 z = zipfile.ZipFile(os.path.join(outdir, pkg))
108 outdir, valjson = sys.argv[1:3] if argv is None else argv
109 …res = check(outdir, valjson[:-5] + ".xml", ["java", "-jar", os.environ["AOO_JING"], "-i"], os.envi…
H A Ddoctypecheck.py163 def check(outdir): argument
166 pkgs = sorted(p for p in os.listdir(outdir) if not p.startswith("."))
169 found, mime = check_package(os.path.join(outdir, pkg))
179 outdir, dtjson = sys.argv[1:3] if argv is None else argv
180 res = check(outdir)
H A Dpkgcheck.py157 def check(outdir, workdir, jing, schema_dir): argument
164 pkgs = sorted(p for p in os.listdir(outdir) if not p.startswith("."))
167 found = check_package(os.path.join(outdir, pkg), work, jing, dsig_schema)
176 outdir, pkgjson = sys.argv[1:3] if argv is None else argv
177 …res = check(outdir, pkgjson[:-5] + ".xml", ["java", "-jar", os.environ["AOO_JING"], "-i"], os.envi…
H A Dformulacheck.py558 def check(outdir): argument
561 pkgs = sorted(p for p in os.listdir(outdir) if not p.startswith("."))
564 z = zipfile.ZipFile(os.path.join(outdir, pkg))
576 outdir, fjson = sys.argv[1:3] if argv is None else argv
577 res = check(outdir)
/trunk/test/aoo-test/src/aootest/
H A Dpipeline.py61 def outdir(self): member in ModeRun
67 self.outdir.mkdir(parents=True, exist_ok=True)
70 dst = str(self.outdir / documents.out_name(source))
106 … res = {"ids": idcheck.check(str(self.outdir)), "doctype": doctypecheck.check(str(self.outdir)),
107 "formulas": formulacheck.check(str(self.outdir)), "val": None, "pkg": None}
110 … res["val"] = validate.check(str(self.outdir), str(self.dir / "w-validate"), jing, schemas)
111 … res["pkg"] = pkgcheck.check(str(self.outdir), str(self.dir / "w-pkg"), jing, schemas)
123 …self._cross = crosscheck.check(str(self.outdir), val, str(self.dir / "w-cross"), jar, str(schemas)…
H A Dcontrols.py45 def make_odf_controls(outdir): argument
47 C = os.fspath(outdir)
124 def make_pkg_controls(outdir): argument
127 C = None if outdir is None else os.fspath(outdir)
206 def make_doctype_controls(outdir): argument
209 C = None if outdir is None else os.fspath(outdir)
/trunk/main/setup_native/scripts/
H A Dlangpackscript.sh114 outdir=/var/tmp/install_$$
115 mkdir $outdir
154 $tail_prog +$linenum $0 | gunzip | (cd $outdir; tar xvf -)
155 adminfile=$outdir/admin.$$
160 $tail_prog +$linenum $0 | gunzip | (cd $outdir; tar xvf -)
169 rm -rf $outdir
/trunk/test/odf-validate/
H A Dcrosscheck.py44 def run(flag, outdir, pkgs, work, tag): argument
55 entries["path%06d" % i] = os.path.join(outdir, p)
61 prefix = os.path.join(outdir, "")
117 outdir, valjson, crossjson = os.path.abspath(sys.argv[1]), sys.argv[2], sys.argv[3]
125 …pkgs = sorted(p for p in os.listdir(outdir) if not p.startswith(".") and p not in val.get("bad_zip…
128 events, crashed = run(flag, outdir, pkgs, work, name)
H A Dcov_schema.py187 def write(outdir, elements, pairs): argument
188 os.makedirs(outdir, exist_ok=True)
189 with open(os.path.join(outdir, "elements.tsv"), "w") as f:
192 with open(os.path.join(outdir, "attributes.tsv"), "w") as f, \
193 open(os.path.join(outdir, "values.tsv"), "w") as g:
H A Ddump14.py30 port, outdir, files = int(sys.argv[1]), sys.argv[2], sys.argv[3:] variable
190 os.makedirs(outdir, exist_ok=True)
192 dest = os.path.join(outdir, os.path.basename(f) + ".json")
195 open(os.path.join(outdir, ".current"), "w").write(f)
H A Didcheck.py62 outdir, idsjson = sys.argv[1], sys.argv[2]
66 pkgs = sorted(p for p in os.listdir(outdir) if not p.startswith("."))
69 z = zipfile.ZipFile(os.path.join(outdir, pkg))
H A Dcov_corpus.py59 outdir, covdir = sys.argv[1], sys.argv[2]
65 pkgs = sorted(p for p in os.listdir(outdir) if not p.startswith("."))
69 z = zipfile.ZipFile(os.path.join(outdir, pkg))
H A Disoweeknum_rt.py31 port, outdir = int(sys.argv[1]), os.path.abspath(sys.argv[2]) variable
32 os.makedirs(outdir, exist_ok=True)
81 path = os.path.join(outdir, "isoweeknum.ods")
H A Dvalidate.py52 outdir, valjson = sys.argv[1], sys.argv[2]
60 pkgs = sorted(p for p in os.listdir(outdir) if not p.startswith("."))
63 z = zipfile.ZipFile(os.path.join(outdir, pkg))
/trunk/test/odf-validate/tools13/
H A Dmake-foreign-corpus.py169 def run_convert(soffice, prof, outext, outdir, files, timeout, log): argument
171 "--convert-to", outext, "--outdir", outdir] + files
303 outdir = os.path.join(root, m)
304 os.makedirs(outdir, exist_ok=True)
309 o = os.path.join(outdir, os.path.splitext(os.path.basename(p))[0] + "." + oe)
316 … to = run_convert(soffice, profs[m], oe, outdir, [p for p, _ in chunk], a.timeout, log)
322 run_convert(soffice, profs[m], oe, outdir, [p], a.timeout, log)
326 o = os.path.join(outdir, os.path.splitext(os.path.basename(p))[0] + "." + oe)
/trunk/main/filter/source/config/tools/split/
H A DFCFGSplit.cfg38 outdir =c:/temp/split/fragments
42 # inside the "outdir"
60 # which must be sub directories of "outdir".
78 # which must be sub directories of "outdir/subdir_filters".
96 # every generated fragment inside "outdir".
/trunk/main/filter/source/config/fragments/
H A Dmakefile.mk173 …$(MERGE) fragmentsdir=. tempdir=$(TEMP) outdir=$(DIR_MODPACKS) pkg=$(DIR_MODPACKS)$/$(@:b)_types.x…
199 …$(MERGE) fragmentsdir=. tempdir=$(TEMP) outdir=$(DIR_MODPACKS) pkg=$(DIR_MODPACKS)$/$(@:b)_filters…
206 …$(MERGE) fragmentsdir=. tempdir=$(TEMP) outdir=$(DIR_MODPACKS) pkg=$(DIR_MODPACKS)$/$(@:b)_others.…
213 …$(MERGE) fragmentsdir=. tempdir=$(TEMP) outdir=$(DIR_MODPACKS) pkg=$(DIR_MODPACKS)$/$(@:b)_types.x…
220 …$(MERGE) fragmentsdir=. tempdir=$(TEMP) outdir=$(DIR_MODPACKS) pkg=$(DIR_MODPACKS)$/$(@:b)_filters…
/trunk/test/odf-validate/fixtures/encrypted/
H A Dmake.py31 port, outdir = int(sys.argv[1]), os.path.abspath(sys.argv[2]) variable
35 os.makedirs(outdir, exist_ok=True)
163 doc.storeToURL(uno.systemPathToFileUrl(os.path.join(outdir, name)), tuple(props))
170 img = os.path.join(os.path.dirname(outdir), "pic.png")
/trunk/test/odf-validate/fixtures/page-fill-1_3/
H A Dmake-calc.py8 port, outdir = int(sys.argv[1]), sys.argv[2] variable
21 src = os.path.join(outdir, "calc-src.ods")
25 zi = zipfile.ZipFile(src); zo = zipfile.ZipFile(os.path.join(outdir, "calc-drawing-page.ods"), "w")
/trunk/main/odk/examples/java/DocumentHandling/
H A DDocumentConverter.java65 File outdir = new File(DocumentConverter.sOutputDir); in traverse() local
66 String sOutUrl = "file:///" + outdir.getAbsolutePath().replace( '\\', '/' ); in traverse()
69 + outdir.getPath() + "!"); in traverse()
/trunk/test/odf-validate/fixtures/signed/
H A Dmake.py33 port, outdir = int(sys.argv[1]), sys.argv[2] variable
34 os.makedirs(outdir, exist_ok=True)
156 out = os.path.join(outdir, "signed-%s.%s" % (kind, ext))

12