- Get windows travis CI to actually see libzmq
- run "Fulcrum -v" in travis CI to see the libs it linked against before
running tests.
- Install jemalloc on travis mac build
- Install jemalloc on travis linux build
It turns out for some reason initialization order was wrong on Windows
and ths std::map instances for registeredTests and registeredBenches
were being accessed before their construction.
In order to fix this we are using std::unique_ptr for these types and
the first time through the common "register" function we simply
construct the maps via std::make_unique<>()..
This fixes the crash-on-startup bug seen on Windows when compiling with
-DENABLE_TESTS.
We also enabled the tests on travis for windows.
If compiling with -DENABLE_TESTS:
- --test all - to run all the tests
- --bench all - to run all the benchmarks
Also in this commit: Refactoed/redid the generic Util::keySet() and
Util::valueSet() to be able to produce any common container type from
any common map type.