Skip to content

Fix the AT_BESCMD_BINARY_DAP4_RESPONSE_TEST test macro for OSX Intel and Apple silicon#1252

Merged
jgallagher59701 merged 5 commits intomasterfrom
jhrg/HYRAX-2009-test-macro-fix
Feb 4, 2026
Merged

Fix the AT_BESCMD_BINARY_DAP4_RESPONSE_TEST test macro for OSX Intel and Apple silicon#1252
jgallagher59701 merged 5 commits intomasterfrom
jhrg/HYRAX-2009-test-macro-fix

Conversation

@jgallagher59701
Copy link
Member

@jgallagher59701 jgallagher59701 commented Feb 4, 2026

Description

Reference ticket: HYRAX-2009

Fix the AT_BESCMD_BINARY_DAP4_RESPONSE_TEST test macro for OSX Intel and Apple silicon

Tasks

  • Ticket exists and is linked in title
  • Tests added/updated
  • Dead code removed
  • No TODOs added

Copy link
Contributor

@hannahilea hannahilea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So much nicer. ✨

# if the tests are running on Apple silicon, use the *.mproc baseline,
# otherwise use the plain baseline. jhrg 2/3/26
echo "uname -m: $(uname -m)"
AS_IF([ test "x$(uname -m)" = "xarm64" -a -f $baseline.m_proc],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, because I've also seen it elsewhere in our codebase: what is the reason for prefixing the various comparison strings with an x? e.g., why

        "x$(uname -m)" = "xarm64"

instead of

        "$(uname -m)" = "arm64"

?

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2026

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2026

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2026

@jgallagher59701 jgallagher59701 merged commit f163bbe into master Feb 4, 2026
6 checks passed
@jgallagher59701 jgallagher59701 deleted the jhrg/HYRAX-2009-test-macro-fix branch February 4, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants