Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testbench: dont build testbench, tools and topologies in the source directory #9871

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

lgirdwood
Copy link
Member

Currently all topologies, testbench and some tools are built within the FW source directory unlike FW which has separate binary destination directories outside of the main FW source directory.

This series moves all tools, testbench and topologies binaries to outside the source directory to the parent SOF "workspace" directory alongside the FW build output directories.

Allow both scripts to be executed from the SOF FW directory or the parent
SOF workspace directory without an environment variable.

This simplifies usage and opens the way for vscode integration.

Signed-off-by: Liam Girdwood <[email protected]>
Dont built binaries in the source directory, build in the workspace.

Signed-off-by: Liam Girdwood <[email protected]>
Fix the indentation.

Signed-off-by: Liam Girdwood <[email protected]>
Move all testbench build and test collateral outside of the SOF source
directory to the workspace directory.

Signed-off-by: Liam Girdwood <[email protected]>
Move the test data files outside of the source directory and add
more context to their names for easier lookup. Do the same with
the outfile and generate it if we keep the temporary files.

Signed-off-by: Liam Girdwood <[email protected]>
@lgirdwood
Copy link
Member Author

I expect this to break CI if we have hard coded assumptions of where to find certain binaries.
@singalsu pls take a look.

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.

1 participant