ECP-VeloC / AXL

Asynchronous Transfer Library
MIT License
2 stars 8 forks source link

Make each test case separate for 'make test', add BB API test #46

Closed tonyhutter closed 5 years ago

tonyhutter commented 5 years ago

Break out each test case individually to follow the cmake test conventions. Also, add the BB API tests if the BB API is compiled in. Test results now look like this:

$ make test
Running tests...
Test project /g/g0/hutter2/bbapi-newfixes/build
    Start 1: sync_test
1/3 Test #1: sync_test ........................   Passed    0.13 sec
    Start 2: pthreads_test
2/3 Test #2: pthreads_test ....................   Passed    0.12 sec
    Start 3: bbapi_test
3/3 Test #3: bbapi_test .......................   Passed   10.29 sec

100% tests passed, 0 tests failed out of 3

Total Test time (real) =  10.55 sec
tonyhutter commented 5 years ago

Rebased on master and removed commit dependencies