def METHOD_NAME(qemu: boot_cheribsd.CheriBSDInstance, args: argparse.Namespace):
    with tempfile.TemporaryDirectory(prefix="cheribuild-libunwind-tests-") as tempdir:
        # run the tests both for shared and static libunwind by setting -Denable_shared=
        # First static binaries
        static_everything_success = run_remote_lit_test.run_remote_lit_tests(
            "libunwind",
            qemu,
            args,
            tempdir,
            lit_extra_args=["-Dforce_static_executable=True", "-Denable_shared=False"],
            llvm_lit_path=args.llvm_lit_path,
        )
        # dynamic binary with libunwind linked statically
        static_libunwind_success = run_remote_lit_test.run_remote_lit_tests(
            "libunwind",
            qemu,
            args,
            tempdir,
            lit_extra_args=["-Denable_shared=False"],
            llvm_lit_path=args.llvm_lit_path,
        )
        # dynamic binary with libunwind linked shared
        shared_success = run_remote_lit_test.run_remote_lit_tests(
            "libunwind",
            qemu,
            args,
            tempdir,
            lit_extra_args=["-Denable_shared=True"],
            llvm_lit_path=args.llvm_lit_path,
        )
        return static_libunwind_success and static_everything_success and shared_success