Re: gnulib-tool and --with-tests

2012-06-22 Thread Bruno Haible
Thien-Thi Nguyen wrote: >gnulib-tool: --create-[mega]testdir, --[mega]test implies --with-tests. > > Apparently, ‘--with-tests’ is implied (somehow) by ‘--update’ as well In --update mode, the settings come from the gnulib-cache.m4 file, in your case it's here: http://git.savannah.gnu.org/c

Re: gnulib-tool and --with-tests

2012-06-22 Thread Thien-Thi Nguyen
() Bruno Haible () Thu, 21 Jun 2012 22:46:02 +0200 gnulib-tool: --create-[mega]testdir, --[mega]test implies --with-tests. Apparently, ‘--with-tests’ is implied (somehow) by ‘--update’ as well (but that is incompatible (why?) with ‘--conditional-dependencies’): http://hydra.nixos.org/build/

Re: gnulib-tool and --with-tests

2012-06-21 Thread Dmitriy Selyutin
Hi Bruni, >> Yes, please. This is very welcome. OK, I'll add it when I begin to write code for GNULibTests class. It is very good that I didn't miss this letter. :-)

Re: gnulib-tool and --with-tests

2012-06-21 Thread Bruno Haible
Hello Dmitriy, > If we decide to use such behavior as default, I'll now add this feature to > Python version when I begin to write GNULibTest class. Yes, please. This is very welcome. Note that the change affects only the default value for the 4 modes --create-[mega]testdir and --[mega]test. Not

Re: gnulib-tool and --with-tests

2012-06-21 Thread Bruno Haible
Paul Eggert and Ben Pfaff wrote: > I think the current behavior surprises > pretty much every new gnulib-tool user, and I like the idea of > having --with-tests be the default if --test is used. Thanks for the vote. I think you have a majority. So I am applying this change, followed by a no-op ref

Re: gnulib-tool and --with-tests

2012-06-21 Thread Dmitriy Selyutin
Hello everyone! If we decide to use such behavior as default, I'll now add this feature to Python version when I begin to write GNULibTest class.

Re: gnulib-tool and --with-tests

2012-06-21 Thread Paul Eggert
On 06/21/2012 09:20 AM, Ben Pfaff wrote: > I remember to use --with-tests these > days, but I think that having that be the default would be less > surprising. My sentiments exactly. I think the current behavior surprises pretty much every new gnulib-tool user, and I like the idea of having --wit

Re: gnulib-tool and --with-tests

2012-06-21 Thread Ben Pfaff
Bruno Haible writes: >> What do you think of making --with-tests a no-op, and add a >> --without-tests to disable it? This would save us all some typing... > > You mean to make this change only in combination with --test, > --create-testdir, and --create-megatestdir? Not with --import. > > I'm u

Re: gnulib-tool and --with-tests

2012-06-21 Thread Bruno Haible
Hi Simon, > > $ ./gnulib-tool --test --with-tests parse-duration > > Using '--test --with-tests' or '--create-testdir --with-tests' is quite > common. Is there any reason why --with-tests isn't the default? It's for consistency with --import. Many packages like to have --import without tests, a