aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2024-08-09 20:35:49 +0200
committerJ08nY2024-08-09 20:35:49 +0200
commit7f21a126fa55ad69e6768458abdb36e1a6f361e5 (patch)
treecf13dd50f66dedae33d1a44bbd3ec33f480cd63d
parenta5a6ef2b5776573d5bd55d6c75f806d752b957c5 (diff)
downloadECTester-7f21a126fa55ad69e6768458abdb36e1a6f361e5.tar.gz
ECTester-7f21a126fa55ad69e6768458abdb36e1a6f361e5.tar.zst
ECTester-7f21a126fa55ad69e6768458abdb36e1a6f361e5.zip
Log error in test shim build.
-rw-r--r--test_building_all_shims.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test_building_all_shims.py b/test_building_all_shims.py
index 5f59f8f..259a6a1 100644
--- a/test_building_all_shims.py
+++ b/test_building_all_shims.py
@@ -16,8 +16,9 @@ def can_build(library, version):
cmd = ["nix", "build", f".#shim.{library}.{version}"]
start = time.time()
try:
- sp.check_output(cmd, stderr=sp.DEVNULL)
+ sp.check_output(cmd, stderr=sp.STDOUT)
except sp.CalledProcessError as e:
+ print(e.output.decode())
return False, time.time() - start
return True, time.time() - start
@@ -46,7 +47,7 @@ def main():
for version in get_all_versions(lib):
print(f"{version}: {can_build(lib, version)}")
case _:
- print(f"Library: {lib}")
+ print(f"Library: {library}")
for version in get_all_versions(library):
print(f"{version}: {can_build(library, version)}")