freebsd-src/unit-tests/opt-debug-graph2.mk
Simon J. Gerraty 8b6f73e37b Import bmake-20210206
Changes of interest

  o unit-tests: use private TMPDIR to avoid errors from other users
  o avoid strdup in mkTempFile
  o always use vfork
  o job.c: do not create empty shell files in jobs mode
    reduce unnecessary calls to waitpid
  o cond.c: fix debug output for comparison operators in conditionals
2021-02-10 17:51:11 -08:00

23 lines
521 B
Makefile

# $NetBSD: opt-debug-graph2.mk,v 1.3 2021/02/02 17:47:56 rillig Exp $
#
# Tests for the -dg2 command line option, which prints the input
# graph after making everything, or before exiting on error.
#
# Before compat.c 1.222 from 2021-02-02, there was no debug output despite
# the error.
.MAKEFLAGS: -dg2
.MAIN: all
made-target: .PHONY
: 'Making $@.'
error-target: .PHONY
false
aborted-target: .PHONY aborted-target-dependency
aborted-target-dependency: .PHONY
false
all: made-target error-target aborted-target