changeset 2502:b162f7c4fe64

Makefile.am (jtregcheck): Allow setting which tests to run. 2011-02-24 Matthias Klose <doko@ubuntu.com> * Makefile.am (jtregcheck): Allow setting which tests to run.
author doko@ubuntu.com
date Fri, 25 Mar 2011 13:17:53 +0100
parents 100f2c821aa5
children 2b50c801e31b
files ChangeLog Makefile.am
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Mar 24 16:05:21 2011 +0000
+++ b/ChangeLog	Fri Mar 25 13:17:53 2011 +0100
@@ -1,3 +1,7 @@
+2011-02-24  Matthias Klose  <doko@ubuntu.com>
+
+	* Makefile.am (jtregcheck): Allow setting which tests to run.
+
 2011-03-24  Andrew John Hughes  <ahughes@redhat.com>
 
 	* NEWS: Cleanup and mention hs20 b11.
--- a/Makefile.am	Thu Mar 24 16:05:21 2011 +0000
+++ b/Makefile.am	Fri Mar 25 13:17:53 2011 +0100
@@ -2102,7 +2102,9 @@
 jtreg_pids = ps x --no-headers -ww -o pid,ppid,args \
 	| awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,$(CURDIR)/$(sdkimg))/ {print $$1}'
 
-jtregcheck: jtreg check-hotspot check-langtools check-jdk
+jtreg_checks = hotspot langtools jdk
+
+jtregcheck: jtreg $(jtreg_checks:%=check-%)
 	for i in hotspot langtools jdk; do \
 	  echo "--------------- jtreg console summary for $$i ---------------"; \
 	  egrep -v '^(Passed:|Directory|Re[a-z]+\ written\ to)' test/check-$$i.log; \