RFR: JDK-8176196 sed from FindTests.gmk prints warnings (original) (raw)
Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Mon Mar 6 08:35:21 UTC 2017
- Previous message (by thread): What to pass to --with-custom-make-dir?
- Next message (by thread): RFR: JDK-8176196 sed from FindTests.gmk prints warnings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If not all JTreg group files are present, the sed expression in FindTests.gmk will print a warning. This is benign but irritating.
Bug: https://bugs.openjdk.java.net/browse/JDK-8176196
Patch inline:
diff --git a/make/common/FindTests.gmk b/make/common/FindTests.gmk
--- a/make/common/FindTests.gmk
+++ b/make/common/FindTests.gmk
@@ -52,7 +52,8 @@
1JTREGGROUPFILES:=1_JTREG_GROUP_FILES := 1JTREGGROUPFILES:=$(addprefix ($1_JTREG_TESTROOT)/,
($1_JTREG_GROUP_FILENAMES))
1JTREGTESTGROUPS:=1_JTREG_TEST_GROUPS := 1JTREGTESTGROUPS:=$(strip (shell (SED) -n \
-e 's/\([^ ]*\)\w*=.*/\1/gp' <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow></mrow><annotation encoding="application/x-tex"></annotation></semantics></math></span><span class="katex-html" aria-hidden="true"></span></span>($1_JTREG_GROUP_FILES) | <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow></mrow><annotation encoding="application/x-tex"></annotation></semantics></math></span><span class="katex-html" aria-hidden="true"></span></span>(SORT) -u))
-e 's/\([^ ]*\)\w*=.*/\1/gp' <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow></mrow><annotation encoding="application/x-tex"></annotation></semantics></math></span><span class="katex-html" aria-hidden="true"></span></span>(wildcard <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow></mrow><annotation encoding="application/x-tex"></annotation></semantics></math></span><span class="katex-html" aria-hidden="true"></span></span>($1_JTREG_GROUP_FILES)) \
endif endef| <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow></mrow><annotation encoding="application/x-tex"></annotation></semantics></math></span><span class="katex-html" aria-hidden="true"></span></span>(SORT) -u))
/Magnus
- Previous message (by thread): What to pass to --with-custom-make-dir?
- Next message (by thread): RFR: JDK-8176196 sed from FindTests.gmk prints warnings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]