Skip to contentSkip to conversation

lib/bb/tests/fetch.py still in use?

DISCUSSION Michael Opdenacker 2 participants 3 messages Mar 10, 2022

lore
Share & tools
lore
#0 lore raw

Greetings

lib/bb/tests/fetch.py still refers to cvs.handhelds.org which doesn't exist any more, though it brings back fond memories.

Should the corresponding entries be removed or updated with working CVS hosts?

Or can lib/bb/tests/fetch.py be removed if it's not used any more?

Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#1 lore raw
Quoted 7 lines · Michael Opdenacker via lists.openembedded.org

lib/bb/tests/fetch.py still refers to cvs.handhelds.org which doesn't exist any more, though it brings back fond memories.

Should the corresponding entries be removed or updated with working CVS hosts?

Or can lib/bb/tests/fetch.py be removed if it's not used any more?

I suspect you didn't look at what those test actually do. They're unittests which test whether certain input to functions generates the expected output.

Those tests never actually access the urls, they just test the data out is expected for given input data.

The tests in that file are very much definitely run on the autobuilder and are some of the most comprehensive tests we have of any bitbake module so no, they shouldn't be removed!

Cheers,

Richard

#2 lore raw

Hi Richard,

Quoted 12 lines · Richard Purdie
Quoted 7 lines · Michael Opdenacker via lists.openembedded.org

lib/bb/tests/fetch.py still refers to cvs.handhelds.org which doesn't exist any more, though it brings back fond memories.

Should the corresponding entries be removed or updated with working CVS hosts?

Or can lib/bb/tests/fetch.py be removed if it's not used any more?

I suspect you didn't look at what those test actually do. They're unittests which test whether certain input to functions generates the expected output.

Quoted 6 lines

Those tests never actually access the urls, they just test the data out is expected for given input data.

The tests in that file are very much definitely run on the autobuilder and are some of the most comprehensive tests we have of any bitbake module so no, they shouldn't be removed!

Thanks for the clarification. I lost my desire to remove stuff :) Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com