From d1c1092cfccfd0c7e6895f09af0b8c51e8312d4b Mon Sep 17 00:00:00 2001 From: Michael Tautschnig Date: Thu, 7 Feb 2019 08:59:04 +0000 Subject: [PATCH] goto-link regression test: Set the executable bit after copying It seems that Cygwin loses the executable bit (which really is implemented via ACLs) when copying a file. Just force it instead. --- regression/goto-cl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/regression/goto-cl/Makefile b/regression/goto-cl/Makefile index 11b38ef654a..1d8978530de 100644 --- a/regression/goto-cl/Makefile +++ b/regression/goto-cl/Makefile @@ -7,11 +7,13 @@ ifeq ($(BUILD_ENV_),MSVC) test: @../test.pl -p -c ../../../src/goto-cc/goto-cl -X goto-link @cp ../../src/goto-cc/goto-cl.exe ../../src/goto-cc/goto-link.exe + @chmod a+x ../../src/goto-cc/goto-link.exe @../test.pl -p -c ../../../src/goto-cc/goto-link -I goto-link tests.log: ../test.pl @../test.pl -p -c ../../../src/goto-cc/goto-cl -X goto-link @cp ../../src/goto-cc/goto-cl.exe ../../src/goto-cc/goto-link.exe + @chmod a+x ../../src/goto-cc/goto-link.exe @../test.pl -p -c ../../../src/goto-cc/goto-link -I goto-link else