| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 12269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12280 fuzzing_ = false; | 12280 fuzzing_ = false; |
| 12281 for (int i = 0; i < RegisterThreadedTest::count(); i++) { | 12281 for (int i = 0; i < RegisterThreadedTest::count(); i++) { |
| 12282 ApiTestFuzzer *fuzzer = RegisterThreadedTest::nth(i)->fuzzer_; | 12282 ApiTestFuzzer *fuzzer = RegisterThreadedTest::nth(i)->fuzzer_; |
| 12283 if (fuzzer != NULL) fuzzer->Join(); | 12283 if (fuzzer != NULL) fuzzer->Join(); |
| 12284 } | 12284 } |
| 12285 } | 12285 } |
| 12286 | 12286 |
| 12287 | 12287 |
| 12288 // Lets not be needlessly self-referential. | 12288 // Lets not be needlessly self-referential. |
| 12289 TEST(Threading1) { | 12289 TEST(Threading1) { |
| 12290 // TODO(mstarzinger): Disabled in GC stress mode for now, we should find the | |
| 12291 // correct timeout for this an re-enable this test again | |
| 12292 if (i::FLAG_stress_compaction) return; | |
| 12293 ApiTestFuzzer::SetUp(ApiTestFuzzer::FIRST_PART); | 12290 ApiTestFuzzer::SetUp(ApiTestFuzzer::FIRST_PART); |
| 12294 ApiTestFuzzer::RunAllTests(); | 12291 ApiTestFuzzer::RunAllTests(); |
| 12295 ApiTestFuzzer::TearDown(); | 12292 ApiTestFuzzer::TearDown(); |
| 12296 } | 12293 } |
| 12297 | 12294 |
| 12298 | 12295 |
| 12299 TEST(Threading2) { | 12296 TEST(Threading2) { |
| 12300 ApiTestFuzzer::SetUp(ApiTestFuzzer::SECOND_PART); | 12297 ApiTestFuzzer::SetUp(ApiTestFuzzer::SECOND_PART); |
| 12301 ApiTestFuzzer::RunAllTests(); | 12298 ApiTestFuzzer::RunAllTests(); |
| 12302 ApiTestFuzzer::TearDown(); | 12299 ApiTestFuzzer::TearDown(); |
| (...skipping 7892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20195 CheckCorrectThrow("%GetLocalPropertyNames(other, true)"); | 20192 CheckCorrectThrow("%GetLocalPropertyNames(other, true)"); |
| 20196 CheckCorrectThrow("%DefineOrRedefineAccessorProperty(" | 20193 CheckCorrectThrow("%DefineOrRedefineAccessorProperty(" |
| 20197 "other, 'x', null, null, 1)"); | 20194 "other, 'x', null, null, 1)"); |
| 20198 | 20195 |
| 20199 // Reset the failed access check callback so it does not influence | 20196 // Reset the failed access check callback so it does not influence |
| 20200 // the other tests. | 20197 // the other tests. |
| 20201 v8::V8::SetFailedAccessCheckCallbackFunction(NULL); | 20198 v8::V8::SetFailedAccessCheckCallbackFunction(NULL); |
| 20202 } | 20199 } |
| 20203 | 20200 |
| 20204 #endif // WIN32 | 20201 #endif // WIN32 |
| OLD | NEW |