Mailinglist Archive: yast-devel (121 mails)

< Previous Next >
Re: [yast-devel] testing functions using Pkg calls
* Martin Vidner <mvidner@xxxxxxx> [Jun 27. 2011 12:46]:

I think this is a good direction to approach this, except that the
test runner script is a bad place to specify the namespace
exceptions. I think that it should be doable from inside the yast
runtime, something like
import "Pkg" from "WFM";
or even

import "Pkg", $["from": "WFM", "dir": "."]; // combine -n, -M

which is more flexible and does not need special syntax so it will be
acceesible even from other languages.

Are you suggesting an enhanced 'import' syntax here ?

Wouldn't changing the search path be sufficient ?

Klaus
---
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB
16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >