nixpkgs/pkgs/development
Berk D. Demir 89864413b2 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.
2022-06-01 00:52:20 +00:00
..
androidndk-pkgs
beam-modules
bower-modules/generic
chez-modules
compilers Merge master into staging-next 2022-05-30 18:01:09 +00:00
coq-modules
dhall-modules
dotnet-modules
em-modules/generic
embedded
gnuradio-modules
go-modules go-modules/packages: Run unit tests under subdirs 2022-06-01 00:52:20 +00:00
go-packages go-modules/packages: Run unit tests under subdirs 2022-06-01 00:52:20 +00:00
guile-modules
haskell-modules
idris-modules
interpreters Merge staging-next into staging 2022-05-31 18:01:50 +00:00
java-modules
libraries Merge staging-next into staging 2022-05-31 12:02:02 +00:00
lisp-modules
lisp-modules-new
lua-modules
misc treewide: pkgs/development: mark broken for darwin 2022-05-30 13:42:57 +02:00
mobile Merge pull request #169468 from Atemu/update/android-env 2022-05-31 15:38:21 +02:00
nim-packages
node-packages deltachat-desktop: 1.28.2 -> 1.30.0 2022-05-30 12:54:51 -07:00
ocaml-modules ocamlPackages.json-data-encoding: 0.10 -> 0.11 2022-05-31 13:32:40 +02:00
octave-modules
perl-modules
pharo
php-packages
python2-modules
python-modules Merge staging-next into staging 2022-06-01 00:03:08 +00:00
quickemu
r-modules
ruby-modules
scheme-modules/scheme-bytestructures
tools Merge master into staging-next 2022-06-01 00:02:36 +00:00
web Merge pull request #173671 from Mindavi/treewide/broken-zhf 2022-05-30 14:10:43 +02:00