summaryrefslogtreecommitdiff
path: root/unit-tests/dep-wildcards.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/dep-wildcards.mk')
-rw-r--r--unit-tests/dep-wildcards.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/unit-tests/dep-wildcards.mk b/unit-tests/dep-wildcards.mk
index c557efab3ebc3..781b149f5a705 100644
--- a/unit-tests/dep-wildcards.mk
+++ b/unit-tests/dep-wildcards.mk
@@ -1,8 +1,9 @@
-# $NetBSD: dep-wildcards.mk,v 1.2 2020/08/16 14:25:16 rillig Exp $
+# $NetBSD: dep-wildcards.mk,v 1.3 2020/09/08 05:33:05 rillig Exp $
#
# Tests for wildcards such as *.c in dependency declarations.
-# TODO: Implementation
-
-all:
- @:;
+all: ${.PARSEDIR}/dep-*.mk
+ # The :T is necessary to run this test from another directory.
+ # The :O is necessary since the result of the dependency resolution
+ # does not order the directory entries itself.
+ @printf '%s\n' ${.ALLSRC:T:O}