diff options
Diffstat (limited to 'tests/common')
-rw-r--r-- | tests/common/git/README | 12 | ||||
-rwxr-xr-x | tests/common/git/init | 8 | ||||
-rw-r--r-- | tests/common/git/state0/libbar.tar | bin | 61440 -> 61440 bytes | |||
-rw-r--r-- | tests/common/git/state0/libfoo.tar | bin | 256000 -> 256000 bytes | |||
-rw-r--r-- | tests/common/git/state0/style-basic.tar | bin | 61440 -> 61440 bytes | |||
-rw-r--r-- | tests/common/git/state0/style.tar | bin | 112640 -> 112640 bytes | |||
-rw-r--r-- | tests/common/git/state1/libbaz.tar | bin | 61440 -> 61440 bytes | |||
-rw-r--r-- | tests/common/git/state1/libfoo.tar | bin | 337920 -> 337920 bytes | |||
-rw-r--r-- | tests/common/git/state1/style-basic.tar | bin | 61440 -> 61440 bytes | |||
-rw-r--r-- | tests/common/git/state1/style.tar | bin | 112640 -> 112640 bytes |
10 files changed, 15 insertions, 5 deletions
diff --git a/tests/common/git/README b/tests/common/git/README index eac6765..737cd83 100644 --- a/tests/common/git/README +++ b/tests/common/git/README @@ -26,7 +26,7 @@ host. $ cd /var/scm -Create repositories, providing the proper project description: +Create repositories, providing proper project descriptions: # bpkg test repository with doc basic style library (initial state) # @@ -102,3 +102,13 @@ done $ for d in $(find . -type d -regex '\./testing/bpkg/advonly/.*/[^/]+\.git'); do \ git -C $d config uploadpack.allowAnySHA1InWant false \ done + +To publish changed local repositories run the following commands in the tests/ +subdirectory: + +$ b test config.test.output=keep +$ b ./publish + +Test the published repositories: + +$ b test config.bpkg.test.remote=true diff --git a/tests/common/git/init b/tests/common/git/init index c999347..691799e 100755 --- a/tests/common/git/init +++ b/tests/common/git/init @@ -104,8 +104,8 @@ git -C libfoo.git commit -am 'Create' # Add tags for libfoo.git. # -git -C libfoo.git tag 'lightweight_tag' -git -C libfoo.git tag -a 'annotated_tag' -m 'annotated_tag' +git -C libfoo.git tag 'ltag' +git -C libfoo.git tag -a 'atag' -m 'Create annotated tag' # Advance the master branch to make tags not to mark a branch tip. # @@ -163,8 +163,8 @@ git -C libfoo.git submodule add ../libbaz.git libbaz git -C libfoo.git submodule update --init libbaz git -C libfoo.git commit -am 'Add libbaz' -git -C libfoo.git tag -f 'lightweight_tag' -git -C libfoo.git tag -f -a 'annotated_tag' -m 'annotated_tag' +git -C libfoo.git tag -f 'ltag' +git -C libfoo.git tag -f -a 'atag' -m 'Move annotated tag' touch libfoo.git/INSTALL git -C libfoo.git add INSTALL diff --git a/tests/common/git/state0/libbar.tar b/tests/common/git/state0/libbar.tar Binary files differindex 4eff7d2..879f042 100644 --- a/tests/common/git/state0/libbar.tar +++ b/tests/common/git/state0/libbar.tar diff --git a/tests/common/git/state0/libfoo.tar b/tests/common/git/state0/libfoo.tar Binary files differindex 3938070..0533b6d 100644 --- a/tests/common/git/state0/libfoo.tar +++ b/tests/common/git/state0/libfoo.tar diff --git a/tests/common/git/state0/style-basic.tar b/tests/common/git/state0/style-basic.tar Binary files differindex aabbbcd..9d0ff47 100644 --- a/tests/common/git/state0/style-basic.tar +++ b/tests/common/git/state0/style-basic.tar diff --git a/tests/common/git/state0/style.tar b/tests/common/git/state0/style.tar Binary files differindex 1821210..d83c39f 100644 --- a/tests/common/git/state0/style.tar +++ b/tests/common/git/state0/style.tar diff --git a/tests/common/git/state1/libbaz.tar b/tests/common/git/state1/libbaz.tar Binary files differindex de6e3d9..c0cdb40 100644 --- a/tests/common/git/state1/libbaz.tar +++ b/tests/common/git/state1/libbaz.tar diff --git a/tests/common/git/state1/libfoo.tar b/tests/common/git/state1/libfoo.tar Binary files differindex ac5d10d..5708d07 100644 --- a/tests/common/git/state1/libfoo.tar +++ b/tests/common/git/state1/libfoo.tar diff --git a/tests/common/git/state1/style-basic.tar b/tests/common/git/state1/style-basic.tar Binary files differindex 94dc12b..71b5985 100644 --- a/tests/common/git/state1/style-basic.tar +++ b/tests/common/git/state1/style-basic.tar diff --git a/tests/common/git/state1/style.tar b/tests/common/git/state1/style.tar Binary files differindex 9e997ae..c939a87 100644 --- a/tests/common/git/state1/style.tar +++ b/tests/common/git/state1/style.tar |