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

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -