scons_gd/scons/test
2022-10-15 16:06:26 +02:00
..
Actions Added scons. 2022-10-15 16:06:26 +02:00
AddOption Added scons. 2022-10-15 16:06:26 +02:00
Alias Added scons. 2022-10-15 16:06:26 +02:00
AR Added scons. 2022-10-15 16:06:26 +02:00
AS Added scons. 2022-10-15 16:06:26 +02:00
Batch Added scons. 2022-10-15 16:06:26 +02:00
Builder Added scons. 2022-10-15 16:06:26 +02:00
CacheDir Added scons. 2022-10-15 16:06:26 +02:00
CC Added scons. 2022-10-15 16:06:26 +02:00
Clang Added scons. 2022-10-15 16:06:26 +02:00
Clean Added scons. 2022-10-15 16:06:26 +02:00
Climb Added scons. 2022-10-15 16:06:26 +02:00
CompilationDatabase Added scons. 2022-10-15 16:06:26 +02:00
Configure Added scons. 2022-10-15 16:06:26 +02:00
CPPDEFINES Added scons. 2022-10-15 16:06:26 +02:00
CPPPATH Added scons. 2022-10-15 16:06:26 +02:00
CXX Added scons. 2022-10-15 16:06:26 +02:00
D Added scons. 2022-10-15 16:06:26 +02:00
Decider Added scons. 2022-10-15 16:06:26 +02:00
Depends Added scons. 2022-10-15 16:06:26 +02:00
Dir Added scons. 2022-10-15 16:06:26 +02:00
Docbook Added scons. 2022-10-15 16:06:26 +02:00
DVIPDF Added scons. 2022-10-15 16:06:26 +02:00
DVIPS Added scons. 2022-10-15 16:06:26 +02:00
Errors Added scons. 2022-10-15 16:06:26 +02:00
explain Added scons. 2022-10-15 16:06:26 +02:00
File Added scons. 2022-10-15 16:06:26 +02:00
fixture Added scons. 2022-10-15 16:06:26 +02:00
Fortran Added scons. 2022-10-15 16:06:26 +02:00
GetBuildFailures Added scons. 2022-10-15 16:06:26 +02:00
GetOption Added scons. 2022-10-15 16:06:26 +02:00
gettext Added scons. 2022-10-15 16:06:26 +02:00
Ghostscript Added scons. 2022-10-15 16:06:26 +02:00
Glob Added scons. 2022-10-15 16:06:26 +02:00
IDL Added scons. 2022-10-15 16:06:26 +02:00
implicit Added scons. 2022-10-15 16:06:26 +02:00
implicit-cache Added scons. 2022-10-15 16:06:26 +02:00
Install Added scons. 2022-10-15 16:06:26 +02:00
Intel Added scons. 2022-10-15 16:06:26 +02:00
Interactive Added scons. 2022-10-15 16:06:26 +02:00
Java Added scons. 2022-10-15 16:06:26 +02:00
LEX Added scons. 2022-10-15 16:06:26 +02:00
Libs Added scons. 2022-10-15 16:06:26 +02:00
LINK Added scons. 2022-10-15 16:06:26 +02:00
long-lines Added scons. 2022-10-15 16:06:26 +02:00
M4 Added scons. 2022-10-15 16:06:26 +02:00
MinGW Added scons. 2022-10-15 16:06:26 +02:00
MSVC Added scons. 2022-10-15 16:06:26 +02:00
MSVS Added scons. 2022-10-15 16:06:26 +02:00
ninja Added scons. 2022-10-15 16:06:26 +02:00
option Added scons. 2022-10-15 16:06:26 +02:00
packaging Added scons. 2022-10-15 16:06:26 +02:00
Parallel Added scons. 2022-10-15 16:06:26 +02:00
Progress Added scons. 2022-10-15 16:06:26 +02:00
QT Added scons. 2022-10-15 16:06:26 +02:00
question Added scons. 2022-10-15 16:06:26 +02:00
RANLIB Added scons. 2022-10-15 16:06:26 +02:00
Removed Added scons. 2022-10-15 16:06:26 +02:00
Repository Added scons. 2022-10-15 16:06:26 +02:00
Requires Added scons. 2022-10-15 16:06:26 +02:00
Rpcgen Added scons. 2022-10-15 16:06:26 +02:00
runtest Added scons. 2022-10-15 16:06:26 +02:00
Scanner Added scons. 2022-10-15 16:06:26 +02:00
scons-time Added scons. 2022-10-15 16:06:26 +02:00
SConscript Added scons. 2022-10-15 16:06:26 +02:00
sconsign Added scons. 2022-10-15 16:06:26 +02:00
SConsignFile Added scons. 2022-10-15 16:06:26 +02:00
SideEffect Added scons. 2022-10-15 16:06:26 +02:00
site_scons Added scons. 2022-10-15 16:06:26 +02:00
Subst Added scons. 2022-10-15 16:06:26 +02:00
SWIG Added scons. 2022-10-15 16:06:26 +02:00
symlink Added scons. 2022-10-15 16:06:26 +02:00
TAR Added scons. 2022-10-15 16:06:26 +02:00
TaskMaster/bug_2811 Added scons. 2022-10-15 16:06:26 +02:00
TEMPFILE Added scons. 2022-10-15 16:06:26 +02:00
TEX Added scons. 2022-10-15 16:06:26 +02:00
textfile Added scons. 2022-10-15 16:06:26 +02:00
toolpath Added scons. 2022-10-15 16:06:26 +02:00
update-release-info Added scons. 2022-10-15 16:06:26 +02:00
Value Added scons. 2022-10-15 16:06:26 +02:00
Variables Added scons. 2022-10-15 16:06:26 +02:00
VariantDir Added scons. 2022-10-15 16:06:26 +02:00
virtualenv Added scons. 2022-10-15 16:06:26 +02:00
Win32 Added scons. 2022-10-15 16:06:26 +02:00
YACC Added scons. 2022-10-15 16:06:26 +02:00
ZIP Added scons. 2022-10-15 16:06:26 +02:00
_CPPINCFLAGS.py Added scons. 2022-10-15 16:06:26 +02:00
AddMethod.py Added scons. 2022-10-15 16:06:26 +02:00
AlwaysBuild.py Added scons. 2022-10-15 16:06:26 +02:00
ARGLIST.py Added scons. 2022-10-15 16:06:26 +02:00
ARGUMENTS.py Added scons. 2022-10-15 16:06:26 +02:00
bad-variables.py Added scons. 2022-10-15 16:06:26 +02:00
Builder-factories.py Added scons. 2022-10-15 16:06:26 +02:00
builderrors.py Added scons. 2022-10-15 16:06:26 +02:00
Case.py Added scons. 2022-10-15 16:06:26 +02:00
CFILESUFFIX.py Added scons. 2022-10-15 16:06:26 +02:00
chained-build.py Added scons. 2022-10-15 16:06:26 +02:00
chdir.py Added scons. 2022-10-15 16:06:26 +02:00
Chmod.py Added scons. 2022-10-15 16:06:26 +02:00
Clone-compatibility.py Added scons. 2022-10-15 16:06:26 +02:00
Command.py Added scons. 2022-10-15 16:06:26 +02:00
CommandGenerator.py Added scons. 2022-10-15 16:06:26 +02:00
ConstructionEnvironment.py Added scons. 2022-10-15 16:06:26 +02:00
Copy-Action.py Added scons. 2022-10-15 16:06:26 +02:00
Copy-Option.py Added scons. 2022-10-15 16:06:26 +02:00
Copy-Symlinks.py Added scons. 2022-10-15 16:06:26 +02:00
CPPFLAGS.py Added scons. 2022-10-15 16:06:26 +02:00
CPPSUFFIXES.py Added scons. 2022-10-15 16:06:26 +02:00
custom-concat.py Added scons. 2022-10-15 16:06:26 +02:00
Default.py Added scons. 2022-10-15 16:06:26 +02:00
Delete.py Added scons. 2022-10-15 16:06:26 +02:00
dependency-cycle.py Added scons. 2022-10-15 16:06:26 +02:00
diskcheck.py Added scons. 2022-10-15 16:06:26 +02:00
DSUFFIXES.py Added scons. 2022-10-15 16:06:26 +02:00
duplicate-sources.py Added scons. 2022-10-15 16:06:26 +02:00
emitter.py Added scons. 2022-10-15 16:06:26 +02:00
EnsurePythonVersion.py Added scons. 2022-10-15 16:06:26 +02:00
EnsureSConsVersion.py Added scons. 2022-10-15 16:06:26 +02:00
Entry.py Added scons. 2022-10-15 16:06:26 +02:00
ENV.py Added scons. 2022-10-15 16:06:26 +02:00
Environment.py Added scons. 2022-10-15 16:06:26 +02:00
ESCAPE.py Added scons. 2022-10-15 16:06:26 +02:00
exceptions.py Added scons. 2022-10-15 16:06:26 +02:00
Execute.py Added scons. 2022-10-15 16:06:26 +02:00
ExecuteInvalidateCache.py Added scons. 2022-10-15 16:06:26 +02:00
Exit.py Added scons. 2022-10-15 16:06:26 +02:00
exitfns.py Added scons. 2022-10-15 16:06:26 +02:00
expansion.py Added scons. 2022-10-15 16:06:26 +02:00
file-names.py Added scons. 2022-10-15 16:06:26 +02:00
FindFile.py Added scons. 2022-10-15 16:06:26 +02:00
FindSourceFiles.py Added scons. 2022-10-15 16:06:26 +02:00
Flatten.py Added scons. 2022-10-15 16:06:26 +02:00
gnutools.py Added scons. 2022-10-15 16:06:26 +02:00
HeaderGen.py Added scons. 2022-10-15 16:06:26 +02:00
HeaderInstall.py Added scons. 2022-10-15 16:06:26 +02:00
Help.py Added scons. 2022-10-15 16:06:26 +02:00
ignore-command.py Added scons. 2022-10-15 16:06:26 +02:00
Ignore.py Added scons. 2022-10-15 16:06:26 +02:00
import.py Added scons. 2022-10-15 16:06:26 +02:00
issue2821.py Added scons. 2022-10-15 16:06:26 +02:00
KeyboardInterrupt.py Added scons. 2022-10-15 16:06:26 +02:00
leaky-handles.py Added scons. 2022-10-15 16:06:26 +02:00
LoadableModule.py Added scons. 2022-10-15 16:06:26 +02:00
Mkdir.py Added scons. 2022-10-15 16:06:26 +02:00
Move.py Added scons. 2022-10-15 16:06:26 +02:00
multiline.py Added scons. 2022-10-15 16:06:26 +02:00
no-arguments.py Added scons. 2022-10-15 16:06:26 +02:00
no-global-dependencies.py Added scons. 2022-10-15 16:06:26 +02:00
no-target.py Added scons. 2022-10-15 16:06:26 +02:00
NoClean.py Added scons. 2022-10-15 16:06:26 +02:00
NodeOps.py Added scons. 2022-10-15 16:06:26 +02:00
nonexistent.py Added scons. 2022-10-15 16:06:26 +02:00
Object.py Added scons. 2022-10-15 16:06:26 +02:00
overrides.py Added scons. 2022-10-15 16:06:26 +02:00
ParseConfig.py Added scons. 2022-10-15 16:06:26 +02:00
ParseDepends.py Added scons. 2022-10-15 16:06:26 +02:00
path-change.py Added scons. 2022-10-15 16:06:26 +02:00
PharLap.py Added scons. 2022-10-15 16:06:26 +02:00
Platform.py Added scons. 2022-10-15 16:06:26 +02:00
Precious.py Added scons. 2022-10-15 16:06:26 +02:00
preserve-source.py Added scons. 2022-10-15 16:06:26 +02:00
PRINT_CMD_LINE_FUNC.py Added scons. 2022-10-15 16:06:26 +02:00
Program-j.py Added scons. 2022-10-15 16:06:26 +02:00
Program.py Added scons. 2022-10-15 16:06:26 +02:00
Pseudo.py Added scons. 2022-10-15 16:06:26 +02:00
python-version.py Added scons. 2022-10-15 16:06:26 +02:00
README Added scons. 2022-10-15 16:06:26 +02:00
rebuild-generated.py Added scons. 2022-10-15 16:06:26 +02:00
redirection.py Added scons. 2022-10-15 16:06:26 +02:00
RPATH.py Added scons. 2022-10-15 16:06:26 +02:00
same-name.py Added scons. 2022-10-15 16:06:26 +02:00
SCONS_LIB_DIR.py Added scons. 2022-10-15 16:06:26 +02:00
SCONSFLAGS.py Added scons. 2022-10-15 16:06:26 +02:00
SConstruct.py Added scons. 2022-10-15 16:06:26 +02:00
Script-import.py Added scons. 2022-10-15 16:06:26 +02:00
SHELL.py Added scons. 2022-10-15 16:06:26 +02:00
signature-order.py Added scons. 2022-10-15 16:06:26 +02:00
silent-command.py Added scons. 2022-10-15 16:06:26 +02:00
skip-execution.py Added scons. 2022-10-15 16:06:26 +02:00
spaces.py Added scons. 2022-10-15 16:06:26 +02:00
SPAWN.py Added scons. 2022-10-15 16:06:26 +02:00
special-filenames.py Added scons. 2022-10-15 16:06:26 +02:00
Split.py Added scons. 2022-10-15 16:06:26 +02:00
srcchange.py Added scons. 2022-10-15 16:06:26 +02:00
strfunction.py Added scons. 2022-10-15 16:06:26 +02:00
subclassing.py Added scons. 2022-10-15 16:06:26 +02:00
subdir.py Added scons. 2022-10-15 16:06:26 +02:00
subdivide.py Added scons. 2022-10-15 16:06:26 +02:00
suffixes.py Added scons. 2022-10-15 16:06:26 +02:00
TARGET-dir.py Added scons. 2022-10-15 16:06:26 +02:00
TARGETS.py Added scons. 2022-10-15 16:06:26 +02:00
timestamp-fallback.py Added scons. 2022-10-15 16:06:26 +02:00
tool_args.py Added scons. 2022-10-15 16:06:26 +02:00
ToolSurrogate.py Added scons. 2022-10-15 16:06:26 +02:00
Touch.py Added scons. 2022-10-15 16:06:26 +02:00
up-to-date.py Added scons. 2022-10-15 16:06:26 +02:00
ValidateOptions.py Added scons. 2022-10-15 16:06:26 +02:00
Value.py Added scons. 2022-10-15 16:06:26 +02:00
warning-TargetNotBuiltWarning.py Added scons. 2022-10-15 16:06:26 +02:00
WhereIs.py Added scons. 2022-10-15 16:06:26 +02:00

