Age | Commit message (Collapse) | Author | Files | Lines |
|
Tested-by: Rafael Antognolli <rafael.antognolli@intel.com>
|
|
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
|
|
We don't have main files or a .makotmp directory, but pytest creates a
.cache directory we don't want to check in to git.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
|
|
Which can be generated by cmake and used by clang_check.
|
|
tox is a python test manager that runs the tests in isolated
environments with their own copies of dependent libraries, and can be
used to test against multiple versions of python. This allows us to
easily test the framework with and without the acceleration modules it
can optionally use (simplejson and lxml), it will also allow us to test
against multiple versions of python 3.x (which we support for the
generators, and presumably will support in the future)
This uses the coverage module, and uses nose's cover-tests option.
Unfortunately nose assumes that anything /[Tt]est/ is a test, and hides
the tests for the test package. This might be resolvable by modifying
the regex, but it isn't something straightforward to fix. Using
--cover-tests will get us the test package, but it also gets us the
tests package.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
|
|
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
When using ninja as the build system for piglit this file is
auto-generated.
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
This new summary class (currently NewSummary), is a complete redesign of
the summary generation system. Much of the code in summary was not
commented, and also not clear as to what it was doing, making it very
difficult to maintain and even more difficult to improve. The other
problem with the code was architecturally it was clobbered together,
doing some of the work in the summary.py file, and some of the work in
the piglit-summary-html.py file.
The new summary class does all of it's work in the summary.py file, and
from an API point of view, in one class. The summary class uses it's
constructor to build lists of passes, failures, skips, problems, etc.
and then uses methods to generate output. The reference implementation
of that kind of method is for generating HTML, but in theory it could be
used to generate anything: XML, csv lists, printed lists ala
piglit-summary, etc.
Also updates the .gitignore file to ignore some generated content
created by this class.
V3: - Corrects some spelling mistakes and some comments that had old
method/variable names
- renames several methods/functions
- moves sanitizePath to a toplevel function
- changes sanitizePath to use lambda per ken
- Moves buildDictionary to a helper function instead of private
method
V4: - Allows new summary generation to work with broken json.
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-By: Aaron Watry <awatry@gmail.com>
Reviewed-By: Kenneth Graunke <kenneth@whitecape.org>
|
|
It doesn't make much sense to package piglit or install on machines, due
to the frequency piglit tests are added/changed.
However, binary packages are still useful for distributed testing where
the binaries are built on one machine, and then passed to (sometimes
other teams) for the actual testing.
This patch allows one to conveniently generate such packages, simply by
doing
make package
Then one can run piglit by unpacking the package elsewhere, set the
PIGLIT_SOURCE_DIR and LD_LIBRARY_PATH accordingly, and run piglit scripts
as usual.
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Ninja is a wicked-fast build system backend supported by CMake.
|
|
|
|
|
|
It is created by the CMake and contains just build artifacts.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad.versace@intel.com>
|
|
ln -s ~/src/glsl2/glsl tests/glslparsertest/glslcompiler
./piglit-run.py tests/external-glslparser.tests results/glsl
|
|
|
|
|
|
|
|
|