Reviewers: Benedikt Meurer,

Description:
Really disable test when running with optimize for size

[email protected]
LOG=n
BUG=none

Please review this at https://codereview.chromium.org/652903008/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M test/cctest/test-spaces.cc


Index: test/cctest/test-spaces.cc
diff --git a/test/cctest/test-spaces.cc b/test/cctest/test-spaces.cc
index 8fcb7d94e879b6229cc3779c66657a8f17dd36e2..9ad44233d9ae23b6b5fa81779844b89d8b0b6c9e 100644
--- a/test/cctest/test-spaces.cc
+++ b/test/cctest/test-spaces.cc
@@ -472,7 +472,7 @@ static inline void FillCurrentPage(v8::internal::NewSpace* space) {

 UNINITIALIZED_TEST(NewSpaceGrowsToTargetCapacity) {
   FLAG_target_semi_space_size = 2;
-  FLAG_optimize_for_size = false;
+  if (FLAG_optimize_for_size) return;

   v8::Isolate* isolate = v8::Isolate::New();
   {


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to