| Home | Trees | Indices | Help |
|
|---|
|
|
action.Action --+
|
action.RecipeAction --+
|
policy.BasePolicy --+
|
policy.Policy --+
|
TestSuiteFiles
r.TestSuiteFiles - Indicate extra files to copy
into the test directory
r.TestSuiteFiles([filterexp])
The r.TestSuiteFiles() class is called from within a
Conary recipe to indicate extra files which should be copied into the
test suite directory. The filter expression is relative to the build
directory, not the install directory as is the case with the rest of
the destdir policies.
Files included in the filterexp will be copied into the test directory, with their path relative to the build dir retained. E.g. a file found at %(builddir)s/bin/foo will be copied to %(testdir)s/bin/foo.
In order forr.TestSuiteFiles() to be useful, you must
indicate to Conary that you wish to create a test suite. To create a
test suite, you should use the r.TestSuite() class as
documented in conary.build.build.
r.TestSuiteFiles('MANIFEST')
MAINFEST is marked to be copied into the
package's test suite directory.
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
bucket = 1
|
|||
requires =
|
|||
filetree = 2where to look for files to which to apply the policy: policy.DESTDIR, the default, walks the files in the
destdir, policy.BUILDDIR walks the files in
the build directory, and policy.PACKAGE iterates over
the packaged files rather than walking the destdir, which besides
being possibly faster also applies to files that are not on the
filesystem (like device nodes).
|
|||
buildTestSuite = None
|
|||
invariantexceptions = subclasses may set to a list of exception filters that are always applied regardless of what other exceptions may be provided by the recipe; these exceptions being applied is an invariant condition of the doFile method.
|
|||
invariantinclusions = if invariantinclusions is not empty, then only files
matching a filter in it are considered to be passed to to the
doFile method.
|
|||
keywords =
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
TestSuiteFiles(<inclusions>).
|
|
|||
invariantinclusionsifinvariantinclusions is not empty, then only files
matching a filter in it are considered to be passed to to the
doFile method. Any exceptions, including invariants, are
applied after invariantinclusions are applied; this means
that all exceptions OVERRULE every type of inclusion.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Jul 10 11:46:05 2008 | http://epydoc.sourceforge.net |