-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add tests for --deps-only and --no-deps
- Loading branch information
Showing
8 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
depends: | ||
- lib | ||
|
||
buildScript: | | ||
true # must not be exectued | ||
packageScript: | | ||
true # must not be executed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
buildScript: | | ||
true # must not be exectued | ||
packageScript: | | ||
true # must not be executed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root: True | ||
|
||
depends: | ||
- app | ||
|
||
buildScript: | | ||
false # must not be exectued | ||
packageScript: | | ||
false # must not be executed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash -e | ||
. ../test-lib.sh 2>/dev/null || { echo "Must run in script directory!" ; exit 1 ; } | ||
cleanup | ||
|
||
# Test that --checkout-only does what it says. Additionally it checks that | ||
# tools that are used during a checkout step are still built. | ||
|
||
# checkout sources | ||
run_bob dev root --deps-only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
depends: | ||
- lib | ||
|
||
buildScript: | | ||
false # must not be exectued | ||
packageScript: | | ||
false # must not be executed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
buildScript: | | ||
false # must not be exectued | ||
packageScript: | | ||
false # must not be executed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root: True | ||
|
||
depends: | ||
- app | ||
|
||
buildScript: | | ||
true # must not be exectued | ||
packageScript: | | ||
true # must not be executed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash -e | ||
. ../test-lib.sh 2>/dev/null || { echo "Must run in script directory!" ; exit 1 ; } | ||
cleanup | ||
|
||
# Test that --checkout-only does what it says. Additionally it checks that | ||
# tools that are used during a checkout step are still built. | ||
|
||
# checkout sources | ||
run_bob dev root --no-deps |