Multi project and --tests

Is the --test option (testFilter) supposed to work with a multi-project build?

I’ve been trying various permutations of this but it looks like it tries the pattern against the first sub project, fails to find a match and throws an exception “No tests found for given includes:”

If I specify a sub project explicitly then it works as expected but not with the top level :tests target.

Has no one else run into this? Seems like a bug to me.