chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e9a4d1
)
packaging: When running in "debian" build profile, don't run tests
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 14 Dec 2022 22:03:08 +0000
(22:03 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 14 Dec 2022 22:06:52 +0000
(22:06 +0000)
We can't rely on unshare being allowed at build time. Save this for
autopkgtests (which don't exist yet).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index 68e2632c74c3440258249bdc0cc73d64c4815f26..c98b3f595aebc4cfc3d1f3343b0e8167d23d915b 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-34,4
+34,7
@@
execute_before_dh_auto_clean:
if test -f Cargo.lock.upstream; \
then mv Cargo.lock.upstream Cargo.lock; fi
+override_dh_auto_test:
+ @echo not running tests during build - they need unshare
+
endif