Modify CDash test scripts to respond to build option changes