chiark / gitweb /
Test suite: Test build modes -g and -G
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Nov 2015 14:02:01 +0000 (14:02 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 1 Jul 2016 22:53:45 +0000 (23:53 +0100)
tests/lib-build-modes
tests/tests/build-modes
tests/tests/build-modes-gbp

index f5e3414..a0b4722 100644 (file)
@@ -40,6 +40,8 @@ bm-guess-e-source-e-targets () {
        *" -A") e_source=false; e_targets='build-indep binary-indep'    ;;
        *" -S") e_source=true;  e_targets=' '                           ;;
        *" -F") e_source=true;  e_targets='build binary'                ;;
+       *" -G") e_source=true;  e_targets='build-arch binary-arch'      ;;
+       *" -g") e_source=true;  e_targets='build-indep binary-indep'    ;;
        *)      e_source=true;  e_targets='build binary'                ;;
        esac
 }
index a8c5d5c..d61075a 100755 (executable)
@@ -12,6 +12,8 @@ for act in                                    \
        'build -B'                              \
        'build -A'                              \
        'build -F'                              \
+       'build -g'                              \
+       'build -G'                              \
        build-source                            \
 ; do
        bm-guess-e-source-e-targets "$act"
index 2e55cad..e8d9c16 100755 (executable)
@@ -28,6 +28,8 @@ for act in                                    \
        'gbp-build -B'                          \
        'gbp-build -A'                          \
        'gbp-build -F'                          \
+       'gbp-build -g'                          \
+       'gbp-build -G'                          \
 ; do
        bm-guess-e-source-e-targets "$act"
        real_act="$act --git-ignore-branch"