goma_link: Add more unit tests, split from integration tests
This splits the unit tests and integration tests for goma_link. goma_link_unit_tests.py now contains unit tests that run quickly and don't depend on the host system being set up with the necessary external dependencies and environment. Integration tests that test actual linking of actual programs are now in goma_link_integration_tests.py. I have also expanded unit test coverage to check computing index parameters, codegen parameters, final link parameters, and the list of files to be codegenned, which is where most of the complexity of goma_link is. Bug: 877722 Change-Id: I18d5094e5044383cab2b4e43b9aff0086cfd2e35 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2140813 Commit-Queue: Bob Haarman <inglorion@chromium.org> Reviewed-by:George Burgess <gbiv@chromium.org> Cr-Commit-Position: refs/heads/master@{#757973}
Showing
Please register or sign in to comment