|
I am configuring an automated unit testing system
running on WinXP. I use GNU Make for building and running my unit
tests. Each of the (C++) test programs will return a pass/fail value
from main(), which normally can be picked up by operating system as the
program return value. How can I gain access to this value if I run the test program from a makefile? For example: from a test batch file make clean make all make run "make run" will execute the newly built unittest program. How can I return the test result from make back to the overall test batch file? I have a series of test directories, each with a unittest program that needs to be executed. If all the unittest programs pass, then I know it is safe to build the application. Perhaps there is a cleaner way to do this. This was my initial concept. - Ray --
====================
Science
Circuit Designs
Scientific
Instrumentation
Embedded microprocessor
systems
Data acquisition systems
Raymond Dunn
4682 Chaparrel Way
Bozeman, MT 59715
(406) 582-0518
|
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
