chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ebc225
)
Test suite: provide for x-dgit-unfinished restriction
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 5 Sep 2016 23:10:23 +0000
(
00:10
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 5 Sep 2016 23:31:48 +0000
(
00:31
+0100)
This will allow us to add tests which fail or are broken, without
causing the test suite as a whole to fail. When the test is good, the
restrction should be removed.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib-restricts
patch
|
blob
|
history
diff --git
a/tests/lib-restricts
b/tests/lib-restricts
index 1eb166e424a68f093929f8d4662708534fb9a7b0..bffe13a2b1e9beafe37de3bf7f63555cff075b45 100644
(file)
--- a/
tests/lib-restricts
+++ b/
tests/lib-restricts
@@
-15,3
+15,8
@@
t-restriction-x-dgit-git-only () {
t-restriction-x-dgit-schroot-build () {
schroot -l -c build 2>&1 >/dev/null || return 1
}
+
+t-restriction-x-dgit-unfinished () {
+ echo 'unfinished test, or unfinished feature'
+ return 1
+}