[Top][All Lists]

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

[Cron-bug] Test suite

From: Jeff Bailey
Subject: [Cron-bug] Test suite
Date: Wed, 30 Jan 2002 10:29:09 -0800
User-agent: Mutt/1.2.5i

Heya, I'm just looking at src/test/sched_convert.c

It looks like you're doing two tests in one file - I recommend against
this (And also that tests should be largely silent).  That way when a
test fails, it will be reported correctly by make check.

A non-0 exit code denotes failure.  I think it's exit(77) says you've
chosen to skip the test for some reason.

When we get into it later, it's also possible to specify tests that
you expect to fail (Normally a per platform thing.  A good example
might be the GNU/Hurd translator stuff, which would fail under any
other OS)

I'll babble more about that when we get closer.  Testing is still
quite new to me too.

Jeff Bailey

I want to go live with the guy who came up with the phrase "Free like

reply via email to

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