On 03/31/2016 04:19 PM, Holger Freyther wrote:
On 31 Mar
2016, at 15:23, msuraev(a)sysmocom.de wrote:
From: Max <msuraev(a)sysmocom.de>
This allows to specify additional files which shall be copied into
temporary directory where tests are executed.
when we chatted I had something like
this in make
make_tmp_dir
copy_recursively(orig, tmp_dir)
run(tmp_dir/cfg_file)
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.
--
Max Suraev <msuraev(a)sysmocom.de>
http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Directors: Holger Freyther, Harald Welte