| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
GetBuildFailures(). New function convert_to_buildError, and use it in
several places so all build failures now go through it and are
returned as BuildError exceptions. Had a small effect on output
formatting in many tests but no significant change to behavior. I
reworked the patch a little to keep SCons exit status values the same
as before; this patch could make it simpler to change them in some
cases, e.g. exit with the errno of the failed action if desired. One
nice side effect of this patch is that more scons errors print the
node that caused the error now.
|
|
|
|
| |
a library as an argument.
|
|
|
|
| |
therefore, actually create the variant directory.
|
|
|
|
| |
"SConstruct" file name to search for when using the -D, -U or -u options.
|
|
|
|
|
| |
in a subdirectory. Split sub-tests into separate scripts. Clean things
up a bit.
|
| |
|
| |
|
| |
|
|
|
|
| |
Tool.as module indirectly, not with a direct import statement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SK and I agree that we are surprised by that.
Both bld = env['BUILDERS']['PDF'] and bld = env['BUILDERS']['DVI'] had
lines like
bld.add_action('.tex', LaTeXAuxAction) # for DVI
bld.add_action('.tex', PDFLaTeXAuxAction) # for PDF
run from the initialization of two tools. This was a BAD thing.
That cured some test failures. For the rest I made all the TEX tests
initialize the environment with the os.environ PATH since the check
for the existence of the tools with where_is that looks on the system path.
So the tests still quietly exit if the tool is not on the system path
and now find if it is in a non-standard location like I have.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test of generating several .pdfs from a list of .ps (new single_source setting)
test/TEX/LATEX2.py
Based on second half of LATEX. generate all .pdf's at once by giving a list of .tex files
test of single_source
src/engine/SCons/Scanner/LaTeX.py
Add test of changing an included file.
Add test of included file having no extension
src/engine/SCons/Scanner/LaTeX.py
Add lists of acceptable graphics extensions,
In the furture make this user configurable??
Scan for files in the paths stored in env['TEXINPUTS'] and env['ENV']['TEXINPUTS']
for people who may just input their environment...
Add function findENVPatDirs for this purpose
src/engine/SCons/Tool/pdf.py
add epstopdf action
Have to add it after the pdftex action so it is not the default.
Make builder single_source since each input produces one output
src/engine/SCons/Tool/pdftex.py
use tex_eps_emitter
call pdf.generate2 to add epstopdf action after the PDFLaTeXAction
src/engine/SCons/Tool/dvipdf.py
simplify coding that adds the source directory to the search path TEXPICTS
src/engine/SCons/Tool/dvips.py
Add single_source option since each ps file comes from one dvi file
src/engine/SCons/Tool/pdflatex.py
add .tex as a valid extension and switch emitters to tex_pdf_emitter
src/engine/SCons/Tool/tex.py
fix regular expressions ^[^%]* to ^[^%\n]* for multiline environment
add REs for \input or \include and \includegraphics
get graphics extensions from Scanner.LaTeX so they are defined in one place
move modify_env_var to Scanner.LaTeX since it is used there and easier to import it here
add FindFile routine to find a file given name, list of suffixes, paths, env
returns a node for the file.
add tex_eps_emitter and tex_pdf_emitter that call a core routine with
a different list of graphics extensions that can be handled by the
tool used (latex vs. pdflatex)
revamp feature test/suffix list into two lists and build the list used
to create sideeffects for each input file...
These tests now get applied to each included file so the whole source
tree is tested.
Get list of paths from env['ENV']['TEXINPUTS'] and env['TEXINPUTS']
if find we need a .pdf file and only have .eps or .ps set up the
.pdf as a target with the .eps as source...
change emitter to tex_eps_emitter
src/engine/SCons/Tool/latex.py
add .tex as a valid extension and switch emitters to tex_eps_emitter
|
|
|
|
| |
subcommand when a profile result is equal to (or near) 0.0.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
into separate test scripts.
|
| |
|
| |
|
|
|
|
| |
subclass, in its own module.
|
|
|
|
|
| |
PYTHON_ROOT environment variable instead of nulling it out.
(Bill Deegan)
|
| |
|
| |
|
|
|
|
|
|
| |
python=None argument still defaults to sys.executable. Use this to
reset the python value we interpolate into the expected files that we
generate after resetting the os.environ['PYTHON'] value.
|
|
|
|
|
|
| |
with system swig.
Propagate to the created SConstructs the version of swig found by the test (which is used to determine whether to run or not run this test).
|
|
|
|
| |
have \ separators on Windows.
|
|
|
|
| |
%INCLUDE% and %LIB% aren't set.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It now iterates until all the warnings are gone and the auxiliary files
stop changing or it hits the max retires limit.
It adds the common auxiliary files to the emitter as sideeffects
Added support for glossaries, nomenclatures, lists of figures,
lists of tables, hyperref, and beamer
The user can entry environment changes like env['TEXINPUTS'] and
they get copied to env['ENV']['TEXINPUTS'] (thanks to Dmitry Mikhin )
It also works with variantdir, duplicate =0
|
|
|
|
| |
#include file. (John Gozde)
|
|
|
|
| |
appear (if it doesn't already exist. (Damyan Pepper, Jim Randall)
|
| |
|
|
|
|
| |
if the directory doesn't already exist. (Damyan Pepper, Jim Randall)
|
|
|
|
|
|
| |
by having it handle checking for VariantDir directories on disk like
it does VariantDir files.
(patch: Jared Grubb; test case: Ali Tofigh)
|
|
|
|
|
| |
builder objects by eliminating unintentional re-use of a class
list for the src_builder attribute.
|
|
|
|
|
| |
file to what the user requested in the target. Tex produces a standard name
based on the source so this was not being done.
|
| |
|
| |
|
|
|
|
| |
compilation command line.
|
|
|
|
|
|
| |
This shows the case where a configure test on
a Latex build could never fail since the error
return was not based back.
|
|
|
|
| |
env_spawn(), to accommodate a funky variable name used by Ubuntu packagin.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
their commands as they build the strfunction only returns a string for
GetOption("no_exec") which covers --dry-run.
Therefore --dry-run now gets output, the first command to be run plus " ..."
to indicate that the ral builder may repeat or run bibtex, makeindex,...
Also updating the flags to pass -interaction=nonstopmode
This prevents errors in the .tex files from stopping the build
while Latex asks for input.
Updated several tests to handle this new flag by switching to getopt module
|
| |
|
| |
|
|
|
|
|
| |
fails. Better document the behavior of returning the exit status,
and that exit-on-failure is the SConscript writer's responsibility.
|
| |
|