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
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: