[Top][All Lists]

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

Re: DTRT wrt authorship info + using examples in "make check"

From: Martin Grabmueller
Subject: Re: DTRT wrt authorship info + using examples in "make check"
Date: Sat, 14 Jul 2001 12:30:49 +0200

> From: Thien-Thi Nguyen <address@hidden>
> Date: Tue, 10 Jul 2001 13:57:21 -0700
> in other news, sounds like some recent changes broke some of the
> examples.  probably it would be a good idea to add in each of the
> example directories a line to the
>       TESTS = check.test
> and then a simple script, e.g., examples/scripts/check.test:
>       #!/bin/sh
>       set -e
>       guile -s hello > TMP
>       echo "Hello, World!" | diff -u - TMP
>       rm -f TMP
>       [etc]

I think this is a good idea.  Additional testing is always good.  And
we don't want to ship broken examples, do we?  That'd be too

> this way, top-level "make check" runs the examples, too.  this would be
> exemplary methodology, as a bonus!  there's a small problem, though: the
> examples rely on /usr/local/bin/guile being installed... hmmmm....

Well, change the line 

  guile -s hello > TMP


  ../../libguile/guile -s hello > TMP

and the problem is gone...  Or am I missing something?


reply via email to

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