From: tb Date: Thu, 22 Jun 2023 19:23:27 +0000 (+0000) Subject: symbols: Tweak this test so it works with -j N X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=284c0140120e7bdcfaf1782b9128a8de33ce5291;p=openbsd symbols: Tweak this test so it works with -j N --- diff --git a/regress/lib/libcrypto/symbols/Makefile b/regress/lib/libcrypto/symbols/Makefile index b37fb87e7c5..7b703bbf9e3 100644 --- a/regress/lib/libcrypto/symbols/Makefile +++ b/regress/lib/libcrypto/symbols/Makefile @@ -1,10 +1,8 @@ -# $OpenBSD: Makefile,v 1.3 2022/09/21 15:24:45 tb Exp $ +# $OpenBSD: Makefile,v 1.4 2023/06/22 19:23:27 tb Exp $ TESTS = \ symbols -PROG = ${TESTS} - REGRESS_TARGETS= all_tests .include # for BSDSRCDIR @@ -29,10 +27,10 @@ CFLAGS+= -Wno-deprecated-declarations CLEANFILES+= include_headers.c symbols.c symbols.c.tmp symbols.c: symbols.awk ../../../../lib/libcrypto/Symbols.list - make -f ${.CURDIR}/Makefile include_headers.c + make -f ${.CURDIR}/Makefile include_headers.c; \ awk -f ${.CURDIR}/symbols.awk \ - < ${BSDSRCDIR}/lib/libcrypto/Symbols.list > symbols.c.tmp - mv symbols.c.tmp symbols.c + < ${BSDSRCDIR}/lib/libcrypto/Symbols.list > $@.tmp; \ + mv -f $@.tmp $@ all_tests: ${TESTS} @for test in $>; do \