[Expat-bugs] expat: make check fails

Sven Utcke utcke at informatik.uni-hamburg.de
Thu Aug 7 17:17:33 EDT 2003


Hello Fred L. Drake, Jr.,

> Sven Utcke writes:
>  > make
>  > make check
>  > 
>  > and got
>  > 
>  > gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I../../src/lib -I. -o tests/runtests.o -c ../../src/tests/runtests.c
>  > ../../src/tests/runtests.c:2: check.h: No such file or directory
>  > make: *** [tests/runtests.o] Error 1
>  > 
>  > Even worse:
>  > 
>  > find /software/expat-1.95.6/ -name check.h
>  > 
>  > Does not find any file of that name.  Any ideas?
> 
> "check" is a third-party library to support unit testing in C.  You
> can get more information about it at:
> 
>         http://check.sourceforge.net/

Ok.  I would still claim that the above is a bug though, as most
configure-based software (or maybe I should call it GNUish sw?) would
allow you to type "make check" to run the included unit tests, rather
than to compile a framework for unit-tests which needs to be
downloaded separately.

At the very least I would expect the README to point out this
idiosyncrasy and tell me where to get (and where to put) check [please
note that I do not mean to slight anybody --- I'm sure there was some
reason to do things the way they were done; all I'm trying to do is to
point out that in my opinion this is not the behaviour the majority of
people would expect --- and I consider such startling behaviour a bug]

Sven
-- 
 _  __                     The Cognitive Systems Group
| |/ /___  __ _ ___                                       University of Hamburg
| ' </ _ \/ _` (_-<  phone:    +49 (0)40 42883-2576      Vogt-Koelln-Strasse 30
|_|\_\___/\__, /__/  fax  :    +49 (0)40 42883-2572             D-22527 Hamburg
          |___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html



More information about the Expat-bugs mailing list