Commit Graph

13 Commits

Author SHA1 Message Date
Doug Gregor
5c71428a04 Add test case for rdar://problem/22667277. 2018-03-20 15:39:10 -07:00
Dmitri Gribenko
486cab447d tests: replace 'rm -rf %t && mkdir -p %t' with '%empty-directory(%t)'
These changes were made using a script.
2017-06-04 11:08:39 -07:00
David Farler
b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00
Dmitri Gribenko
55864d10cb Tests: use 'mkdir -p' 2016-09-02 21:36:45 -07:00
Jordan Rose
fab076e2d4 [test] Don't depend on stdlib protocols in inherited-conformance.swift.
The original bug here about not serializing base protocol conformances
is unlikely to return, but I think this still captures the spirit of
the original test: rely on a base protocol conformance without the
model type ever referring to it.

rdar://problem/25125727
2016-04-18 15:44:45 -07:00
Dmitri Hrybenko
f46f16ae82 stdlib: implement new print() API
rdar://20775683

Swift SVN r28309
2015-05-08 01:37:59 +00:00
Jordan Rose
82b9cf5a75 Re-apply "[test] Rely on the stdlib as little as possible."
Correctly, this time.

Swift SVN r25299
2015-02-14 18:57:46 +00:00
Ben Langmuir
5d9f0b9616 Revert "[test] Rely on the stdlib as little as possible."
This is breaking on the bots.

This reverts commit r25294

Swift SVN r25298
2015-02-14 17:36:50 +00:00
Jordan Rose
5ad7181663 [test] Rely on the stdlib as little as possible.
I can't get this to reproduce with anything more self-contained,
unfortunately: it seems that IntegerLiteralConvertible is the interesting
protocol, and the type has to come from the standard library.

Swift SVN r25294
2015-02-14 02:42:43 +00:00
Jordan Rose
55174867bd [Serialization] Use references for inherited conformances from other modules.
...rather than trying to serialize them again, which could lead to attempting
to cross-reference an ExtensionDecl, which can't be done.

rdar://problem/19794141

Swift SVN r25292
2015-02-14 02:09:19 +00:00
Dmitri Hrybenko
3b04d1b013 tests: reorganize tests so that they actually use the target platform
Most tests were using %swift or similar substitutions, which did not
include the target triple and SDK.  The driver was defaulting to the
host OS.  Thus, we could not run the tests when the standard library was
not built for OS X.

Swift SVN r24504
2015-01-19 06:52:49 +00:00
Ted Kremenek
fad874708e Adjust test cases.
Swift SVN r17964
2014-05-12 22:01:52 +00:00
Jordan Rose
65bd8536bc [serialization] Look for underlying conformances in refined protocol adopters.
That is, if we need a type MyIndex<T> to be a valid ForwardIndex, we should
be able to find it in the conformance for BidirectionalIndex, which inherits
from ForwardIndex.

<rdar://problem/15484898>

Swift SVN r11270
2013-12-13 21:42:51 +00:00