I am running CCSV5 under win7 for an MSP430 target. Our developers are working interactively using CCS, but I need to put together an automated test stand for our product. As such, I need to check out a clean copy of the build environment as saved in TFS by the developer team, and then I need to generate a makefile from that checked out environment. I need to tailor that makefile to include test scaffolding code (which is likewise autogenerated). Finally, I need to load the image that the makefile generates, and then run my tests. There are about 50 different test scaffolding C source files that I am already auto-generating, but I can only include a subset of these in any given build, as we are limited in the amount of ram available. All this activity needs to be controlled by a script, since we intend to run the entire test scenario automatically every night, so the results are available to the developers the next morning.
My question to this forum is: "How do I get CCSV5 to auto-generate a makefile, and get it to do this by running a script?"
Once I have the makefile, I can edit it from a script to automatically add/remove test scaffolding code, then build the image by running make. I already have the scripts written in javascript to load the image and run the tests, but right now, I have to manually check out the code from TFS, and manually generate the build. These steps need to be automated so I don't have to stay up all night to run these tests. ;-)
For archiving the artifacts of the test for the regulatory authority, it would be nice if the makefile was self-contained, not including a bunch of other stuff from all over the place.