Commit Graph

18 Commits

Author SHA1 Message Date
Adrian Prantl
111679b16c Simplify this testcase and remove uses of print and Process.arguments.
rdar://problem/20864015
2015-12-22 17:13:48 -08:00
Dmitri Hrybenko
f46f16ae82 stdlib: implement new print() API
rdar://20775683

Swift SVN r28309
2015-05-08 01:37:59 +00:00
Dmitri Hrybenko
8b392eeea9 Revert "Remove Array.count, it is redundant with protocol extensions"
This reverts commit r28247 while we discuss the change.

Swift SVN r28292
2015-05-07 21:45:30 +00:00
Dmitri Hrybenko
58601fafc8 Remove Array.count, it is redundant with protocol extensions
Swift SVN r28247
2015-05-07 00:30:41 +00:00
Duncan Exon Smith
c6d42db070 Adapt to MD* => DI* renaming of debug info types
Applied the upgrade script from r236120 (LLVM) and r236121 (CFE).  This is the
final step of rdar://problem/20434113.



Swift SVN r27925
2015-04-29 21:40:21 +00:00
Adrian Prantl
3428430a7c Fix an embarrassing typo in this testcase.
Swift SVN r25154
2015-02-11 01:06:17 +00:00
Adrian Prantl
52fbf06f55 Rewrite this testcase to be more robust.
Swift SVN r25148
2015-02-11 00:25:47 +00:00
Arnold Schwaighofer
2e3c0b69f7 IRGen: Emit failure blocks individually
Reapply commit r24722.

The original commit did not break the build. There appears to be an issue in
CoreAutomation (an iOS test failed with empty output). Follow up builds with
the original commit in succeeded.

Also apply Dimitri's patch to make the test condfail.sil portable.

Original message:

This significantly improves debugging experience as failures such as overflow
can be mapped back to a source line.

Code size impacts I measured on PerfTestSuite and libswift*.dylib was
neglectable.

__text section size increase:

  0.24% bin/PerfTest_O
  0.01% bin/PerfTest_Onone
  0.20% libswift*.dylib

rdar://19118593

Swift SVN r24725
2015-01-26 00:35:53 +00:00
Arnold Schwaighofer
15b7a9347d Revert "IRGen: Emit failure blocks individually"
This reverts commit r24722.

It has broken a build bot.

Swift SVN r24724
2015-01-25 23:38:13 +00:00
Arnold Schwaighofer
de50dcae24 IRGen: Emit failure blocks individually
This significantly improves debugging experience as failures such as overflow
can be mapped back to a source line.

Code size impacts I measured on PerfTestSuite and libswift*.dylib was
neglectable.

__text section size increase:

  0.24% bin/PerfTest_O
  0.01% bin/PerfTest_Onone
  0.20% libswift*.dylib

rdar://19118593

Swift SVN r24722
2015-01-25 20:55:59 +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
Adrian Prantl
d7489b7272 Update testcases for new LLVM IR assembler syntax.
Swift SVN r24428
2015-01-14 23:38:18 +00:00
Adrian Prantl
d897c29e97 Relax testcase to not check for tail call.
Swift SVN r24020
2014-12-18 23:55:27 +00:00
Adrian Prantl
ef2070115a Adapt the checks in this testcase to better reflect the new codegen.
Swift SVN r24019
2014-12-18 23:33:06 +00:00
Adrian Prantl
162bc8d24c Updated testcases for upstream assembler changes.
Swift SVN r23942
2014-12-15 19:39:21 +00:00
Graham Batty
83f27a8af7 Revert "Mark tests that don't pass on linux as XFAIL."
This reverts commit 2711ca86de7bf6a7885ccea24219a48a590b1e95.

Swift SVN r23577
2014-11-24 17:42:13 +00:00
Graham Batty
198402dcfe Mark tests that don't pass on linux as XFAIL.
Swift SVN r23573
2014-11-24 17:40:37 +00:00
Adrian Prantl
f3c093b241 Add a testcase for arithmetic traps in optimized code.
Swift SVN r23225
2014-11-11 01:30:51 +00:00