On Fri, Feb 20, 2004, Chris Hawks wrote:
> Done! I'm wondering if we should add a 'dummy' test. That would keep the
> count of tests (and their position) constant no matter what options are
> used.

Wouldn't it be better to just put the ifdefs *inside* the real tests?
Then the tests will still be there (and be counted), but they can't
fail, i.e.

void TestExternalFormLinksJogDialBack( void )
{
#ifdef HAVE_JOGDIAL
    FormType* oldForm;
    FormType* externalForm;
    EventType event;

    oldForm = FrmGetActiveForm();

    :

    FrmDeleteForm( externalForm );
#endif
}

No ifdefs in the InitializeExternalFormSuite, i.e. all test cases
will be included.

/Mike

_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to