[Intel-gfx] [PATCH i-g-t] scripts/run-tests.sh: add option to not retry incomplete tests on resume

2015-05-27 Thread Mike Mason
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 --- scripts/run-tests.sh | 9 ++--- 1 file chang

[Intel-gfx] [PATCH i-g-t] scripts/run-tests.sh: Allow adding excluded tests on resume

2015-05-18 Thread Mike Mason
d-off-by: Mike Mason --- scripts/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 5f83dcf..d289466 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -116,7 +116,7 @@ if [ ! -x "$PIGLIT" ];

[Intel-gfx] [PATCH i-g-t] scripts/run-tests.sh: use single combined test list

2015-05-05 Thread Mike Mason
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 --- scripts/run-tests.sh | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/scripts/run-tests.sh b

[Intel-gfx] [PATCH i-g-t] tests/tools_test: Find tools in source or installed locations

2015-04-17 Thread Mike Mason
Signed-off-by: Mike Mason --- tests/tools_test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tools_test b/tests/tools_test index 8bda263..a6178e1 100755 --- a/tests/tools_test +++ b/tests/tools_test @@ -6,9 +6,9 @@ SOURCE_DIR="$( dirname "${BAS

[Intel-gfx] [PATCH i-g-t 1/1] scripts: Add capability to resume interrupted run-tests.sh session

2014-08-26 Thread Mike Mason
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 --- scripts/run-tests.sh | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) di

[Intel-gfx] [PATCH v2 i-g-t 1/1] tests: Fix seg fault when gem_mmap is run without specifying a subtest

2014-08-18 Thread Mike Mason
gem objects. Signed-off-by: Mike Mason --- tests/gem_mmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/gem_mmap.c b/tests/gem_mmap.c index 334bd76..33ffe45 100644 --- a/tests/gem_mmap.c +++ b/tests/gem_mmap.c @@ -62,10 +62,8 @@ igt_main

[Intel-gfx] [PATCH v2 i-g-t 1/1] scripts: Allow multiple -t and -x regular expressions for run-tests.sh

2014-08-18 Thread Mike Mason
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 --- scripts/run-tests.sh | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/run-tests.sh b