In Makefile.test (tbb40_20111130) there is not a rule to build test_semaphore but there is something suspicious at line 151:
which doesn't make sense. Perhaps the content of this line should be: test_semaphore.$(TEST_EXT)
About the test run, the corresponding line is commented, but is not strange since the executable is not build.
At least in OS X the test build and run without problems.
Should this test be build and run or not ?