Hello all,
I'm still fairly new to packaging and I was packaging a golang library when one of
it's tests relies on networking so I'd like to skip it. The Fedora packaging
guidelines
https://docs.fedoraproject.org/en-US/packaging-guidelines/Golang/#_runnin...
suggests the `-r <regexp>` flag would help me do this, however I've not been
able to get it to work.
I've tried `%gocheck -r get_gcs_test.go`, `%gocheck -r get_gcs_test.*`, `%gocheck -r
./get_gcs_test.go`, as well as adding double quotes around the filename, but none of these
seem to have any effect on excluding the test. Am I using this flag incorrectly or is
there a bug with this flag?
I looked at a number of other golang packages and I wasn't able to find any other uses
of the `-r` flag. Only noting uses of the `-d <directory>` flag, which does seem to
work in my case but excludes other tests which I do not want to exclude.
--
Bryce Torcello
https://procupti.me