aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/resolver_TEST_binaries_setup.sh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-03 23:30:24 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-03 23:30:24 +0100
commit989e826f9820e73fa2a7c3e6254eb38bbcbe9dac (patch)
tree962d3b003f8f68e8340942b7c2dae07e9ff82262 /paludis/resolver/resolver_TEST_binaries_setup.sh
parentb57878f111aa8000e9a3400494025d5e47b44f9d (diff)
downloadpaludis-989e826f9820e73fa2a7c3e6254eb38bbcbe9dac.tar.gz
paludis-989e826f9820e73fa2a7c3e6254eb38bbcbe9dac.tar.xz
Self run cycles shouldn't prevent binary creation
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