Re: unit tests

2005-03-03 Thread Rob Savoye
Baurzhan Ismagulov wrote: For now, I've added mytest to noinst_PROGRAMS and defined mytest_SOURCES. What should I do in mytest.exp? exec? Look at the unit.cc test case. This uses a simple header file to print FAIL or PASS states from the unit test. Then you use the functions in dejagnu.exp to e

unit tests

2005-03-03 Thread Baurzhan Ismagulov
Hello, I've written a sample unit test and want to integrate it to my project built using automake. For now, I've added mytest to noinst_PROGRAMS and defined mytest_SOURCES. What should I do in mytest.exp? exec? Besides, I suspect there's a better way to build the test program, because I don't w