[PATCH] Add optional copy_files attribute

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Freyther holger at freyther.de
Wed Apr 6 19:03:18 UTC 2016


> On 06 Apr 2016, at 17:20, Max <msuraev at sysmocom.de> wrote:
> 
> 


>> was your approach more simple?
>> 
> Yes - instead of trying to re-create directory structure (which would
> make test runner unnecessary complex) I simply copy necessary additional
> configs explicitly. Using extension other than .cfg makes sure that they
> won't be copied (this one is recursive already btw) by config tester.

yes, but the code seems to be more involved than:

	shutil.copytree

Can't we simplify the code by using this routine instead of having an extra list of files to copy?


More information about the OpenBSC mailing list