From 8c3081c750f2b22075e9bb2efc8ab3647996b7b8 Mon Sep 17 00:00:00 2001 From: Simon Evans Date: Mon, 12 Oct 2020 16:28:58 +0100 Subject: [PATCH] test: Remove duplicate test for -static-executable - test/Driver/static-executable-linux.swift is duplicated by test/Driver/static-executable.swift so remove it. - Additionally, test/Driver/static-executable-linux.swift uses 'file' instead of 'lvm-readelf' to detect if the executable is statically linked and this breaks on Centos7. --- test/Driver/static-executable-linux.swift | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 test/Driver/static-executable-linux.swift diff --git a/test/Driver/static-executable-linux.swift b/test/Driver/static-executable-linux.swift deleted file mode 100644 index 8f0589aeccf36..0000000000000 --- a/test/Driver/static-executable-linux.swift +++ /dev/null @@ -1,10 +0,0 @@ -// Build a static executable "hello world" program -// REQUIRES: OS=linux-gnu -// REQUIRES: static_stdlib -print("hello world!") -// RUN: %empty-directory(%t) -// RUN: %target-swiftc_driver -static-executable -o %t/static-executable %s -// RUN: %t/static-executable | %FileCheck %s -// RUN: file %t/static-executable | %FileCheck %s --check-prefix=FILE -// CHECK: hello world! -// FILE: , statically linked,