Hello,

Currently I am integrating automated tests for Package Manager in the IPS gate, I have most of the parts ready, but one - LDTP package which is needed to run the tests.

LDTP is python app, but it doesn't have setup.py build system. To build it we need to:

- setup the proper environment variables.
- run configure and make commands
- package SUNWldtp

Now my question is what would be the best way of building LDTP package. I have started hacking setup.py file to simply add another function which will setup environment variables and run subprocess with configure, make and make install commands and then restore the previous environment variables.

Please let me know if this is the correct way of building LDTP package or there is a better one?

--
best
Michal Pryc
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to