This commit adds bazel rules to test whether linking the golden partial files for test cases produces the same output as a full compile of the test case would. PR Close #39617