lib: fix code cache generation, add more tests and enable them by default
lib: fix code cache generation
e7f710c1 broke the code cache generation since internalBinding is now passed in through the wrapper and cannot be redeclared. This patch fixes that.
test: run code cache test by default and test generator
- Add the code cache tests to the default test suite, and test the bookkeeping when the binary is not built with the code cache.
- Test the code cache generator to make sure we do not accidentally break it - until we enable code cache in the CI.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines