freebsd-src/unit-tests/directive-export-literal.mk
Simon J. Gerraty 1b65f0bd2b Import bmake-20201117
o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
  checks in InitObjdir.  Explicit .OBJDIR target always allows
  read-only directory.

o Fix building and unit-tests on non-BSD.

o More code cleanup and refactoring.

o More unit tests
2020-11-20 03:54:37 +00:00

16 lines
390 B
Makefile

# $NetBSD: directive-export-literal.mk,v 1.6 2020/11/03 17:17:31 rillig Exp $
#
# Tests for the .export-literal directive, which exports a variable value
# without expanding it.
UT_VAR= value with ${UNEXPANDED} expression
.export-literal UT_VAR
.export-litera # oops: misspelled
.export-literal # oops: missing argument
.export-literally # oops: misspelled
all:
@echo "$$UT_VAR"