Add mechanism to set configure flags from test case