Exclude incompatible test targets. (#2535)

The "Resolving test targets via bazel query" phase doesn't filter them
and passes an explicit list to "test" which can't filter it due to it
being explicitly requested
1 file changed