cvs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-dev] Re: cvs-passwd patch, about sanity.sh


From: Derek R. Price
Subject: [Cvs-dev] Re: cvs-passwd patch, about sanity.sh
Date: Thu, 14 Sep 2006 13:02:58 -0400
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Prasad J Pandit wrote:
> helpful. I wrote my first check though, but I'm not able to run it; The
> TESTS file says, one can run test randomly by '-f testname' option; I
> tried the following
> 
>   $ make check '-f passwd': doesn't work.
>   $ ./sanity.sh -f passwd: shows the usage () message
> 
> in vain. I tried '$make check' as well, but it goes and fails after some
> half an hour at 'parseroot-8' check(I don't know why), and which
> apparently comes before 'passwd)'.

The usage message should have been pretty clear:

Usage: sanity.sh [-eklrv] [-f FROM-TEST] [-h HOSTNAME] CVS-TO-TEST
[TESTS-TO-RUN...]

Where CVS-TO-TEST is the CVS executable to run tests on or, in your
example, `./cvs', and TESTS-TO-RUN is a list of tests to run or, in your
example, `passwd'.  The `-f' option is used to run all tests from
`FROM-TEST'.  For instance, if an unmodified `make check' normally ran
tests `a', `b', and `c', in that order, then `cvs -f b ./cvs' would run
only tests `b', and `c'.  The idea is that if you are running the entire
test suite on a set of changes, then if a test fails and you fix the
bug, then you don't need to rerun the whole test suite again to run it
from the failing test to the end.

So, to just run your new `passwd' test, you were looking for:

        ./sanity.sh ./cvs passwd

and to run it in remote mode:

        ./sanity.sh -r ./cvs passwd

Cheers,

Derek
- --
Derek R. Price
CVS Solutions Architect
Get CVS support at Ximbiot <http://ximbiot.com>!
v: +1 248.835.1260
f: +1 248.835.1263
<mailto:address@hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFCYtCLD1OTBfyMaQRAkcbAJ9qndStamAAo6Wc0jVsxU15Xkdq2wCgzWct
u6OfAjQs70++meSOmpoJCq8=
=J7Co
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]