Re: RFR: 8326585: COMPARE_BUILD=PATCH fails if patch -R fails

2024-02-23 Thread Erik Joelsson
On Fri, 23 Feb 2024 15:18:11 GMT, Magnus Ihse Bursie wrote: > At the end of a COMPARE_BUILD run with a patch file, the build tries to > revert the patch to restore the workspace as it was. On some versions of > patch, this fails if one or more files were deleted, causing the makefile to >

RFR: 8326585: COMPARE_BUILD=PATCH fails if patch -R fails

2024-02-23 Thread Magnus Ihse Bursie
At the end of a COMPARE_BUILD run with a patch file, the build tries to revert the patch to restore the workspace as it was. On some versions of patch, this fails if one or more files were deleted, causing the makefile to abort just before the actual comparison. :-( Reverting the patch is just