Dave Lee
010d7a388b
[lldb/test] Catch invalid calls to expect()
...
Add preconditions to `TestBase.expect()` that catch semantically invalid calls
that happen to succeed anyway. This also fixes the broken callsites caught by
these checks.
This prevents the following incorrect calls:
1. `self.expect("lldb command", "some substr")`
2. `self.expect("lldb command", "assert message", "some substr")`
Differential Revision: https://reviews.llvm.org/D88792
2020-10-05 12:41:52 -07:00
..
2020-06-17 10:09:06 -07:00
2020-07-08 10:07:15 -07:00
2020-03-07 18:35:22 +01:00
2020-03-27 11:28:07 -07:00
2020-02-20 08:32:01 +01:00
2020-02-19 15:07:26 +01:00
2020-02-19 15:07:26 +01:00
2020-02-19 15:07:26 +01:00
2020-02-19 15:07:26 +01:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-05-25 11:11:46 -07:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-10-05 12:41:52 -07:00
2020-03-30 16:00:21 +02:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-09-22 13:37:20 +02:00
2020-09-04 13:45:42 +02:00
2020-02-13 15:00:55 +01:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-02-13 15:00:55 +01:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-06-17 10:09:06 -07:00
2020-08-17 10:05:49 -07:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-06-30 11:38:42 +02:00
2020-05-04 13:57:42 -07:00
2020-02-19 15:07:26 +01:00
2020-02-20 08:32:01 +01:00
2020-04-18 10:46:32 +02:00
2020-02-20 08:32:01 +01:00
2020-08-17 10:05:49 -07:00
2020-05-20 12:27:44 +02:00
2020-02-20 08:32:01 +01:00
2020-08-11 14:31:47 +02:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-03-17 11:00:23 -07:00
2020-07-16 09:01:01 +02:00
2020-02-20 08:32:01 +01:00
2020-06-09 15:48:00 +02:00
2020-05-27 21:02:36 -07:00
2020-05-11 07:31:18 +05:00
2020-02-20 08:32:01 +01:00
2020-08-19 14:57:43 +02:00
2020-07-15 13:56:00 +02:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00
2020-02-20 08:32:01 +01:00