Skip to content

[SKIP SOF-TEST] fuzz.sh: add new boards/native_sim_libfuzzer.conf#9389

Merged
lgirdwood merged 1 commit intothesofproject:mainfrom
marc-hb:native-sim-fuzz.conf
Aug 23, 2024
Merged

[SKIP SOF-TEST] fuzz.sh: add new boards/native_sim_libfuzzer.conf#9389
lgirdwood merged 1 commit intothesofproject:mainfrom
marc-hb:native-sim-fuzz.conf

Conversation

@marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Aug 22, 2024

Extract -DCONFIG_* definitions hardcoded inside the script and move them to a new .conf file where they belong.

This is a first, baby-step towards addressing the more general lack of .config control described in #9386

Extract -DCONFIG_* definitions hardcoded inside the script and move them
to a new .conf file where they belong.

This is a first, baby-step towards addressing the more general lack of
.config control described in thesofproject#9386

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb
Copy link
Collaborator Author

marc-hb commented Aug 22, 2024

The failures are unrelated, caused by #9365 which was merged broken. This PR affects fuzzing only, all other errors are unrelated.

@marc-hb marc-hb marked this pull request as ready for review August 22, 2024 04:05
-DCONFIG_ASAN=y
)
# https://docs.zephyrproject.org/latest/build/kconfig/setting.html#initial-conf
local conf_files_list='prj.conf;boards/native_sim_libfuzzer.conf'
Copy link
Contributor

Choose a reason for hiding this comment

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

can we make it so we can append to this list. I.e. the ASAN config would be split so we can use the base config with other sanitzer configs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes that's the idea. In some future PR(s) anyone can just go and (for instance) do:

if $something; then
   conf_files_list+=';debug.conf'

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.

3 participants