From 26090be240aabc2e08cca027e88248c830637b63 Mon Sep 17 00:00:00 2001 From: Renfei Wang Date: Thu, 14 Oct 2021 21:58:09 -0400 Subject: [PATCH] Update document for disable testflag feature (#3000) Signed-off-by: renfeiw --- doc/userGuide.md | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/doc/userGuide.md b/doc/userGuide.md index 75da20de21..3a29a548b6 100644 --- a/doc/userGuide.md +++ b/doc/userGuide.md @@ -406,11 +406,15 @@ To exclude the test for all linux platforms: ```auto exclude test jdk_test plat=.*linux.*``` +To exclude the test for AOT testing: + +```auto exclude test jdk_test testflag=AOT``` + plat is defined in regular expression. All platforms can be found here: https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/openjdk_tests -To exclude the 2nd variation listed which is assigned suffix_1 ```-Xmx1024m``` against adoptopenjdk openj9 java 8 on windows only: +To exclude the 2nd variation listed which is assigned suffix_1 ```-Xmx1024m``` against eclipse openj9 java 8 on windows for AOT testing only: -```auto exclude test jdk_test_1 impl=openj9 vendor=adoptopenjdk ver=8 plat=.*windows.*``` +```auto exclude test jdk_test_1 impl=openj9 vendor=eclipse ver=8 plat=.*windows.* testflag=AOT``` After the comment is left, there will be a auto PR created with the exclude change in the playlist.xml. The PR will be linked to issue. If the testName can not be found in the repo, no PR will be created and there will be a comment left in the issue linking to the failed workflow run for more details. In the case where the parameter contains space separated values, use single quotes to group the parameter. @@ -524,10 +528,27 @@ For example, to exclude the test for all linux platforms: ``` +##### Exclude a test against specific TEST_FLAG environment variable: +Add a `````` element in the `````` element to specify the TEST_FLAG. + +For example, to exclude the test for testing AOT (i.e.,TEST_FLAG=AOT): + +``` + + jdk_test + + + https://github.com/adoptium/aqa-tests/issues/123456 + AOT + + + ... +``` + ##### Exclude test against multiple criteria: -Defined a combination of ``````, ``````, ``````, and `````` in the `````` element. +Defined a combination of ``````, ``````, ``````, ``````, and `````` in the `````` element. -For example, to exclude the test with variation ```-Xmx1024m``` against adoptopenjdk openj9 java 8 on windows only: +For example, to exclude the test with variation ```-Xmx1024m``` against eclipse openj9 java 8 on windows for AOT testing only: ``` @@ -538,8 +559,9 @@ For example, to exclude the test with variation ```-Xmx1024m``` against adoptope -Xmx1024m 8 openj9 - adoptopenjdk + eclipse .*windows.* + AOT ...