__COPYRIGHT__

This directory contains our end-to-end SCons tests.

They are all meant to be run essentially standalone, with the exception
of the TestSCons.py module and the other modules imported by the various
tests.  These modules are in the testing/framework/ subdirectory, and PYTHONPATH
needs to be set up correctly so that the test scripts can find them,
and so that the SCons script itself can find the build engine modules.

There is a wrapper script, runtest.py, that takes care of this for you,
so the canonical invocation of a test is:

	python runtest.py test/option-x.py

There is also a "runtest.py -a" option that will search the tree for
all tests, and execute them.

Some of these tests have code for features that are not yet supported.

	commented out with a "#XXX" at the beginning of the line;

	short-circuited entirely by having the test pass via an
	early call to test.pass_test(), which has a "#XXX" comment
	at the end of the line

If you're trying to implement one of these features, DO NOT BLINDLY
ASSUME THAT THE NEW CODE IN THE TEST IS CORRECT.  It may have problems
that have gone undiscovered due to the fact that the code testing the
future feature couldn't be run yet!

We're not going to be dogmatic about it, but so that there's some
semblance of uniformity, here are the naming conventions for tests:

    --	All tests end with a .py suffix.

    --	General form:

    		Feature.py	test of specified feature; try to
				keep this description reasonably
				short

    		Feature-x.py	test of specified feature using
				option x

    --	Command line option tests take the form:

    		option-x.py	lower-case single-letter option

		option--X.py	upper-case single-letter option
				(extra hyphen so the file names will
				be unique on case-insensitive systems)

		option--lo.py	long option; abbreviate the long
				option name to a few characters

For some more information about running the tests and writing them, please
refer to the documentation for the testing framework. It can be found in
the 'testing/framework' folder, as file 'test-framework.rst'.