Cubyz
Cubyz copied to clipboard
Allow allocators in testing
Fixes #1286
I discourage this change. Sharing allocators, or in more general terms, resources across tests may result in absurd interactions which are very hard to track down. Instead allocators should be explicitly initialized with a helper function at the start of the test and defer deinited. Since we have our runner, we can hardcore that inside runner so it does init deinit before and after running the test.