aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-05-15 11:38:10 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2026-05-15 13:22:33 +1000
commit6cab5e3713acf94c8304feb332714cb93942c29c (patch)
treeb7caa1dea849df643b47629c98a50bf6ca85612e
parent4de7c3826d810e2e3f7f404dc8037ab445d6f2f0 (diff)
downloadpasst-6cab5e3713acf94c8304feb332714cb93942c29c.tar
passt-6cab5e3713acf94c8304feb332714cb93942c29c.tar.gz
passt-6cab5e3713acf94c8304feb332714cb93942c29c.tar.bz2
passt-6cab5e3713acf94c8304feb332714cb93942c29c.tar.lz
passt-6cab5e3713acf94c8304feb332714cb93942c29c.tar.xz
passt-6cab5e3713acf94c8304feb332714cb93942c29c.tar.zst
passt-6cab5e3713acf94c8304feb332714cb93942c29c.zip
test: Extend exeter build tests to cover more recent binaries
test/build/build.py tests that the Makefile works to build our binaries. However, it hasn't been updated for a while, and doesn't cover passt-repair or pesto. Extend it to cover those too. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rwxr-xr-xtest/build/build.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/build/build.py b/test/build/build.py
index e3de830..eeee5ac 100755
--- a/test/build/build.py
+++ b/test/build/build.py
@@ -68,10 +68,13 @@ def test_make(target: str, expected_files: list[str]) -> None:
assert not p.exists(), f"{p} existed after make clean"
-exeter.register('make_passt', test_make, 'passt', ['passt'])
-exeter.register('make_pasta', test_make, 'pasta', ['pasta'])
-exeter.register('make_qrap', test_make, 'qrap', ['qrap'])
-exeter.register('make_all', test_make, 'all', ['passt', 'pasta', 'qrap'])
+BINARIES = ['passt', 'pasta', 'qrap', 'passt-repair', 'pesto']
+
+
+for bin in BINARIES:
+ exeter.register(f'make_{bin.replace('-', '_')}', test_make, bin, [bin])
+
+exeter.register('make_all', test_make, 'all', BINARIES)
@exeter.test