mini_racer/test
Jean Rouge 42475db467 Making it possible to set V8 runtime flags
Only caveat: such flags can only be set before the V8 platform gets initialized.

Comes in handy to deactivate for example V8's aggressive use of `pthread` which
somehow seems to not play too nice with Unicorn:

```
MiniRacer::Platform.set_flag! '--noconcurrent_recompilation'
MiniRacer::Platform.set_flag! '--noconcurrent_sweeping'
```

Also protecting the platform initialization with a mutex, not sure
how/why current concurrent tests never seem to hit bugs without that mutex.

Added just one test on the new `MiniRacer::Platform.set_flag!` method, and
unsure how to make other tests without making tests run in order (bad),
given that flags can only be set before anything else is done.
2016-06-22 13:36:57 -07:00
..
file.js Implement #load (initial trivial implementation) 2016-05-17 10:47:21 +10:00
mini_racer_test.rb Making it possible to set V8 runtime flags 2016-06-22 13:36:57 -07:00
test_helper.rb initial commit 2016-05-04 16:54:51 +10:00
test_leak.rb add valgrind rake task to ensure nothing leaks 2016-05-12 20:05:56 +10:00