tests: make: only build sensor tests for boards providing this sensor