7 Commits

Author SHA1 Message Date
Feceoru, Gabriel
203591ba87 scripts: Adapt run-tests.sh to the piglit changes
Piglit changed its behaviour to prevent overwriting the results
directory unless explicitly specified with -o

Added -o flag in run-tests.sh to keep user experience.

Signed-off-by: Gabriel Feceoru <gabriel.feceoru@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-04-19 19:45:13 +03:00
Thomas Wood
498fb6205e docs: remove references to tests/NAMING-CONVENTION
The tests/NAMING-CONVENTION file has been removed and its contents is
now included in the API documentation.

Reported-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-12-02 16:42:16 +00:00
Mike Mason
b1e40e97c8 scripts/run-tests.sh: add option to not retry incomplete tests on resume
This patch utilizes piglit's new --no-retry option. That option
prevents incomplete tests from being retried when resuming a
test run. This is necessary because retrying tests that cause
a crash or reboot prevents a test run from being resumed.

This patch also adds -s to the piglit command line. The -s option
forces test logs to be synced to disk after every test.
Without it, some logs can be lost if a test causes a crash
or reboot, making it impossible to resume the test run at the
correct point.

Signed-off-by: Mike Mason <michael.w.mason@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-05-28 17:23:57 +01:00
Mike Mason
3db5762384 scripts/run-tests.sh: use single combined test list
i-g-t now creates a single combined test list for tests with
and without subtests. This patch adapts run-tests.sh to that
change.

Signed-off-by: Mike Mason <michael.w.mason@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-05-12 17:03:43 +01:00
Mike Mason
822cc6a565 scripts: Add capability to resume interrupted run-tests.sh session
Piglit provides a 'resume' feature that can restart an interrupted
test run at the point where it stopped. This patch adds that
feature to run_tests.sh.

Signed-off-by: Mike Mason <michael.w.mason@intel.com>
[Thomas: remove additional new line from end of file]
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-08-29 16:32:42 +01:00
Mike Mason
e9da093b13 scripts: Allow multiple -t and -x regular expressions for run-tests.sh
Piglit allows multiple -t and -x regular expressions to be
given on the command line. This patch enables run-tests.sh to
support that as well.

Signed-off-by: Mike Mason <michael.w.mason@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-08-19 11:31:57 +01:00
Thomas Wood
ee62ca48e7 scripts: add a script to help run tests with Piglit
Add a script to facilitate running the tests with Piglit by providing
simplified options for listing, filtering and creating summaries of test
runs.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-07-11 11:47:46 +01:00