After years of not using make, I find myself needing it again, the gnu version now. I'm pretty sure I should be able to do what I want here, but haven't figured out how, or found an answer with Google, etc.
I'm trying to create a test target which will execute my program a number of times, saving the results in a log file. Some tests should cause my program to abort. Unfortunately, my makefile aborts on the first test which lead to an error. I have something like:
# Makefile
#
test:
myProg -h > test.log # Display help
myProg bad_input >> test.log # Error
myProg good_input >> test.log # should run fine
With the above, make quits after the bad_input run, never getting to the good_input run. I've not figured
Yes, in this simple example, I could move the bad_input run below the good_input run, but that won't work with my real situation, as I need multiple tests for error conditions.