Commit Graph

10 Commits

Author SHA1 Message Date
Pavel Yaskevich
4591884bbc [Tests] NFC: Remove -disable-constraint-solver-performance-hacks since hacks are now disabled by default 2025-06-27 23:44:36 -07:00
Slava Pestov
487918f07b Sema: Fix -warn-long-expression-type-checking when expression timer is turned off
My change 983b75e1cf broke
-warn-long-expression-type-checking because now the
ExpressionTimer is not instantiated by default and that
entire code path is skipped.

Change it so that if -warn-long-expression-type-checking
is passed in, we still start the timer, we just don't
ever consider it to have 'expired'.

Fixes rdar://problem/152998878.
2025-06-25 22:07:23 -04:00
Slava Pestov
610887cdb4 Re-enable some tests that were disabled a long time ago 2025-06-25 22:07:23 -04:00
Robert Widmann
dce1e2ea32 [Gardening] Remove unnecessary options and files from tests 2019-09-10 18:15:16 -07:00
Mark Lacey
ee3cabf71e Revert "Re-enable a test that had been disabled at one point." 2018-11-28 14:58:29 -08:00
Mark Lacey
7721c3eb89 Remove explicit filename argument in RUN line.
It's implied by `%target-typecheck-verify-swift`.
2018-11-26 15:42:38 -08:00
Mark Lacey
f0aa5abbf7 Re-enable a test that had been disabled at one point.
We saw a failure of this test on Linux at some point, and disabled
it. It looks like it may have been due to the fact that the
`%target-typecheck-verify-swift` provides the filename, but we
explicitly provide the filename in the test invocation here as well.

I'm going to re-enable and see if we can get through tests on all
supported platforms.
2018-11-26 14:28:37 -08:00
Mark Lacey
2b8eefbdd6 Disable failing test while investigating. 2018-09-10 13:31:43 -07:00
Mark Lacey
a0ae313c20 Fix test failure by removing function bodies. 2017-06-13 00:00:43 -07:00
Mark Lacey
d26c859222 Add -warn-long-expression-type-checking=<limit> frontend option.
Generates a warning for any expression that takes longer than <limit>
milliseconds to type check. This compliments the existing
-warn-long-function-body=<limit> option.
2017-06-12 17:27:29 -07:00