makefile - Is there a unit testing framework for GNU make? -
there number of unit test frameworks of languages, haven't come across unit test gnu make. has conditionals, loops (the $(foreach ...) statement), , allows write pretty sophisticated code. examples might things bsd ports, garnome, , opencsw gar.
there's a debugger gnu make. however, i've never come across unit test framework it. there in existence?
unit-tests assumes language has form of mechanism modularization, gnu make doesn't have. "units" testing? individual targets? how set inputs/outputs of each test?
also, since makefiles executed during build, 1 argue makefiles "test themselves", leaving little room explicit "makefile test suites" good.
Comments
Post a Comment