Skip to content

Conversation

smuppand
Copy link
Contributor

What changed

  • Default binary location: --bin-dir now defaults to /usr/local/bin (was /usr/bin).
  • Library path: export LD_LIBRARY_PATH=/usr/local/lib/fastrpc_test before launching the test so bundled libs are found.
  • Help text & logs: updated notes and messages to reflect the new default path.
  • Safety check: existing /bin guard retained; message updated to suggest /usr/local/bin.

Why

  • fastrpc_test and its libs are being installed under /usr/local; this makes the runner work out-of-the-box without extra flags.
  • Ensures the test picks up its companion libs from /usr/local/lib/fastrpc_test.

Backward compatibility

  • Users can still override with --bin-dir (e.g., /usr/bin).
  • ALLOW_BIN_FASTRPC=1 still permits /bin/fastrpc_test.
  • Default invocation (no flags)
  • export LD_LIBRARY_PATH=/usr/local/lib/fastrpc_test
  • (cd /usr/local/bin && ./fastrpc_test -d -t linux -U 0)

…l libs

- Change default --bin-dir to /usr/local/bin (was /usr/bin).
- Export LD_LIBRARY_PATH=/usr/local/lib/fastrpc_test before running so
  ./fastrpc_test resolves its companion libs.
- Update help text and warnings to reference /usr/local defaults.
- Keep existing logic: cd into bin dir, honor --bin-dir overrides, and
  retain /bin guard with ALLOW_BIN_FASTRPC=1 escape hatch.

Signed-off-by: Srikanth Muppandam <[email protected]>
@smuppand smuppand marked this pull request as ready for review September 18, 2025 05:21
Copy link
Contributor

@abbajaj806 abbajaj806 left a comment

Choose a reason for hiding this comment

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

Looks good to me

@abbajaj806 abbajaj806 merged commit f4a7965 into qualcomm-linux:main Sep 18, 2025
8 checks passed
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