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

Stephen Gallagher sgallagh at redhat.com
Thu Jul 5 15:27:20 UTC 2012


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.
-------------- 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/20120705/08a79d17/attachment.sig>


More information about the sssd-devel mailing list