[all-commits] [llvm/llvm-project] fd39f8: [Dexter] Add ability to rewrite scripts to fill-in...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Tue Jun 9 08:40:11 PDT 2026


  Branch: refs/heads/users/SLTozer/dexter-9-unknown-values
  Home:   https://github.com/llvm/llvm-project
  Commit: fd39f8e3df85f785f365f5a7c912fe99b4f7bfec
      https://github.com/llvm/llvm-project/commit/fd39f8e3df85f785f365f5a7c912fe99b4f7bfec
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    A cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectWriter.py
    M cross-project-tests/debuginfo-tests/dexter/dex/test_script/Script.py
    M cross-project-tests/debuginfo-tests/dexter/dex/tools/ToolBase.py
    M cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expect_list_expected.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expects_expected.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_multiple_scripts_expected.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/simple_prog.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/whole_file_test.dex
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/whole_file_test_expected.dex
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expect_list.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expects.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_multiple_scripts.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/whole_file.test

  Log Message:
  -----------
  [Dexter] Add ability to rewrite scripts to fill-in unknown values

This patch adds a feature to Dexter that allows scripts to be passed to
Dexter with missing expected values (`null` values in YAML), which Dexter
will attempt to "fill-in" with expected values that match the debugger's
actual output. The result is written to a file with the same name as the
original test file, in the directory given by --results-directory if one
is present; all content outside of the Dexter script itself is preserved
exactly as-is.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list