mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* A bunch of them require objc_interop because they import code containing Objective-C. * Many others fail on Ubuntu 14.04 because the C++ there doesn't have a functional std::regex implementation which is required by the `complete-test` tool. It may be possible to adjust some of these tests in the future to not need these extra requirements, but this is a straightforward way to clean up Linux test results for now.
10 lines
473 B
Swift
10 lines
473 B
Swift
// REQUIRES: objc_interop
|
|
// RUN: echo '#include "header.h"' > %t.m
|
|
// RUN: %sourcekitd-test -req=interface-gen -header %S/Inputs/header.h -- -fsyntax-only %t.m -I %S/Inputs > %t.response
|
|
// RUN: diff -u %s.response %t.response
|
|
// RUN: rm %t.m
|
|
|
|
// RUN: echo '#include "header2.h"' > %t.m
|
|
// RUN: %sourcekitd-test -req=interface-gen -header %S/Inputs/header2.h -- -fsyntax-only %t.m -I %S/Inputs > %t.header2.response
|
|
// RUN: diff -u %s.header2.response %t.header2.response
|