[DynInst_API:] [dyninst/dyninst] a99222: Refactor tests (#2056)


Date: Sun, 16 Nov 2025 18:15:24 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] a99222: Refactor tests (#2056)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: a99222df9ae5145c3530c36ba43c435ec4dcd748
      https://github.com/dyninst/dyninst/commit/a99222df9ae5145c3530c36ba43c435ec4dcd748
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-11-16 (Sun, 16 Nov 2025)

  Changed paths:
    M .github/actions/build/action.yaml
    M .github/workflows/libabigail.yaml
    M docker/build.sh
    M tests/CMakeLists.txt
    A tests/cft_tests.cpp
    A tests/cft_tests.h
    M tests/integration/CMakeLists.txt
    R tests/integration/InstructionAPI/decoder/CMakeLists.txt
    R tests/integration/InstructionAPI/decoder/cft_tests.cpp
    R tests/integration/InstructionAPI/decoder/cft_tests.h
    R tests/integration/InstructionAPI/decoder/memory_tests.cpp
    R tests/integration/InstructionAPI/decoder/memory_tests.h
    R tests/integration/InstructionAPI/decoder/register_tests.cpp
    R tests/integration/InstructionAPI/decoder/register_tests.h
    A tests/memory_tests.cpp
    A tests/memory_tests.h
    A tests/register_tests.cpp
    A tests/register_tests.h
    M tests/unit/CMakeLists.txt
    A tests/unit/dyninstAPI/CMakeLists.txt
    M tests/unit/instructionAPI/CMakeLists.txt
    M tests/unit/instructionAPI/syscall-x86.cpp
    M tests/unit/parseAPI/lea-nop-x86.cpp

  Log Message:
  -----------
  Refactor tests (#2056)

* Move decoder test infrastructure to root of tests directory

Naturally, these turned out to be more useful than just for testing
the decoders.

* Update error messages in syscall-x86

* Move syscall-x86::main to top of file

This makes it easier to see the core of the test before the details.

* Don't fail early in lea-nop-x86

* Move dyninst/emitter cmake into subdir

* Move instructionAPI/AST cmake into subdir

* Don't fail early when decode fails

* Clean up run_32

* Don't enable any cmake tests by default



To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] a99222: Refactor tests (#2056), Tim Haines <=