Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Block device tests



On May 29, 11:34am, Peter Stephenson wrote:
} Subject: Re: PATCH: Block device tests
}
} "Bart Schaefer" wrote:
} > +  if ! grep '#define HAVE_FIFOS' $ZTST_testdir/../config.h; then
} 
} $ZTST_testdir is where we are running the tests.  Unfortunately this will
} break if you are compiling separately from the source tree and then running
} individual tests in the test directory

There are several other tests which rely on using a path relative to
$ZTST_testdir:

schaefer[575] print -c $(fgrep -l ZTST_testdir/.. Test/*(.))
Test/A01grammar.ztst     Test/V01zmodload.ztst    Test/Y03arguments.ztst
Test/C02cond.ztst        Test/Y01completion.ztst
Test/D02glob.ztst        Test/Y02compmatch.ztst

I'm responsible for its appearance in C02 and V01, but I was only
patterning my usage on the others, particularly D02.

On May 29,  2:51pm, Andrej Borsenkow wrote:
}
} Actually, the way to run individual test is 'make TESTNUM=C02cond check'

Which made more sense when the test numbers were actually numbers, and
not alphabet-coded.  Oh well, close enough.

} I do not know if it is mentioned anywhere

Hmm, even "make check" doesn't appear to be mentioned anywhere.

Index: INSTALL
===================================================================
RCS file: /cvsroot/zsh/zsh/INSTALL,v
retrieving revision 1.7
diff -u -r1.7 INSTALL
--- INSTALL	2001/04/02 13:04:04	1.7
+++ INSTALL	2001/05/29 15:37:19
@@ -152,6 +152,18 @@
 After configuring, to build zsh, do the command:
     make
 
+It's then a good idea to check that your build is working properly:
+    make check
+
+If you have trouble with a particular test, you can run it separately:
+    make TESTNUM=C02 check
+
+The TESTNUM value can be a single test number, as above, or a letter to
+run an entire category of tests:
+    make TESTNUM=Y check
+
+See Test/README for a list of test categories.
+
 Installing Zsh
 --------------
 

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author