[CRIU] [PATCH v2] travis/lazy-pages: explicitly define the tests to verify lazy-pages

Mike Rapoport rppt at linux.vnet.ibm.com
Sun Oct 8 16:19:40 MSK 2017


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 at linux.vnet.ibm.com>
---
v2: remove quotes for LAZY_TESTS definition to actually run some tests :)

 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..d523360 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



More information about the CRIU mailing list