1*9f45a3c8SSimon J. Gerraty# $NetBSD: opt-debug-x-trace.mk,v 1.2 2022/01/23 16:09:38 rillig Exp $ 2956e45f6SSimon J. Gerraty# 3956e45f6SSimon J. Gerraty# Tests for the -dx command line option, which runs shell commands with 4956e45f6SSimon J. Gerraty# the -x option, thereby printing the actual commands as they are 5956e45f6SSimon J. Gerraty# executed. 6956e45f6SSimon J. Gerraty 7*9f45a3c8SSimon J. Gerraty.MAKEFLAGS: -dx 8956e45f6SSimon J. Gerraty 9*9f45a3c8SSimon J. Gerraty# expect: + echo 'Counting 1 2 3 4 5 6 7' 10*9f45a3c8SSimon J. Gerraty# expect: Counting 1 2 3 4 5 6 7 11*9f45a3c8SSimon J. Gerratyall: .PHONY 12*9f45a3c8SSimon J. Gerraty @echo 'Counting ${:U:range=7}' 13