[SSSD] [PATCH] Fix SSSDConfigTest for separate build directories

Stephen Gallagher sgallagh at redhat.com
Fri Jul 6 15:47:37 UTC 2012


On Thu, 2012-07-05 at 11:27 -0400, Stephen Gallagher wrote:
> On Thu, 2012-07-05 at 13:11 +0200, Sumit Bose wrote:
> > Hi,
> > 
> > I had problems running the python config API test when using a separate
> > build directory. The reason was that SSSDConfig/__init__.py is only
> > created in the build directory, but SSSDConfigTest.py was run from the
> > source directory. So SSSDConfigTest.py searched for SSSDConfig in the
> > source directory but could not load it, because there was only
> > __init__.py.in. This patch tries to find out if SSSDConfigTest.py is run
> > under make be check the srcdir envvar and then sets sys.path
> > accordingly.
> 
> 
> Ack.

Pushed to master.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120706/0c0067b7/attachment.sig>


More information about the sssd-devel mailing list