Module Name: src Committed By: sjg Date: Sat Dec 5 03:42:15 UTC 2020
Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Use .MAKE.OS if we can To generate a diff of this commit: cvs rdiff -u -r1.235 -r1.236 src/usr.bin/make/unit-tests/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/unit-tests/Makefile diff -u src/usr.bin/make/unit-tests/Makefile:1.235 src/usr.bin/make/unit-tests/Makefile:1.236 --- src/usr.bin/make/unit-tests/Makefile:1.235 Fri Dec 4 14:28:50 2020 +++ src/usr.bin/make/unit-tests/Makefile Sat Dec 5 03:42:15 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.235 2020/12/04 14:28:50 rillig Exp $ +# $NetBSD: Makefile,v 1.236 2020/12/05 03:42:15 sjg Exp $ # # Unit tests for make(1) # @@ -552,7 +552,7 @@ LANG= C MAKE_TEST_ENV?= MALLOC_OPTIONS="JA" # for jemalloc -.if ${:!uname -s!} == "NetBSD" +.if ${.MAKE.OS:U${uname -s:L:sh}} == "NetBSD" LIMIT_RESOURCES?= ulimit -v 200000 .endif LIMIT_RESOURCES?= :