testdata: use the debugdir flag less often
In tiny.txt, we already check line numbers via stderr, so there's no need to do that via -debugdir. In syntax.txt, we only really care about what names remain in the binary, not the names which remain in the source but don't affect the binary. These changes are important because -debugdir adds a non-trivial amount of work, which will impede build caching once that feature lands. We will likely make -debugdir support build caching eventually, but for now, this preliminary change will make 'go test' much faster with build caching. And of course, the tests get simpler, which is nice.pull/141/head
parent
00c1d5b11d
commit
54e931070f
Loading…
Reference in New Issue