freebsd-nq/contrib/bmake/unit-tests/varname-vpath.exp
Simon J. Gerraty e2eeea75eb Merge 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 More code cleanup and refactoring.

o More unit tests

MFC after:	1 week
2020-11-20 06:02:31 +00:00

13 lines
501 B
Plaintext

CondParser_Eval: !defined(TEST_MAIN)
CondParser_Eval: exists(file-in-subdirectory)
exists(file-in-subdirectory) result is ""
CondParser_Eval: exists(file2-in-subdirectory)
exists(file2-in-subdirectory) result is ""
CondParser_Eval: exists(file-in-subdirectory)
exists(file-in-subdirectory) result is "varname-vpath.dir/file-in-subdirectory"
: yes 1
CondParser_Eval: exists(file2-in-subdirectory)
exists(file2-in-subdirectory) result is "varname-vpath.dir2/file2-in-subdirectory"
: yes 2
exit status 0