]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/run.bat
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / src / run.bat
index c299671c13f31381f997ce1c059d93f94db39369..35c8ead8cb22473e96605ceb9474cb661c705d34 100644 (file)
@@ -18,34 +18,22 @@ setlocal
 \r
 set GOBUILDFAIL=0\r
 \r
-:: we disallow local import for non-local packages, if %GOROOT% happens\r
-:: to be under %GOPATH%, then some tests below will fail\r
-set GOPATH=\r
-:: Issue 14340: ignore GOBIN during all.bat.\r
-set GOBIN=\r
-set GOFLAGS=\r
-set GO111MODULE=\r
+set GOENV=off\r
+..\bin\go tool dist env > env.bat\r
+if errorlevel 1 goto fail\r
+call .\env.bat\r
+del env.bat\r
 \r
-rem TODO avoid rebuild if possible\r
+set GOPATH=c:\nonexist-gopath\r
 \r
 if x%1==x--no-rebuild goto norebuild\r
-echo ##### Building packages and commands.\r
-..\bin\go install -a -v std cmd\r
-if errorlevel 1 goto fail\r
-echo.\r
-:norebuild\r
-\r
-:: get CGO_ENABLED\r
-..\bin\go env > env.bat\r
+..\bin\go tool dist test --rebuild\r
 if errorlevel 1 goto fail\r
-call env.bat\r
-del env.bat\r
-echo.\r
+goto end\r
 \r
+:norebuild\r
 ..\bin\go tool dist test\r
 if errorlevel 1 goto fail\r
-echo.\r
-\r
 goto end\r
 \r
 :fail\r