Go extractor should generate separate compilations for out-package test files
OpenPublic

Description

When go/build reads a package, it lists test files that do not declare themselves as part of the package under test. We do not want to include these in the compilation for that package, as it is illegal to combine files declaring different packages in one compile step.

We should extract out-package test files as separate compilations with dependencies on the original.

fromberger created this task.Via WebOct 2 2015, 7:25 AM
fromberger claimed this task.
fromberger added a project: Restricted Project.
schroederc changed the visibility of this Maniphest Task from "All Users" to "Public (No Login Required)".Via WebMay 16 2016, 3:28 PM
fromberger lowered the priority of this task from "Normal" to "Wishlist".Via WebJan 13 2017, 11:20 AM

Reducing the priority of this for now.

Add Comment