unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* make check
@ 2019-02-25  8:30 Catonano
  2019-03-01 10:51 ` Mike Gran
  0 siblings, 1 reply; 3+ messages in thread
From: Catonano @ 2019-02-25  8:30 UTC (permalink / raw)
  To: Guile User

I added a test to the test-suite/tests/texinfo.serialize.test file,

like this

  (assert-serialize '(defcodeindex (% (entry "op")))
            "@defcodeindex opi
")

please note that the texinfo string is wrong

I run make check expecting to see a failed test but they all pass

Is my new test being run ? It seems it isn't

Also, how do I run the texinfo tests only (rather than all of them) ?

I tried

../meta/guile -L ./ guile-test tests/texinfo*.test

this line returns the prompt but no output and I can't find any log file

Thanks


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make check
  2019-02-25  8:30 make check Catonano
@ 2019-03-01 10:51 ` Mike Gran
  2019-03-02 14:58   ` Catonano
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Gran @ 2019-03-01 10:51 UTC (permalink / raw)
  To: Catonano; +Cc: Guile User

On Mon, Feb 25, 2019 at 09:30:46AM +0100, Catonano wrote:
> I added a test to the test-suite/tests/texinfo.serialize.test file,
> 
> like this
> 
>   (assert-serialize '(defcodeindex (% (entry "op")))
>             "@defcodeindex opi
> ")

I tried it and it works for me.  My guess is that you didn't put your test
inside of the "with-test-prefix" block.  All tests need to be inside of
a "with-text-prefix" block.
> 
> please note that the texinfo string is wrong
> 
> I run make check expecting to see a failed test but they all pass
> 
> Is my new test being run ? It seems it isn't
> 
> Also, how do I run the texinfo tests only (rather than all of them) ?


> 
> I tried
> 
> ../meta/guile -L ./ guile-test tests/texinfo*.test
> 
> this line returns the prompt but no output and I can't find any log file

To run just the texinfo tests, from the test-suite/tests directory,
you can run the following command

../../check-guile texinfo*test

Your output will be in the check-guile.log file

Regards,

Mike Gran



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make check
  2019-03-01 10:51 ` Mike Gran
@ 2019-03-02 14:58   ` Catonano
  0 siblings, 0 replies; 3+ messages in thread
From: Catonano @ 2019-03-02 14:58 UTC (permalink / raw)
  To: Mike Gran; +Cc: Guile User

Il giorno ven 1 mar 2019 alle ore 11:52 Mike Gran <spk121@yahoo.com> ha
scritto:

> On Mon, Feb 25, 2019 at 09:30:46AM +0100, Catonano wrote:
> > I added a test to the test-suite/tests/texinfo.serialize.test file,
> >
> > like this
> >
> >   (assert-serialize '(defcodeindex (% (entry "op")))
> >             "@defcodeindex opi
> > ")
>
> I tried it and it works for me.  My guess is that you didn't put your test
> inside of the "with-test-prefix" block.  All tests need to be inside of
> a "with-text-prefix" block.
>

It worked for me too, I had just forgot to save the file after I had edited
it. So I was running the previous version :-/


> >
> > please note that the texinfo string is wrong
> >
> > I run make check expecting to see a failed test but they all pass
> >
> > Is my new test being run ? It seems it isn't
> >
> > Also, how do I run the texinfo tests only (rather than all of them) ?
>
>
> >
> > I tried
> >
> > ../meta/guile -L ./ guile-test tests/texinfo*.test
> >
> > this line returns the prompt but no output and I can't find any log file
>
> To run just the texinfo tests, from the test-suite/tests directory,
> you can run the following command
>
> ../../check-guile texinfo*test
>
> Your output will be in the check-guile.log file
>
>
Than you Mike, I appreciate this

I had found that already, i don't know how


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-02 14:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-25  8:30 make check Catonano
2019-03-01 10:51 ` Mike Gran
2019-03-02 14:58   ` Catonano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).