make tests less verbose

This commit is contained in:
Jörg Thalheim 2020-05-17 07:56:56 +01:00
parent 8e8e65ba45
commit 5f830cf8fc
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell
#!nix-shell -p nix -p python3 -i python #!nix-shell --quiet -p nix -p python3 -i python
import argparse import argparse
import multiprocessing import multiprocessing
@ -33,12 +33,13 @@ def build_profile(profile: str) -> Tuple[str, subprocess.CompletedProcess]:
system = "armv7l-linux" system = "armv7l-linux"
cmd = [ cmd = [
"nix-build", "nix",
"build",
"-f", "build-profile.nix",
"-I", "-I",
f"nixos-hardware={ROOT}", f"nixos-hardware={ROOT}",
"--dry-run", "--dry-run",
"--show-trace", "--show-trace",
"build-profile.nix",
"--system", "--system",
system, system,
"--arg", "--arg",