travis/lazy-pages: explicitly define the tests to verify lazy-pages

Submitted by Mike Rapoport on Oct. 8, 2017, 6:28 a.m.

Details

Message ID 1507444139-17124-1-git-send-email-rppt@linux.vnet.ibm.com
State New
Series "travis/lazy-pages: explicitly define the tests to verify lazy-pages"
Headers show

Commit Message

Mike Rapoport Oct. 8, 2017, 6:28 a.m.
Running all the tests with --lazy-pages and --remote-lazy-pages takes too
long. Let's run only several representing tests for those cases.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
---
 scripts/travis/travis-tests | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/scripts/travis/travis-tests b/scripts/travis/travis-tests
index 062da83..515059f 100755
--- a/scripts/travis/travis-tests
+++ b/scripts/travis/travis-tests
@@ -81,9 +81,12 @@  else
 		      -x socket_listen -x socket_listen6 -x cmdlinenv00
 		      -x socket_close_data01 -x file_read"
 fi
-LAZY_EXCLUDE="$LAZY_EXCLUDE -x futex -x lazy-thp"
-./test/zdtm.py run -a -p 2 --lazy-pages $LAZY_EXCLUDE
-./test/zdtm.py run -a -p 2 --remote-lazy-pages $LAZY_EXCLUDE
+LAZY_EXCLUDE="$LAZY_EXCLUDE -x maps04"
+
+LAZY_TESTS=".*\(maps0\|uffd-events\|lazy-thp\|futex\|fork\).*"
+
+./test/zdtm.py run -p 2 -T $LAZY_TESTS --lazy-pages $LAZY_EXCLUDE
+./test/zdtm.py run -p 2 -T $LAZY_TESTS --remote-lazy-pages $LAZY_EXCLUDE
 
 bash ./test/jenkins/criu-fault.sh
 bash ./test/jenkins/criu-fcg.sh

Comments

Mike Rapoport Oct. 8, 2017, 1:20 p.m.
Please discard this patch, v2 is on the way

On Sun, Oct 08, 2017 at 09:28:59AM +0300, Mike Rapoport wrote:
> Running all the tests with --lazy-pages and --remote-lazy-pages takes too
> long. Let's run only several representing tests for those cases.
> 
> Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
> ---
>  scripts/travis/travis-tests | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/scripts/travis/travis-tests b/scripts/travis/travis-tests
> index 062da83..515059f 100755
> --- a/scripts/travis/travis-tests
> +++ b/scripts/travis/travis-tests
> @@ -81,9 +81,12 @@ else
>  		      -x socket_listen -x socket_listen6 -x cmdlinenv00
>  		      -x socket_close_data01 -x file_read"
>  fi
> -LAZY_EXCLUDE="$LAZY_EXCLUDE -x futex -x lazy-thp"
> -./test/zdtm.py run -a -p 2 --lazy-pages $LAZY_EXCLUDE
> -./test/zdtm.py run -a -p 2 --remote-lazy-pages $LAZY_EXCLUDE
> +LAZY_EXCLUDE="$LAZY_EXCLUDE -x maps04"
> +
> +LAZY_TESTS=".*\(maps0\|uffd-events\|lazy-thp\|futex\|fork\).*"
> +
> +./test/zdtm.py run -p 2 -T $LAZY_TESTS --lazy-pages $LAZY_EXCLUDE
> +./test/zdtm.py run -p 2 -T $LAZY_TESTS --remote-lazy-pages $LAZY_EXCLUDE
> 
>  bash ./test/jenkins/criu-fault.sh
>  bash ./test/jenkins/criu-fcg.sh
> -- 
> 2.7.4
>