Running testcases from make file

You can’t use ‘foreach’ in this manner. Reading the GNU make manual on the ‘foreach’ command, the multiple expansions are concatenated into a single result.