From c5957f6760ca3319921b4d26d5ce787fe1aad946 Mon Sep 17 00:00:00 2001 From: George Barnett Date: Tue, 16 Mar 2021 18:38:39 +0000 Subject: [PATCH] Support multiple shared files in the allocation counter test framework (#1782) Motivation: The allocation counter test framework only supports a single shared file which is quite limiting, especially if you rely on generated code. Modifications: - The '-s' option can now be passed multiple times - The symlink name for any of the passed files will be the basename of the provided file rather than 'shared.swift' Result: Allocation counter test framework can use more than one shared file. --- .../run-allocation-counter.sh | 32 +++++++++++-------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/IntegrationTests/allocation-counter-tests-framework/run-allocation-counter.sh b/IntegrationTests/allocation-counter-tests-framework/run-allocation-counter.sh index 2c1959af..2da85e14 100755 --- a/IntegrationTests/allocation-counter-tests-framework/run-allocation-counter.sh +++ b/IntegrationTests/allocation-counter-tests-framework/run-allocation-counter.sh @@ -112,7 +112,7 @@ EOF } #