chiark / gitweb /
Merge tag dgit/2.14 into `defence in dgit-repos-server' branch
[dgit.git] / tests / tests / build-modes
1 #!/bin/bash
2 set -e
3 . tests/lib
4 . $troot/lib-build-modes
5
6 bm-prep
7
8 for act in                                      \
9         'build'                                 \
10         'build -S'                              \
11         'build -b'                              \
12         'build -B'                              \
13         'build -A'                              \
14         'build -F'                              \
15         'build -g'                              \
16         'build -G'                              \
17         build-source                            \
18 ; do
19         bm-guess-e-source-e-targets "$act"
20
21         case $act in
22         build-source)
23                 cleanmodes="$cleanmodes_all"
24                 ;;
25         *)
26                 cleanmodes="$cleanmodes_default"
27                 ;;
28         esac
29
30         real_act="$act"
31
32         bm-act-iterate
33 done
34
35 t-ok