test reimplements rather than reusing the build flag processing...