Skip to content

Commit

Permalink
Fix tests involving zlib repo (#896)
Browse files Browse the repository at this point in the history
Current recipe source changed recently
  • Loading branch information
singiamtel authored Jan 16, 2025
1 parent 567c418 commit 26e84b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ An example recipe for `zlib` is the following:
```yaml
package: zlib
version: v1.2.8
source: https://github.com/star-externals/zlib
source: https://github.com/madler/zlib
tag: v1.2.8
---
#!/bin/bash -ex
Expand Down
8 changes: 4 additions & 4 deletions tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
TEST_ZLIB_RECIPE = """\
package: zlib
version: v1.2.3
source: https://github.com/star-externals/zlib
source: https://github.com/madler/zlib
tag: master
---
./configure
Expand Down Expand Up @@ -92,12 +92,12 @@
TEST_EXTRA_BUILD_HASH = ("5afae57bfc6a374e74c1c4427698ab5edebce0bc")


GIT_CLONE_REF_ZLIB_ARGS = ("clone", "--bare", "https://github.com/star-externals/zlib",
GIT_CLONE_REF_ZLIB_ARGS = ("clone", "--bare", "https://github.com/madler/zlib",
"/sw/MIRROR/zlib", "--filter=blob:none"), ".", False
GIT_CLONE_SRC_ZLIB_ARGS = ("clone", "-n", "https://github.com/star-externals/zlib",
GIT_CLONE_SRC_ZLIB_ARGS = ("clone", "-n", "https://github.com/madler/zlib",
"/sw/SOURCES/zlib/v1.2.3/8822efa61f",
"--dissociate", "--reference", "/sw/MIRROR/zlib", "--filter=blob:none"), ".", False
GIT_SET_URL_ZLIB_ARGS = ("remote", "set-url", "--push", "origin", "https://github.com/star-externals/zlib"), \
GIT_SET_URL_ZLIB_ARGS = ("remote", "set-url", "--push", "origin", "https://github.com/madler/zlib"), \
"/sw/SOURCES/zlib/v1.2.3/8822efa61f", False
GIT_CHECKOUT_ZLIB_ARGS = ("checkout", "-f", "master"), \
"/sw/SOURCES/zlib/v1.2.3/8822efa61f", False
Expand Down

0 comments on commit 26e84b9

Please sign in to comment.