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

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, which is quite useful since you
> don't need to insert lots of paths.  It's not a big problem since you're
> `supposed' to run it via make in the appropriate Test subdirectory, and
> actually I can't see an easy fix anyway.
>

Actually, the way to run individual test is 'make TESTNUM=C02cond check'
which works nicely in separate build directory. I do not know if it is
mentioned anywhere, but it is damn useful (all credits to Bart).

-andrej



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