[release] src/testUtils.ts: always run test in package list mode

During v0.16 dev cycle, we switched tests to run in local directory
mode by not specifying the target package path to be tested.

This has two unintended side-effects:

1) prints all stderr/stdout from the tested target when tests succeed.
2) disables test caching.

Whether `Go: Test Package` should run the tests in local directory
mode or in package list mode is debatable.
https://golang.org/cmd/go/#hdr-Test_packages
But, we've been using the package list mode for a long time without
complaint. So, this is a regression that needs to be fixed.

Fixes golang/vscode-go#528

Change-Id: Ied06130db1ab6e53b2fb3a3b19ab13b0985fc779
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/248738
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
(cherry picked from commit a357893e7b5c24c1443deaca629584e47b4e22c2)
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/252119
diff --git a/src/testUtils.ts b/src/testUtils.ts
index cd00956..a721df9 100644
--- a/src/testUtils.ts
+++ b/src/testUtils.ts
@@ -293,6 +293,7 @@
 		let pkgMapPromise: Promise<Map<string, string> | null> = Promise.resolve(null);
 
 		if (testconfig.isMod) {
+			getCurrentPackagePromise = getCurrentPackage(testconfig.dir);
 			// We need the mapping to get absolute paths for the files in the test output.
 			pkgMapPromise = getNonVendorPackages(testconfig.dir, !!testconfig.includeSubDirectories);
 		} else {  // GOPATH mode