Skip to content

Commit e947d5f

Browse files
committed
[embedded] Update tests to use the new embedded runtime
1 parent 7ec5341 commit e947d5f

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

test/embedded/array-builtins-exec.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-swift-frontend %s %S/Inputs/print.swift -enable-experimental-feature Embedded -enable-builtin-module -c -o %t/main.o
3-
// RUN: %target-clang -x c -c %S/Inputs/tiny-runtime-dummy-refcounting.c -o %t/runtime.o
4-
// RUN: %target-clang %t/main.o %t/runtime.o -o %t/a.out -dead_strip
3+
// RUN: %target-clang %t/main.o -o %t/a.out -dead_strip
54
// RUN: %target-run %t/a.out | %FileCheck %s
65

76
// REQUIRES: executable_test

test/embedded/modules-globals-exec.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33

44
// RUN: %target-swift-frontend -emit-module -o %t/MyModule.swiftmodule %t/MyModule.swift -enable-experimental-feature Embedded -parse-as-library
55
// RUN: %target-swift-frontend -c -I %t %t/Main.swift -enable-experimental-feature Embedded -o %t/a.o
6-
// RUN: %target-clang -x c -c %S/Inputs/tiny-runtime-dummy-refcounting.c -o %t/runtime.o
76
// RUN: %target-clang -x c -c %S/Inputs/print.c -o %t/print.o
8-
// RUN: %target-clang %t/a.o %t/print.o %t/runtime.o -o %t/a.out
7+
// RUN: %target-clang %t/a.o %t/print.o -o %t/a.out
98
// RUN: %target-run %t/a.out | %FileCheck %s
109

1110
// REQUIRES: executable_test

test/embedded/modules-print-exec.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33

44
// RUN: %target-swift-frontend -emit-module -o %t/MyModule.swiftmodule %t/MyModule.swift -enable-experimental-feature Embedded -parse-as-library
55
// RUN: %target-swift-frontend -c -I %t %t/Main.swift -enable-experimental-feature Embedded -o %t/a.o
6-
// RUN: %target-clang -x c -c %S/Inputs/tiny-runtime-dummy-refcounting.c -o %t/runtime.o
76
// RUN: %target-clang -x c -c %S/Inputs/print.c -o %t/print.o
8-
// RUN: %target-clang %t/a.o %t/print.o %t/runtime.o -o %t/a.out
7+
// RUN: %target-clang %t/a.o %t/print.o -o %t/a.out
98
// RUN: %target-run %t/a.out | %FileCheck %s
109

1110
// REQUIRES: executable_test

0 commit comments

Comments
 (0)