summaryrefslogtreecommitdiffstats
path: root/test/TEX
Commit message (Collapse)AuthorAgeFilesLines
* Remove verbose_set calls from testsMats Wichmann2020-03-183-6/+0
| | | | | | | | test.verbose_set() enables verbose mode, can be a useful debugging aid. Shouldn't be left in in production tests, as it creates noise in the test log. Signed-off-by: Mats Wichmann <mats@linux.com>
* rm-py2: Remove "from __future__" from more placesMats Wichmann2020-02-201-3/+2
| | | | | | | | | | | | | | | A couple of minor reformats along the way, most prominently, in tests, if being edited anyway, make sure the docstring most tests have is actually the docstring (sometimes the __revision__ line came before, which makes the string not be the docstring). Snuck in some minor framework changes that were orphaned when another draft PR was not needed: this almost all docstring changes, the functional part is using casefold instead of lower in a match func - a slightly better approach which is now possible that Py2 compatibility is not needed. Signed-off-by: Mats Wichmann <mats@linux.com>
* Stop calling os.system in tests.Mats Wichmann2020-02-0714-42/+56
| | | | | | | This converts the remaining tests that called os.system themselves to use subprocess instead. Signed-off-by: Mats Wichmann <mats@linux.com>
* Align way TeX and related tool names reported by testsMats Wichmann2020-01-1125-38/+36
| | | | | | | | | | | | | | | | | | | | | Two concrete changes: DVIPS/DVIPS test ran only if dvips tool is found, but did not leave any message if not. Print a skip message if tool not found, which also lets us dedent the rest of the test for the case where we continue due to having found it. TEX/variant_dir test did not check for dvipdf tool, but then calls the tool. Add a check so we get a skip message instead of a fail (the fail had lots of lines but it hard to see actual reason). Fix one test which failed for me due to not checking for its tool. For the rest, align "Could not find" messages to quote the tool name, which most of the tests do - so this is just stylistic, has no functional effect. Also stylistic: use any/all for checking multiple tools' existence. Signed-off-by: Mats Wichmann <mats@linux.com>
* syntax fixups suggested by PyCharmMats Wichmann2019-12-232-2/+2
| | | | | | | | | | | | | | Drop unneeded parens. Drop trailing semicolons. Triple double-quote docstrings. Regexes drop unneeded escapes. Spaces around parens, braces: remove/add. Some one-tuples get their missing closing comma. A couple of sets use set init syntax {foo} instead of set([iter]) now. And a fiddle in Node to reduce lookup time on md5 signature functions (came about because of a line-too-long issue, initially) Signed-off-by: Mats Wichmann <mats@linux.com>
* Latin-1 log test case: compile to DVI, not PostScript; add commentmaiphi2019-11-071-1/+5
|
* Add test case with Latin-1 encoded Latex log file. Required fix in the test ↵maiphi2019-11-011-0/+16
| | | | | | | | | framework. In order to make the test work, it was necessary to handle the encoding issue also in the test framework. Otherwise, though the Latex builder can handle the case, the test framework chokes on it.
* [PY 3.8] test fixes for file closings, rawstringsMats Wichmann2019-04-2558-188/+187
| | | | | | | On a linux host (missing some things that may be on the Travis CI setup), Py3.8a3 now shows 19 fails, 1048 pass, with 84 Warning: messages. Signed-off-by: Mats Wichmann <mats@linux.com>
* use absolute python path in sheabangsPaweł Tomulik2018-10-221-1/+0
|
* remove unnecessary sheabangs from scripts generated by end-to-end testsPaweł Tomulik2018-10-224-15/+4
|
* Correct sheabangs in code snippets under test/Paweł Tomulik2018-10-224-8/+12
|
* py2/3 bytes/string issues. Added wrapper to re.sub to force items to bytesWilliam Deegan2017-04-051-2/+2
|
* pep8William Deegan2017-04-041-1/+1
|
* py2/3 fix binary file write issueWilliam Deegan2017-04-021-2/+2
|
* py2/3 fix win32 py27 failures. Also resolve some py3 failuresWilliam Deegan2017-03-202-9/+9
|
* py2/3 fix wb/rbWilliam Deegan2017-03-205-18/+18
|
* py2/3 fix rb/wb also replace convoluted test logic with correct test methods ↵William Deegan2017-03-191-6/+6
| | | | to check for file exist/not exist
* py2/3 byte fixesWilliam Deegan2017-03-131-5/+5
|
* Merged in ricklupton/scons (pull request #382)William Deegan2016-11-301-0/+5
|\ | | | | | | Skip import.sty test when Latex package missing
| * Skip import.sty test when Latex package missingRick Lupton2016-11-291-0/+5
| |
* | Merged in ricklupton/scons (pull request #374)William Deegan2016-11-252-0/+234
|\ \ | |/ | | | | Find dependencies using LaTeX "import" package commands (updated)
| * Find dependencies using LaTeX "import" package commandsRick Lupton2016-11-232-0/+234
| | | | | | | | | | | | The import package adds new commands for including files, similar to \input and \include, but with better handling of subdirectories. These changes extend the LaTeX Scanner to look for these commands.
* | Moved common my<xxx>.py functions to global fixture and resolve byte/str.William Blevins2016-10-038-112/+16
| |
* | Updating tests to use fixture wrapper.py.William Blevins2016-09-248-40/+8
|/
* Merge in default.Russel Winder2016-01-193-2/+15
|\
| * changes to skip tests on ubuntu-next when gcj and not real java, and also ↵William Deegan2016-01-173-2/+15
| | | | | | | | when no latex is available
* | Post merge commit for safety. Building Fortran code works, but tests fail.Russel Winder2015-12-242-4/+1
|\ \ | |/
| * removed several pre-2.7 methods and imports, including some basic refactoringsDirk Baechle2015-12-101-3/+0
| |
| * fix spelling mistakes found by debian lintian tool list here: ↵William Deegan2015-09-281-1/+1
| | | | | | | | https://lintian.debian.org/full/debian@jff-webhosting.net.html#scons_2.3.6-1
* | Merged default branch into python3-port to keep it up to date.Gary Oberbrunner2014-08-233-0/+289
|\ \ | |/ | | | | | | Hand-updated a few things to keep them python3-safe, and handled several merge conflicts.
| * Improve logic test syntaxRobert Managan2014-08-181-1/+1
| |
| * Fix the newglossary action to work with variantDirRobert Managan2014-08-121-0/+109
| |
| * - several smaller fixes to get the Linux buildslaves green againDirk Baechle2014-08-071-1/+0
| |
| * Merged in rmanagan/scons/scons-fix-for-issue-2942 (pull request #132)Gary Oberbrunner2014-04-261-0/+92
| |\
| | * Improve support for biblatex package. Fix a case where we did not recognize ↵Robert Managan2014-04-251-0/+92
| | | | | | | | | | | | that auxiliary files would be made and hence we did not clean them
| * | add name.synctex.gz to list of side effect files and those to be cleanedRobert Managan2014-04-241-0/+89
| |/
* | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).Stefan Zimmermann2014-03-311-0/+1
| |
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-221-4/+4
|/
* Fix test for presence of biber and in several tests make variable names ↵Robert Managan2012-10-135-9/+9
| | | | consistent with what we are testing the presence of
* Add separate biber action and add logic to call either bibtex or biber ↵Robert Managan2012-10-072-1/+129
| | | | depending on which is needed; the files created tell us which to call.
* Merged in managan/scons_newglossary (pull request #37); support newglossary ↵Gary Oberbrunner2012-09-161-0/+158
|\ | | | | | | LaTeX command
| * Support auxiliary files created by \newglossary commandRobert Managan2012-09-161-0/+158
| |
* | - first swoop of changes for getting all Buildbot slaves to run successfully ↵dirkbaechle2012-09-041-2/+1
|/ | | | again
* Add support for using biber instead of bibtex.Robert Managan2012-06-141-0/+124
|
* Add support for the biblatex package; search for new keywards to get side ↵Robert Managan2012-06-141-0/+118
| | | | effects and dependencies right
* check for missing latex packagesedA-qa mort-ora-y2012-05-063-0/+14
|
* Add support for Latex's multibib package and in the process generalize how ↵Rob Managan2012-02-191-0/+97
| | | | we check aux files for processing
* Update path information for OSX.Robert Managan2011-09-0630-49/+32
| | | | | | If one of the tools that use TeX applications is generated add the paths in /etc/paths and /etc/paths.d version 10.5 (Leopard)
* Add check that latex is installed and findable.Robert Managan2011-05-301-0/+4
| | | | If not skip the test.
* Since latex will add valid etension when it looks for files weRobert Managan2011-05-181-0/+77
| | | | | | need to change os.path.exists() to os.path.isfile() to handle the case where we have a directory named foo and a file foo.tex. Then an \input{foo} will not find the directory instead of the file