Revision: 10497
Author:   [email protected]
Date:     Wed Jan 25 04:37:59 2012
Log:      MIPS: added --mips-arch-variant option to test.py.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/9270005
Patch from Daniel Kalmar <[email protected]>.
http://code.google.com/p/v8/source/detail?r=10497

Modified:
 /branches/bleeding_edge/tools/test.py

=======================================
--- /branches/bleeding_edge/tools/test.py       Wed Aug 31 07:12:25 2011
+++ /branches/bleeding_edge/tools/test.py       Wed Jan 25 04:37:59 2012
@@ -1211,6 +1211,7 @@
         dest="suppress_dialogs", default=True, action="store_true")
result.add_option("--no-suppress-dialogs", help="Display Windows dialogs for crashing tests",
         dest="suppress_dialogs", action="store_false")
+ result.add_option("--mips-arch-variant", help="mips architecture variant: mips32r1/mips32r2", default="mips32r2");
   result.add_option("--shell", help="Path to V8 shell", default="d8")
result.add_option("--isolates", help="Whether to test isolates", default=False, action="store_true")
   result.add_option("--store-unexpected-output",
@@ -1272,6 +1273,9 @@
   if options.snapshot:
     options.scons_flags.append("snapshot=on")
   global VARIANT_FLAGS
+  if options.mips_arch_variant:
+ options.scons_flags.append("mips_arch_variant=" + options.mips_arch_variant)
+
   if options.stress_only:
     VARIANT_FLAGS = [['--stress-opt', '--always-opt']]
   if options.nostress:

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to