================
@@ -231,6 +231,37 @@ def register_yaml(loader):
yaml.add_representer(ValueAll, ValueAll.representer)
+class Step(Expect):
+ """Sets an expectation for stepping behaviour, with the expected value
being a list of integer lines:
+ - !step exactly: while this !expect is active, we expect see exactly the
expected lines in-order as many times as
+ they appear in the expected lines list.
+ - !step order: while this !expect is active, we expect to see each of the
expected lines in-order at least as many
+ times as they appear in the expected list, ignoring excess lines and
lines not in the expected lines list.
----------------
OCHyams wrote:
I feel like `at_least` closer to describing what's being checked than `order`
here. Or something else similar? OTOH, this might be too embedded and not
important enough to bother changing, ymmv
https://github.com/llvm/llvm-project/pull/203844
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits