[Tests] Codesign the binary before executing the test

This commit is contained in:
Mishal Shah
2020-08-07 00:26:07 -07:00
parent b981d836c3
commit a3cd8bc9e9
55 changed files with 60 additions and 0 deletions

View File

@@ -1,8 +1,10 @@
// RUN: %empty-directory(%t)
// RUN: %target-build-swift %s -swift-version 5 -DPTR_SIZE_%target-ptrsize -o %t/OSLogExecutionTest
// RUN: %target-codesign %t/OSLogExecutionTest
// RUN: %target-run %t/OSLogExecutionTest
//
// RUN: %target-build-swift %s -O -swift-version 5 -DPTR_SIZE_%target-ptrsize -o %t/OSLogExecutionTest
// RUN: %target-codesign %t/OSLogExecutionTest
// RUN: %target-run %t/OSLogExecutionTest
// REQUIRES: executable_test
//