TOPLLab / WARDuino

📟 A dynamic WebAssembly VM for embedded systems
https://topllab.github.io/WARDuino/
Mozilla Public License 2.0
73 stars 7 forks source link

Unit tests compilation is unnecessarily slow #179

Open carllocos opened 1 year ago

carllocos commented 1 year ago

Currently, it takes 4 to 5 minutes to fully compile all the unit test files whereas the actual running of each test is blazing fast.

I think this is because, for each unit test file, we rebuild the whole Warduino project. Building WARDuino as a shared library across each unit test file should increase performance. This just requires a change in the CMakeLists.txt file.