[llvm-branch-commits] [llvm] [Dexter] Add basic result evaluation for structured scripts (PR #198803)

Stephen Tozer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri May 22 09:27:01 PDT 2026


================
@@ -0,0 +1,42 @@
+// RUN: %dexter_regression_test_cxx_build %s -o %t
+// RUN: %dexter_regression_test_run --use-script --binary %t -- %s | FileCheck %s
+
+// Test evaluation of a simple Dexter test.
+
+// CHECK: basic_evaluate.cpp:
+// CHECK: total_watched_steps: 6
+// CHECK: correct_steps: 4
----------------
SLTozer wrote:

It may be slightly confusing at first (yet again, I couldn't figure out better terminology) - `steps` really means `step`*`watch`, i.e. the sum of correct steps for each expect, so summing the "Correct"s listed in the comments below makes 4.

https://github.com/llvm/llvm-project/pull/198803


More information about the llvm-branch-commits mailing list