xref: /freebsd/contrib/bmake/unit-tests/opt-debug-x-trace.mk (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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