[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-distro-pkg-dev
Subject:    [rfc] [icedtea-web] get rid of (most of) repeated runs of tests
From:       adomurad () redhat ! com (Adam Domurad)
Date:       2012-06-28 15:08:57
Message-ID: 1340896137.14922.44.camel () voip-10-15-18-79 ! yyz ! redhat ! com
[Download RAW message or body]

Looks good to me. OK for HEAD.
On Thu, 2012-06-28 at 13:31 +0200, Jiri Vanek wrote:
> ping.. getting  urgent
> 
> -------- Original Message --------
> Subject: [rfc] [icedtea-web] get rid of (most of) repeated runs of tests
> Date: Thu, 21 Jun 2012 20:39:59 +0200
> From: Jiri Vanek <jvanek at redhat.com>
> To: IcedTea Distro List <distro-pkg-dev at openjdk.java.net>
> 
> Hi!
> 
> Recently I have noticed that before each coverage run, *ALL* testsuites are run
> This is making run of pure run-test-code-coverage six time longer, and does not matter waht was run 
> before.
> Also I have noticed that pac tests and unit tests are rerun always. PAc tests were just not stamped, 
> but unit? hmmm
> 
> This patch is fixing all issues except one:
> * run-test-code-coverage will not rerun run-unit-test-code-coverage nor run-dist-test-code-coverage 
> if already run
> * run-unit-test-code-coverage  will not rerun unittests nor pac tests if run
> * run-dist-test-code-coverage  will not rerun netx-dist-tests
> * run-netx-unit-tests will not rerun pac tests if already run
> 
> Also all above (except run-netx-unit-tests)  will  stdout "nothing to do for..." if already run.
> The  run-netx-unit-tests behave strangely...  If run, they always run again. I have not discovered 
> why :-/.
> Make -d is printing  out that  stamps/run-netx-unit-tests.stamp do not exist. But I ensure several 
> times that it does (eg test -f  in target :-/).
> 
> The only nasty thing in this patch is copy-pasted code from netx-dist-tests-remove-cert-from-public 
> to stamps/exported-test-certs.stamp.
> The fact that all reproducers runs were depending on unstamped file was cause of their repeated 
> reruning. Any idea how to do this better without duplicing welcomed.
> Just note, that remoal must be always run, so just stamped call of 
> netx-dist-tests-remove-cert-from-public will not help.
> 
> 
> Thanx in advice, J.
> 
> 
> 
> 2012-06-21  Jiri Vanek  <jvanek at redhat.com>
> 
> 	Removed repeated re-runing of tests during coverage, stamped pac tests
> 	* Makefile.am: (check-pac-functions) moved to target aliases and replaced
> 	by stamps/check-pac-functions.stamp.
> 	(clean-netx-unit-tests) added removing of  stamps/check-pac-functions.stamp
> 	(stamps/exported-test-certs.stamp): no longer depends on
> 	netx-dist-tests-remove-cert-from-public, logic of it have to be
> 	copy-pasted from here.
> 	(stamps/run-unit-test-code-coverage.stamp): no longer depends on check,
> 	but was added direct dependences
> 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic