Description
init_component_data_online() is the old way of enabling component data for the test (for example binaries/sources/docs/examples for Qt or other components) and uses complex and hard coded way of listing the features to be enabled and the latest definition is 'online_devicecreation_src_qt510', seems outdated anyways.
Seems that device creation tests are the only one using the old init_component_data_online() function, so update the tests so we can trash the function and all related data.
With quick look the update would go as follows:
- replace init_component_data_online() with init_components(installDefault, specificCompiler), you can use the 'specificCompiler' but the 'installDefault' only installs Qt binaries, so you need to:
- define new variable (or multiple if needed) in defines.py to be used in place of 'installDefault', for example 'installDCsources'
- update init_components() by adding new else-branch for your new 'installxx' option
- based on online_devicecreation_src_qt510 looks like something like this would do it for you:
- comp_list.append(devicecreation + "_src_doc_examples")
- everything that is in 'elif installSplit in installType' (the code might look complicated, but basically it's just enabling doc and examples to all components, there is just some exceptions: some modules don't have docs available at all, so it can not be enabled, same with examples)
- based on online_devicecreation_src_qt510 looks like something like this would do it for you:
If any problems raises, ping me