Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/bulk-flavor-ignore-vs-skip-listed-all-depignored.sh')
-rw-r--r--test/bulk-flavor-ignore-vs-skip-listed-all-depignored.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/bulk-flavor-ignore-vs-skip-listed-all-depignored.sh b/test/bulk-flavor-ignore-vs-skip-listed-all-depignored.sh
new file mode 100644
index 00000000..2017e02e
--- /dev/null
+++ b/test/bulk-flavor-ignore-vs-skip-listed-all-depignored.sh
@@ -0,0 +1,18 @@
+FLAVOR_DEFAULT_ALL=no
+
+# XXX: Removing DEFAULT here breaks the framework. It should default to the first flav due to FLAVOR_DEFAULT_ALL=no
+LISTPORTS="misc/foo-all-DEPIGNORED@DEFAULT"
+# XXX: Adding this is because the framework gets very confused otherwise.
+# That is, why are we actually queueing the skipped listed port? It's
+# skipped early.
+LISTPORTS="${LISTPORTS} ports-mgmt/pkg"
+OVERLAYS="overlay omnibus"
+. common.bulk.sh
+
+do_bulk -n ${LISTPORTS}
+assert 0 $? "Bulk should pass"
+
+EXPECTED_IGNORED="misc/foo-dep-FLAVORS-unsorted@DEPIGNORED"
+EXPECTED_SKIPPED="misc/foo-all-DEPIGNORED@DEFAULT"
+
+assert_bulk_queue_and_stats