Skip to content

Commit 22e3493

Browse files
committed
[embedded] Fix up lit.cfg and embedded/hello.swift's REQUIRES line
1 parent b3e32d6 commit 22e3493

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

test/embedded/hello.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
// REQUIRES: swift_in_compiler
44
// REQUIRES: executable_test
5+
// REQUIRES: OS=macosx || OS=linux-gnu || OS=none-eabi || OS=none-elf
56

67
print("Hello, Embedded Swift!")
78

test/lit.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2105,6 +2105,10 @@ elif config.external_embedded_platform:
21052105
config.swift_symbolgraph_extract,
21062106
'-target', config.variant_triple,
21072107
mcp_opt])
2108+
config.target_swift_synthesize_interface = ' '.join([
2109+
config.swift_synthesize_interface,
2110+
'-target', config.variant_triple,
2111+
mcp_opt])
21082112
config.target_swift_ide_test = (
21092113
'%s -target %s %s %s %s %s' %
21102114
(config.swift_ide_test, config.variant_triple, config.resource_dir_opt,

0 commit comments

Comments
 (0)