From 960f9848897f2511a08d2a5908078a348dfb1716 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 6 Mar 2013 16:02:26 -0800 Subject: Bring some sanity to the stability test. There is no reason to be stability testing every piece of bytecode we've ever encountered. If the compilation products are unstable, then testing 20,000 classfiles will reveal it. Or it won't; either way, we can stop there. So I cut a gordian knot and focused the stability test solely on the contents of: library reflect compiler Next I cut the "custom ant task" cord. There's a tool for diffing files, it's decades old, it's called diff. It does the entire job we need. If it doesn't work on windows, it doesn't matter. The stability test is not something which needs to run in every environment. Either the classfiles are stable or they aren't. Generated the ant xml for building quick.{lib,reflect,comp} and strap.{lib,reflect,comp} so they are identical modulo the compiler used to build them, probably for the first time ever. I'm sure they won't stay that way, but it's a step. --- build.xml | 228 +++++++++----------------------------------------------------- 1 file changed, 33 insertions(+), 195 deletions(-) (limited to 'build.xml') diff --git a/build.xml b/build.xml index 6198a6d68e..cab86b91bd 100644 --- a/build.xml +++ b/build.xml @@ -433,6 +433,7 @@ INITIALISATION + @@ -926,7 +927,6 @@ QUICK BUILD (QUICK) - @@ -989,28 +989,14 @@ QUICK BUILD (QUICK) + - - - - - - - - - - - + - + @@ -1031,11 +1017,11 @@ QUICK BUILD (QUICK) + - @@ -1109,6 +1095,18 @@ QUICK BUILD (QUICK) + + + + + + + @@ -1118,6 +1116,7 @@ QUICK BUILD (QUICK) + + @@ -1714,7 +1714,7 @@ BOOTSTRAPPING BUILD (STRAP) destdir="${build-strap.dir}/classes/library" compilerpathref="pack.classpath" srcpath="${src.dir}/library" - params="${scalac.args.quick}" + params="${scalac.args.strap}" srcdir="${src.dir}/library" jvmargs="${scalacfork.jvmargs}"> @@ -1723,7 +1723,7 @@ BOOTSTRAPPING BUILD (STRAP) @@ -1743,28 +1743,15 @@ BOOTSTRAPPING BUILD (STRAP) - - - - - - - - - - - + - + + + @@ -1807,7 +1794,7 @@ BOOTSTRAPPING BUILD (STRAP) - + @@ -1822,7 +1809,7 @@ BOOTSTRAPPING BUILD (STRAP) @@ -1860,153 +1847,7 @@ BOOTSTRAPPING BUILD (STRAP) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2370,13 +2211,10 @@ DOCUMENTATION BOOTRAPING TEST AND TEST SUITE ============================================================================ --> - - - - - - - + + + + -- cgit v1.2.3