aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/resolver_TEST_binaries_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/resolver_TEST_binaries_setup.sh')
-rwxr-xr-xpaludis/resolver/resolver_TEST_binaries_setup.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/paludis/resolver/resolver_TEST_binaries_setup.sh b/paludis/resolver/resolver_TEST_binaries_setup.sh
index 017ca1e7d..0f6a8cbed 100755
--- a/paludis/resolver/resolver_TEST_binaries_setup.sh
+++ b/paludis/resolver/resolver_TEST_binaries_setup.sh
@@ -22,6 +22,25 @@ cd repo
echo "repo" > profiles/repo_name
: > metadata/categories.conf
+# self-build-binary
+echo 'self-build-binary' >> metadata/categories.conf
+
+mkdir -p 'packages/self-build-binary/target'
+cat <<END > packages/self-build-binary/target/target-1.exheres-0
+SUMMARY="target"
+PLATFORMS="test"
+SLOT="0"
+DEPENDENCIES="build+run: self-build-binary/dep"
+END
+
+mkdir -p 'packages/self-build-binary/dep'
+cat <<END > packages/self-build-binary/dep/dep-1.exheres-0
+SUMMARY="dep"
+PLATFORMS="test"
+SLOT="0"
+DEPENDENCIES="build: self-build-binary/dep"
+END
+
# self-run-binary
echo 'self-run-binary' >> metadata/categories.conf