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