Update PO files.
[tails-test.git] / features / build.feature
blobc03a2138fdc12374af82e41517b9493854d353e4
1 Feature: custom APT sources to build branches
2   As a Tails developer, when I build Tails, I'd be happy if
3   the proper APT sources were automatically picked depending
4   on which Git branch I am working on.
6   Scenario: build from a tagged stable branch
7     Given Tails 0.10 has been released
8     And last released version mentioned in debian/changelog is 0.10
9     And I am working on the stable branch
10     When I run tails-custom-apt-sources
11     Then I should see the '0.10' suite
13   Scenario: build from a bugfix branch for a stable release
14     Given Tails 0.10 has been released
15     And last released version mentioned in debian/changelog is 0.10
16     And I am working on the bugfix/disable_gdomap branch based on 0.10
17     When I run tails-custom-apt-sources
18     Then I should see the '0.10' suite
19     And I should see the 'bugfix-disable-gdomap' suite
21   Scenario: build from an untagged testing branch
22     Given I am working on the testing branch
23     And last released version mentioned in debian/changelog is 0.11
24     And Tails 0.11 has not been released yet
25     When I run tails-custom-apt-sources
26     Then I should see the 'testing' suite
27     And I should not see '0.11' suite
29   Scenario: build from a tagged testing branch
30     Given I am working on the testing branch
31     And last released version mentioned in debian/changelog is 0.11
32     And Tails 0.11 has been released
33     When I run tails-custom-apt-sources
34     Then I should see the '0.11' suite
35     And I should not see 'testing' suite
37   Scenario: build a release candidate from a tagged testing branch
38     Given I am working on the testing branch
39     And Tails 0.11 has been released
40     And last released version mentioned in debian/changelog is 0.12~rc1
41     And Tails 0.12-rc1 has been tagged
42     When I run tails-custom-apt-sources
43     Then I should see the '0.12-rc1' suite
44     And I should not see 'testing' suite
46   Scenario: build from the devel branch
47     Given I am working on the devel branch
48     When I run tails-custom-apt-sources
49     Then I should see the 'devel' suite
51   Scenario: build from the experimental branch
52     Given I am working on the experimental branch
53     When I run tails-custom-apt-sources
54     Then I should see the 'experimental' suite
56   Scenario: build from a feature branch based on devel
57     Given I am working on the feature/icedove branch based on devel
58     When I run tails-custom-apt-sources
59     Then I should see the 'devel' suite
60     And I should see the 'feature-icedove' suite
62   Scenario: build from a feature branch based on devel with dots in its name
63     Given I am working on the feature/live-boot-3.x branch based on devel
64     When I run tails-custom-apt-sources
65     Then I should see the 'devel' suite
66     And I should see the 'feature-live-boot-3.x' suite