xref: /freebsd/contrib/bmake/unit-tests/opt-debug-x-trace.mk (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# $NetBSD: opt-debug-x-trace.mk,v 1.2 2022/01/23 16:09:38 rillig Exp $
2#
3# Tests for the -dx command line option, which runs shell commands with
4# the -x option, thereby printing the actual commands as they are
5# executed.
6
7.MAKEFLAGS: -dx
8
9# expect: + echo 'Counting 1 2 3 4 5 6 7'
10# expect: Counting 1 2 3 4 5 6 7
11all: .PHONY
12	@echo 'Counting ${:U:range=7}'
13