diff options
| author | Berk D. Demir <bdd@mindcast.org> | 2022-05-01 23:15:08 +0000 |
|---|---|---|
| committer | Berk D. Demir <bdd@mindcast.org> | 2022-06-01 00:52:20 +0000 |
| commit | 89864413b28a787ee61e46a7ff510587eb041e32 (patch) | |
| tree | 31d691cb94707fb9c7c5e23f63276bd4fbcb0c38 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 1af612e8559393f4564784d567f9743fdef15797 (diff) | |
go-modules/packages: Run unit tests under subdirs
Bug:
Due to the way `buildGoDir` function was repurposed to also run `go
test`, if `checkFlags` was defined, `go test` was ran only at the top
level directory. Only the first element of `checkFlags` array would get
passed to the `go test` command as arguments.
Fix:
Now the first parameter to `buildGoDir` is handled as the command. If
the command is "test" `checkFlags` get passed as arguments along with
other build flags like ldflags, tags, etc.
Readability:
- Iteratively build a flag array in `buildGoDir` instead of single long
variable expansion command line.
- Bash style: Single line local assignment of positional parameters.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
