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