chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test suite: Provide test for nonexistent --always-split-source-build
[dgit.git]
/
tests
/
lib-build-modes
diff --git
a/tests/lib-build-modes
b/tests/lib-build-modes
index a0b47222362ca1c443e875d3fe4ade58d40a44b9..8fa263c34448176d43c53ab424529951253e9c13 100644
(file)
--- a/
tests/lib-build-modes
+++ b/
tests/lib-build-modes
@@
-97,7
+97,7
@@
bm-compute-expected () {
}
bm-run-one () {
}
bm-run-one () {
- local args="--clean=$cleanmode $real_act"
+ local args="
$DGIT_TEST_BM_BASEARGS
--clean=$cleanmode $real_act"
bmid="$act,$cleanmode,$branch"
bmid=${bmid// /_}
bmid="$act,$cleanmode,$branch"
bmid=${bmid// /_}
@@
-158,3
+158,10
@@
bm-act-iterate () {
done
: bm-act-iterate done.
}
done
: bm-act-iterate done.
}
+
+bm-alwayssplit () {
+ local t=${0##*/}
+ DGIT_TEST_BM_BASEARGS+=' --always-split-source-build'
+ export DGIT_TEST_BM_BASEARGS
+ t-chain-test "${t%%-asplit}"
+}