Re: Python, testing

2020-01-14 Thread James Browning via devel
On Mon, Jan 13, 2020 at 10:40 PM Hal Murray wrote: :::snip::: > > Any particular distro anyone wants it to run on? j/k > > The idea is NOT to run it as part of a normal checkin, but have something in > addition that could be triggered manually or by the equivalent of a cron job. > I'm thinking of

Re: Python, testing

2020-01-14 Thread Hal Murray via devel
matthew.sel...@twosigma.com said: > I'm not certain how these scripts are much different than our existing CI > jobs... we already have CI jobs for both Python2 and Python3. You can run them locally rather than waiting for the CI jobs to find problems. tests/option-tester.sh tries to test all

Re: Python, testing

2020-01-13 Thread Hal Murray via devel
> It is, I could throw together a merge request. I am not a CI expert though. > Next close person would be Matt Selsky I think. > Any particular distro anyone wants it to run on? j/k The idea is NOT to run it as part of a normal checkin, but have something in addition that could be triggered

Re: Python, testing

2020-01-13 Thread James Browning via devel
On Mon, Jan 13, 2020 at 5:58 PM Eric S. Raymond via devel wrote: > > Hal Murray via devel : > > A year or 2 ago, I put together a script to test as many build time options > > as > > I thought reasonable. It's in ./tests/option-tester.sh > > > > Does anybody other than me use it? > > I've run

Re: Python, testing

2020-01-13 Thread Eric S. Raymond via devel
Hal Murray via devel : > A year or 2 ago, I put together a script to test as many build time options > as > I thought reasonable. It's in ./tests/option-tester.sh > > Does anybody other than me use it? I've run it once or twice, but's not easty to see how to integraste it into our regularr

Re: Python, testing

2020-01-13 Thread Matthew Selsky via devel
On Mon, Jan 13, 2020 at 05:06:01PM -0800, Hal Murray via devel wrote: > A year or 2 ago, I put together a script to test as many build time options > as > I thought reasonable. It's in ./tests/option-tester.sh > > Does anybody other than me use it? > > It's a bit of a CPU hog -- too much to

Re: Python, testing

2020-01-13 Thread Matthew Selsky via devel
On Mon, Jan 13, 2020 at 05:06:01PM -0800, Hal Murray via devel wrote: > How does waf tell the c compiler which Python.h to use? > My system has: > /usr/include/python2.7/Python.h > /usr/include/python3.7m/Python.h ./waf --python=/path/to/python OR /path/to/python waf > What can we do

Python, testing

2020-01-13 Thread Hal Murray via devel
>From Gary: > I find if I do not test on python2 that I quickly break code. A year or 2 ago, I put together a script to test as many build time options as I thought reasonable. It's in ./tests/option-tester.sh Does anybody other than me use it? It's a bit of a CPU hog -- too much to run