Improve test runner

2009-07-27 Thread Vinzent Steinberg
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patches@googlegroups.com To unsubscribe from this group, send email to sympy-patches+unsubscr...@goog

Re: Improve test runner

2009-07-27 Thread Ondrej Certik
+else: +paths = [p for p in glob.glob('sympy/*/tests/test_*.py') + if any(a in p for a in args)] +t.add_paths(paths) ^^ Is this going to work for more nested tests, like sympy/core/assumptions/tests? If so, then +1. Ondrej On Mon, Jul 27, 2009 at 4:22 AM, Vi

Re: Improve test runner

2009-07-27 Thread Vinzent Steinberg
2009/7/27 Ondrej Certik : > > +    else: > +        paths = [p for p in glob.glob('sympy/*/tests/test_*.py') > +                 if any(a in p for a in args)] > +        t.add_paths(paths) > > ^^ Is this going to work for more nested tests, like > sympy/core/assumptions/tests? > > If so, then +1.

Re: Improve test runner

2009-07-28 Thread Vinzent Steinberg
2009/7/28 Vinzent Steinberg : > 2009/7/27 Ondrej Certik : >> >> +    else: >> +        paths = [p for p in glob.glob('sympy/*/tests/test_*.py') >> +                 if any(a in p for a in args)] >> +        t.add_paths(paths) >> >> ^^ Is this going to work for more nested tests, like >> sympy/core/

Re: Improve test runner

2009-07-28 Thread Ondrej Certik
On Tue, Jul 28, 2009 at 5:17 AM, Vinzent Steinberg wrote: > 2009/7/28 Vinzent Steinberg : >> 2009/7/27 Ondrej Certik : >>> >>> +    else: >>> +        paths = [p for p in glob.glob('sympy/*/tests/test_*.py') >>> +                 if any(a in p for a in args)] >>> +        t.add_paths(paths) >>> >>

Re: Improve test runner

2009-08-05 Thread Vinzent Steinberg
On 28 Jul., 19:13, Ondrej Certik wrote: > So in this case, just use the get_paths() method. That way all the > hacks are concentrated on one place. > > Ondrej Here we go. Vinzent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: Improve test runner

2009-08-05 Thread Ondrej Certik
On Wed, Aug 5, 2009 at 3:06 PM, Vinzent Steinberg wrote: > On 28 Jul., 19:13, Ondrej Certik wrote: >> So in this case, just use the get_paths() method. That way all the >> hacks are concentrated on one place. >> >> Ondrej > > Here we go. Now it looks good, +1. Thanks, Ondrej --~--~-~--

Re: Improve test runner

2009-08-06 Thread Vinzent Steinberg
It's in, thank you for reviewing. Vinzent 2009/8/5 Ondrej Certik > > On Wed, Aug 5, 2009 at 3:06 PM, Vinzent > Steinberg wrote: > > On 28 Jul., 19:13, Ondrej Certik wrote: > >> So in this case, just use the get_paths() method. That way all the > >> hacks are concentrated on one place. > >> > >

Re: Improve test runner

2009-08-10 Thread smichr
Everything used to work...now nothing gets run under windows XP: C:\DOCUME~2\chris\sympy\sympy>\python26\python.exe ..\bin\test core = test process starts == executable: C:\python26\python.exe (2.6.1-final-0) === tests

Re: Improve test runner

2009-08-11 Thread Vinzent Steinberg
Does bin/test work without argument? Vinzent 2009/8/11 smichr > > Everything used to work...now nothing gets run under windows XP: > > C:\DOCUME~2\chris\sympy\sympy>\python26\python.exe ..\bin\test core > = test process starts > == > > exe

Re: Improve test runner

2009-08-11 Thread Ondrej Certik
this was a much more nasty patch than I thought originally (it looked quite innocent though), but I don't have time now to fix this on windows --- so if it can't be fixed, we'll have to revert it. Ondrej On Tue, Aug 11, 2009 at 5:37 AM, Vinzent Steinberg wrote: > Does bin/test work without argu

Re: Improve test runner

2009-08-11 Thread Vinzent Steinberg
On 11 Aug., 18:56, Ondrej Certik wrote: > this was a much more nasty patch than I thought originally  (it looked > quite innocent though), but I don't have time now to fix this on > windows --- so if it can't be fixed, we'll have to revert it. I'm sorry and I really wonder why it fails. Vinzent

Re: Improve test runner

2009-08-11 Thread Ondrej Certik
On Tue, Aug 11, 2009 at 3:00 PM, Vinzent Steinberg wrote: > > On 11 Aug., 18:56, Ondrej Certik wrote: >> this was a much more nasty patch than I thought originally  (it looked >> quite innocent though), but I don't have time now to fix this on >> windows --- so if it can't be fixed, we'll have to

Re: Improve test runner

2009-08-11 Thread Vinzent Steinberg
2009/8/11 Ondrej Certik > > On Tue, Aug 11, 2009 at 3:00 PM, Vinzent > Steinberg wrote: > > > > On 11 Aug., 18:56, Ondrej Certik wrote: > >> this was a much more nasty patch than I thought originally (it looked > >> quite innocent though), but I don't have time now to fix this on > >> windows -