Make tests use configdata.pm rather than parsing Makefile