Store the commit in the test result.