Advertisement
Guest User

Untitled

a guest
May 8th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 179.92 KB | None | 0 0
  1. === RUN TestAbsolutePath
  2. --- PASS: TestAbsolutePath (0.04s)
  3. === RUN TestACL
  4. --- PASS: TestACL (0.83s)
  5. === RUN TestBuildComplex
  6. === PAUSE TestBuildComplex
  7. === RUN TestFileLineInErrorMessages
  8. === PAUSE TestFileLineInErrorMessages
  9. === RUN TestProgramNameInCrashMessages
  10. === PAUSE TestProgramNameInCrashMessages
  11. === RUN TestBrokenTestsWithoutTestFunctionsAllFail
  12. --- PASS: TestBrokenTestsWithoutTestFunctionsAllFail (0.50s)
  13. go_test.go:819: running testgo [test ./testdata/src/badtest/...]
  14. go_test.go:819: standard output:
  15. go_test.go:819: panic: badexec
  16.  
  17. goroutine 1 [running]:
  18. _/c_/dev/go/src/cmd/go/testdata/src/badtest/badexec.init.0()
  19. c:/dev/go/src/cmd/go/testdata/src/badtest/badexec/x_test.go:4 +0x40
  20. FAIL _/c_/dev/go/src/cmd/go/testdata/src/badtest/badexec 0.026s
  21. FAIL _/c_/dev/go/src/cmd/go/testdata/src/badtest/badvar [build failed]
  22.  
  23. go_test.go:819: standard error:
  24. go_test.go:819: # _/c_/dev/go/src/cmd/go/testdata/src/badtest/badsyntax
  25. testdata\src\badtest\badsyntax\x_test.go:3:6: expected 'IDENT', found 'func'
  26. FAIL _/c_/dev/go/src/cmd/go/testdata/src/badtest/badsyntax [setup failed]
  27. # _/c_/dev/go/src/cmd/go/testdata/src/badtest/badvar_test [_/c_/dev/go/src/cmd/go/testdata/src/badtest/badvar.test]
  28. testdata\src\badtest\badvar\x_test.go:4:6: undefined: notdefined
  29.  
  30. go_test.go:819: testgo failed as expected: exit status 2
  31. === RUN TestGoBuildDashAInDevBranch
  32. --- SKIP: TestGoBuildDashAInDevBranch (0.00s)
  33. go_test.go:828: don't rebuild the standard library in short mode
  34. === RUN TestGoBuildDashAInReleaseBranch
  35. --- SKIP: TestGoBuildDashAInReleaseBranch (0.00s)
  36. go_test.go:844: don't rebuild the standard library in short mode
  37. === RUN TestNewReleaseRebuildsStalePackagesInGOPATH
  38. --- SKIP: TestNewReleaseRebuildsStalePackagesInGOPATH (0.00s)
  39. go_test.go:866: don't rebuild the standard library in short mode
  40. === RUN TestGoListStandard
  41. --- SKIP: TestGoListStandard (0.00s)
  42. go_test.go:45: skipping test in -short mode
  43. === RUN TestGoInstallCleansUpAfterGoBuild
  44. --- SKIP: TestGoInstallCleansUpAfterGoBuild (0.00s)
  45. go_test.go:45: skipping test in -short mode
  46. === RUN TestGoInstallRebuildsStalePackagesInOtherGOPATH
  47. --- SKIP: TestGoInstallRebuildsStalePackagesInOtherGOPATH (0.00s)
  48. go_test.go:45: skipping test in -short mode
  49. === RUN TestGoInstallDetectsRemovedFiles
  50. === PAUSE TestGoInstallDetectsRemovedFiles
  51. === RUN TestWildcardMatchesSyntaxErrorDirs
  52. --- PASS: TestWildcardMatchesSyntaxErrorDirs (0.11s)
  53. go_test.go:1055: running testgo [list ./...]
  54. go_test.go:1055: standard error:
  55. go_test.go:1055: can't load package: package mypkg:
  56. y.go:1:1: expected 'package', found pkg
  57.  
  58. go_test.go:1055: testgo failed as expected: exit status 1
  59. go_test.go:1056: running testgo [build ./...]
  60. go_test.go:1056: standard error:
  61. go_test.go:1056: can't load package: package mypkg:
  62. y.go:1:1: expected 'package', found pkg
  63.  
  64. go_test.go:1056: testgo failed as expected: exit status 1
  65. go_test.go:1057: running testgo [install ./...]
  66. go_test.go:1057: standard error:
  67. go_test.go:1057: can't load package: package mypkg:
  68. y.go:1:1: expected 'package', found pkg
  69.  
  70. go_test.go:1057: testgo failed as expected: exit status 1
  71. === RUN TestGoListWithTags
  72. --- PASS: TestGoListWithTags (0.04s)
  73. go_test.go:1066: running testgo [list -tags=thetag ./my...]
  74. go_test.go:1066: standard output:
  75. go_test.go:1066: mypkg
  76.  
  77. === RUN TestGoInstallErrorOnCrossCompileToBin
  78. --- SKIP: TestGoInstallErrorOnCrossCompileToBin (0.00s)
  79. go_test.go:1072: don't install into GOROOT in short mode
  80. === RUN TestGoInstallDetectsRemovedFilesInPackageMain
  81. --- SKIP: TestGoInstallDetectsRemovedFilesInPackageMain (0.00s)
  82. go_test.go:45: skipping test in -short mode
  83. === RUN TestLocalImportsEasy
  84. --- PASS: TestLocalImportsEasy (0.43s)
  85. go_test.go:1162: running testgo [build -o ./easy.exe testdata\local\easy.go]
  86. === RUN TestLocalImportsEasySub
  87. --- PASS: TestLocalImportsEasySub (0.42s)
  88. go_test.go:1168: running testgo [build -o ./easysub.exe testdata\local\easysub\main.go]
  89. === RUN TestLocalImportsHard
  90. --- PASS: TestLocalImportsHard (0.45s)
  91. go_test.go:1174: running testgo [build -o ./hard.exe testdata\local\hard.go]
  92. === RUN TestLocalImportsGoInstallShouldFail
  93. --- PASS: TestLocalImportsGoInstallShouldFail (0.10s)
  94. go_test.go:1180: running testgo [install testdata\local\easy.go]
  95. go_test.go:1180: standard error:
  96. go_test.go:1180: go install: no install location for .go files listed on command line (GOBIN not set)
  97.  
  98. go_test.go:1180: testgo failed as expected: exit status 1
  99. === RUN TestBadImportsEasy
  100. --- SKIP: TestBadImportsEasy (0.00s)
  101. go_test.go:1215: skipping test because "#$%:, &()*;<=>?\\^{}" is an invalid directory name
  102. === RUN TestBadImportsEasySub
  103. --- SKIP: TestBadImportsEasySub (0.00s)
  104. go_test.go:1222: skipping test because "#$%:, &()*;<=>?\\^{}" is an invalid directory name
  105. === RUN TestBadImportsHard
  106. --- SKIP: TestBadImportsHard (0.00s)
  107. go_test.go:1229: skipping test because "#$%:, &()*;<=>?\\^{}" is an invalid directory name
  108. === RUN TestBadImportsGoInstallShouldFail
  109. --- SKIP: TestBadImportsGoInstallShouldFail (0.00s)
  110. go_test.go:1236: skipping test because "#$%:, &()*;<=>?\\^{}" is an invalid directory name
  111. === RUN TestInternalPackagesInGOROOTAreRespected
  112. --- PASS: TestInternalPackagesInGOROOTAreRespected (0.10s)
  113. go_test.go:1243: running testgo [build -v ./testdata/testinternal]
  114. go_test.go:1243: standard error:
  115. go_test.go:1243: testdata\testinternal\p.go:3:8: use of internal package not allowed
  116.  
  117. go_test.go:1243: testgo failed as expected: exit status 1
  118. === RUN TestInternalPackagesOutsideGOROOTAreRespected
  119. --- PASS: TestInternalPackagesOutsideGOROOTAreRespected (0.04s)
  120. go_test.go:1250: running testgo [build -v ./testdata/testinternal2]
  121. go_test.go:1250: standard error:
  122. go_test.go:1250: testdata\testinternal2\p.go:3:8: use of internal package not allowed
  123.  
  124. go_test.go:1250: testgo failed as expected: exit status 1
  125. === RUN TestRunInternal
  126. --- PASS: TestRunInternal (0.29s)
  127. go_test.go:1259: running testgo [run c:\dev\go\src\cmd\go\testdata\src\run\good.go]
  128. go_test.go:1260: running testgo [run c:\dev\go\src\cmd\go\testdata\src\run\bad.go]
  129. go_test.go:1260: standard error:
  130. go_test.go:1260: testdata\src\run\bad.go:3:8: use of internal package not allowed
  131.  
  132. go_test.go:1260: testgo failed as expected: exit status 1
  133. === RUN TestInternalPackageErrorsAreHandled
  134. --- PASS: TestInternalPackageErrorsAreHandled (0.04s)
  135. go_test.go:1307: running testgo [list ./testdata/testinternal3]
  136. go_test.go:1307: standard output:
  137. go_test.go:1307: _/c_/dev/go/src/cmd/go/testdata/testinternal3
  138.  
  139. === RUN TestInternalCache
  140. --- PASS: TestInternalCache (0.04s)
  141. go_test.go:1314: running testgo [build p]
  142. go_test.go:1314: standard error:
  143. go_test.go:1314: testdata\testinternal4\src\p\p.go:4:2: use of internal package not allowed
  144.  
  145. go_test.go:1314: testgo failed as expected: exit status 1
  146. === RUN TestMoveGit
  147. --- SKIP: TestMoveGit (0.00s)
  148. testenv.go:163: skipping test: no external network in -short mode
  149. === RUN TestMoveHG
  150. --- SKIP: TestMoveHG (0.00s)
  151. testenv.go:163: skipping test: no external network in -short mode
  152. === RUN TestImportCommandMatch
  153. --- PASS: TestImportCommandMatch (0.09s)
  154. go_test.go:1335: running testgo [build ./testdata/importcom/works.go]
  155. === RUN TestImportCommentMismatch
  156. --- PASS: TestImportCommentMismatch (0.04s)
  157. go_test.go:1342: running testgo [build ./testdata/importcom/wrongplace.go]
  158. go_test.go:1342: standard error:
  159. go_test.go:1342: testdata\importcom\wrongplace.go:3:8: code in directory c:\dev\go\src\cmd\go\testdata\importcom\src\wrongplace expects import "my/x"
  160.  
  161. go_test.go:1342: testgo failed as expected: exit status 1
  162. === RUN TestImportCommentSyntaxError
  163. --- PASS: TestImportCommentSyntaxError (0.03s)
  164. go_test.go:1350: running testgo [build ./testdata/importcom/bad.go]
  165. go_test.go:1350: standard error:
  166. go_test.go:1350: testdata\importcom\bad.go:3:8: c:\dev\go\src\cmd\go\testdata\importcom\src\bad\bad.go:1: cannot parse import comment
  167.  
  168. go_test.go:1350: testgo failed as expected: exit status 1
  169. === RUN TestImportCommentConflict
  170. --- PASS: TestImportCommentConflict (0.04s)
  171. go_test.go:1358: running testgo [build ./testdata/importcom/conflict.go]
  172. go_test.go:1358: standard error:
  173. go_test.go:1358: testdata\importcom\conflict.go:3:8: found import comments "a" (a.go) and "b" (b.go) in c:\dev\go\src\cmd\go\testdata\importcom\src\conflict
  174.  
  175. go_test.go:1358: testgo failed as expected: exit status 1
  176. === RUN TestImportCycle
  177. === PAUSE TestImportCycle
  178. === RUN TestIssue10952
  179. --- SKIP: TestIssue10952 (0.00s)
  180. testenv.go:163: skipping test: no external network in -short mode
  181. === RUN TestIssue16471
  182. --- SKIP: TestIssue16471 (0.00s)
  183. testenv.go:163: skipping test: no external network in -short mode
  184. === RUN TestIssue11457
  185. --- SKIP: TestIssue11457 (0.00s)
  186. testenv.go:163: skipping test: no external network in -short mode
  187. === RUN TestGetGitDefaultBranch
  188. --- SKIP: TestGetGitDefaultBranch (0.00s)
  189. testenv.go:163: skipping test: no external network in -short mode
  190. === RUN TestAccidentalGitCheckout
  191. --- SKIP: TestAccidentalGitCheckout (0.00s)
  192. testenv.go:163: skipping test: no external network in -short mode
  193. === RUN TestErrorMessageForSyntaxErrorInTestGoFileSaysFAIL
  194. --- PASS: TestErrorMessageForSyntaxErrorInTestGoFileSaysFAIL (0.13s)
  195. go_test.go:1495: running testgo [test syntaxerror]
  196. go_test.go:1495: standard error:
  197. go_test.go:1495: # syntaxerror
  198. testdata\src\syntaxerror\x_test.go:3:11: expected identifier
  199. FAIL syntaxerror [setup failed]
  200.  
  201. go_test.go:1495: testgo failed as expected: exit status 1
  202. === RUN TestWildcardsDoNotLookInUselessDirectories
  203. --- PASS: TestWildcardsDoNotLookInUselessDirectories (1.06s)
  204. go_test.go:1503: running testgo [list ...]
  205. go_test.go:1503: standard output:
  206. go_test.go:1503: archive/tar
  207. archive/zip
  208. bufio
  209. bytes
  210. cmd/addr2line
  211. cmd/api
  212. cmd/asm
  213. cmd/asm/internal/arch
  214. cmd/asm/internal/asm
  215. cmd/asm/internal/flags
  216. cmd/asm/internal/lex
  217. cmd/buildid
  218. cmd/cgo
  219. cmd/compile
  220. cmd/compile/internal/amd64
  221. cmd/compile/internal/arm
  222. cmd/compile/internal/arm64
  223. cmd/compile/internal/gc
  224. cmd/compile/internal/mips
  225. cmd/compile/internal/mips64
  226. cmd/compile/internal/ppc64
  227. cmd/compile/internal/s390x
  228. cmd/compile/internal/ssa
  229. cmd/compile/internal/syntax
  230. cmd/compile/internal/test
  231. cmd/compile/internal/types
  232. cmd/compile/internal/wasm
  233. cmd/compile/internal/x86
  234. cmd/cover
  235. cmd/dist
  236. cmd/doc
  237. cmd/fix
  238. cmd/go
  239. cmd/go/internal/base
  240. cmd/go/internal/bug
  241. cmd/go/internal/cache
  242. cmd/go/internal/cfg
  243. cmd/go/internal/clean
  244. cmd/go/internal/cmdflag
  245. cmd/go/internal/doc
  246. cmd/go/internal/envcmd
  247. cmd/go/internal/fix
  248. cmd/go/internal/fmtcmd
  249. cmd/go/internal/generate
  250. cmd/go/internal/get
  251. cmd/go/internal/help
  252. cmd/go/internal/list
  253. cmd/go/internal/load
  254. cmd/go/internal/run
  255. cmd/go/internal/str
  256. cmd/go/internal/test
  257. cmd/go/internal/tool
  258. cmd/go/internal/version
  259. cmd/go/internal/vet
  260. cmd/go/internal/web
  261. cmd/go/internal/work
  262. cmd/gofmt
  263. cmd/internal/bio
  264. cmd/internal/browser
  265. cmd/internal/buildid
  266. cmd/internal/dwarf
  267. cmd/internal/edit
  268. cmd/internal/gcprog
  269. cmd/internal/goobj
  270. cmd/internal/obj
  271. cmd/internal/obj/arm
  272. cmd/internal/obj/arm64
  273. cmd/internal/obj/mips
  274. cmd/internal/obj/ppc64
  275. cmd/internal/obj/s390x
  276. cmd/internal/obj/wasm
  277. cmd/internal/obj/x86
  278. cmd/internal/objabi
  279. cmd/internal/objfile
  280. cmd/internal/src
  281. cmd/internal/sys
  282. cmd/internal/test2json
  283. cmd/link
  284. cmd/link/internal/amd64
  285. cmd/link/internal/arm
  286. cmd/link/internal/arm64
  287. cmd/link/internal/ld
  288. cmd/link/internal/loadelf
  289. cmd/link/internal/loadmacho
  290. cmd/link/internal/loadpe
  291. cmd/link/internal/mips
  292. cmd/link/internal/mips64
  293. cmd/link/internal/objfile
  294. cmd/link/internal/ppc64
  295. cmd/link/internal/s390x
  296. cmd/link/internal/sym
  297. cmd/link/internal/wasm
  298. cmd/link/internal/x86
  299. cmd/nm
  300. cmd/objdump
  301. cmd/pack
  302. cmd/pprof
  303. cmd/test2json
  304. cmd/trace
  305. cmd/vet
  306. cmd/vet/internal/cfg
  307. cmd/vet/internal/whitelist
  308. compress/bzip2
  309. compress/flate
  310. compress/gzip
  311. compress/lzw
  312. compress/zlib
  313. container/heap
  314. container/list
  315. container/ring
  316. context
  317. crypto
  318. crypto/aes
  319. crypto/cipher
  320. crypto/des
  321. crypto/dsa
  322. crypto/ecdsa
  323. crypto/elliptic
  324. crypto/hmac
  325. crypto/internal/cipherhw
  326. crypto/md5
  327. crypto/rand
  328. crypto/rc4
  329. crypto/rsa
  330. crypto/sha1
  331. crypto/sha256
  332. crypto/sha512
  333. crypto/subtle
  334. crypto/tls
  335. crypto/x509
  336. crypto/x509/pkix
  337. database/sql
  338. database/sql/driver
  339. debug/dwarf
  340. debug/elf
  341. debug/gosym
  342. debug/macho
  343. debug/pe
  344. debug/plan9obj
  345. encoding
  346. encoding/ascii85
  347. encoding/asn1
  348. encoding/base32
  349. encoding/base64
  350. encoding/binary
  351. encoding/csv
  352. encoding/gob
  353. encoding/hex
  354. encoding/json
  355. encoding/pem
  356. encoding/xml
  357. errors
  358. expvar
  359. flag
  360. fmt
  361. go/ast
  362. go/build
  363. go/constant
  364. go/doc
  365. go/format
  366. go/importer
  367. go/internal/gccgoimporter
  368. go/internal/gcimporter
  369. go/internal/srcimporter
  370. go/parser
  371. go/printer
  372. go/scanner
  373. go/token
  374. go/types
  375. hash
  376. hash/adler32
  377. hash/crc32
  378. hash/crc64
  379. hash/fnv
  380. html
  381. html/template
  382. image
  383. image/color
  384. image/color/palette
  385. image/draw
  386. image/gif
  387. image/internal/imageutil
  388. image/jpeg
  389. image/png
  390. index/suffixarray
  391. internal/bytealg
  392. internal/cpu
  393. internal/nettrace
  394. internal/poll
  395. internal/race
  396. internal/singleflight
  397. internal/syscall/windows
  398. internal/syscall/windows/registry
  399. internal/syscall/windows/sysdll
  400. internal/testenv
  401. internal/testlog
  402. internal/trace
  403. io
  404. io/ioutil
  405. log
  406. log/syslog
  407. math
  408. math/big
  409. math/bits
  410. math/cmplx
  411. math/rand
  412. mime
  413. mime/multipart
  414. mime/quotedprintable
  415. net
  416. net/http
  417. net/http/cgi
  418. net/http/cookiejar
  419. net/http/fcgi
  420. net/http/httptest
  421. net/http/httptrace
  422. net/http/httputil
  423. net/http/internal
  424. net/http/pprof
  425. net/internal/socktest
  426. net/mail
  427. net/rpc
  428. net/rpc/jsonrpc
  429. net/smtp
  430. net/textproto
  431. net/url
  432. os
  433. os/exec
  434. os/signal
  435. os/user
  436. path
  437. path/filepath
  438. plugin
  439. reflect
  440. regexp
  441. regexp/syntax
  442. runtime
  443. runtime/cgo
  444. runtime/debug
  445. runtime/internal/atomic
  446. runtime/internal/sys
  447. runtime/pprof
  448. runtime/pprof/internal/profile
  449. runtime/race
  450. runtime/trace
  451. sort
  452. strconv
  453. strings
  454. sync
  455. sync/atomic
  456. syscall
  457. testing
  458. testing/internal/testdeps
  459. testing/iotest
  460. testing/quick
  461. text/scanner
  462. text/tabwriter
  463. text/template
  464. text/template/parse
  465. time
  466. unicode
  467. unicode/utf16
  468. unicode/utf8
  469. unsafe
  470. badtest/badexec
  471. badtest/badsyntax
  472. badtest/badvar
  473. bench
  474. benchfatal
  475. canonical/a
  476. canonical/b
  477. canonical/d
  478. cgoasm
  479. cgocover
  480. cgocover2
  481. cgocover3
  482. cgocover4
  483. cgotest
  484. complex
  485. complex/nest/sub/test12
  486. complex/nest/sub/test23
  487. complex/w
  488. coverasm
  489. coverbad
  490. coverdep
  491. coverdep/p1
  492. coverdep2/p1
  493. coverdep2/p2
  494. coverdot1
  495. coverdot2
  496. dupload
  497. dupload/p
  498. dupload/p2
  499. empty/pkg
  500. empty/pkgtest
  501. empty/pkgtestxtest
  502. empty/pkgxtest
  503. empty/test
  504. empty/testxtest
  505. empty/xtest
  506. go-cmd-test
  507. importmain/ismain
  508. importmain/test
  509. main_test
  510. multimain
  511. my.pkg
  512. my.pkg/main
  513. not_main
  514. notest
  515. run
  516. run/internal
  517. run/subdir/internal/private
  518. skipper
  519. sleepy1
  520. sleepy2
  521. sleepybad
  522. syntaxerror
  523. testcache
  524. testcycle/p1
  525. testcycle/p2
  526. testcycle/p3
  527. testcycle/q1
  528. testdep/p1
  529. testdep/p2
  530. testlist
  531. testrace
  532. testregexp
  533. vend
  534. vend/dir1
  535. vend/hello
  536. vend/subdir
  537. vend/x
  538. vend/x/invalid
  539. vetcycle
  540. vetfail/p1
  541. vetfail/p2
  542. vetpkg
  543. xtestonly
  544.  
  545. go_test.go:1503: standard error:
  546. go_test.go:1503: can't load package: package badc: C source files not allowed when not using cgo or SWIG: x.c
  547. can't load package: package badpkg:
  548. testdata\src\badpkg\x.go:1:1: expected 'package', found pkg
  549. can't load package: import cycle not allowed
  550. package gencycle
  551. imports gencycle
  552.  
  553. go_test.go:1503: testgo failed as expected: exit status 1
  554. go_test.go:1505: running testgo [list m...]
  555. go_test.go:1505: standard output:
  556. go_test.go:1505: math
  557. math/big
  558. math/bits
  559. math/cmplx
  560. math/rand
  561. mime
  562. mime/multipart
  563. mime/quotedprintable
  564. main_test
  565. multimain
  566. my.pkg
  567. my.pkg/main
  568.  
  569. === RUN TestRelativeImportsGoTest
  570. --- PASS: TestRelativeImportsGoTest (0.53s)
  571. go_test.go:1511: running testgo [test ./testdata/testimport]
  572. go_test.go:1511: standard output:
  573. go_test.go:1511: ok _/c_/dev/go/src/cmd/go/testdata/testimport 0.022s
  574.  
  575. === RUN TestRelativeImportsGoTestDashI
  576. --- PASS: TestRelativeImportsGoTestDashI (0.30s)
  577. go_test.go:1519: running testgo [list -f {{.Stale}}:{{.StaleReason}} runtime]
  578. go_test.go:1519: standard output:
  579. go_test.go:1519: false:
  580.  
  581. go_test.go:1521: running testgo [test -i ./testdata/testimport]
  582. === RUN TestRelativeImportsInCommandLinePackage
  583. --- PASS: TestRelativeImportsInCommandLinePackage (0.50s)
  584. go_test.go:1530: running testgo [test testdata\testimport\p.go testdata\testimport\p_test.go testdata\testimport\x_test.go]
  585. go_test.go:1530: standard output:
  586. go_test.go:1530: ok command-line-arguments 0.024s
  587.  
  588. === RUN TestNonCanonicalImportPaths
  589. === PAUSE TestNonCanonicalImportPaths
  590. === RUN TestVersionControlErrorMessageIncludesCorrectDirectory
  591. --- PASS: TestVersionControlErrorMessageIncludesCorrectDirectory (0.04s)
  592. go_test.go:1548: running testgo [get -u foo]
  593. go_test.go:1548: standard error:
  594. go_test.go:1548: package foo: directory "c:\\dev\\go\\src\\cmd\\go\\testdata\\shadow\\root1\\src\\foo" is not using a known version control system
  595.  
  596. go_test.go:1548: testgo failed as expected: exit status 1
  597. === RUN TestInstallFailsWithNoBuildableFiles
  598. --- PASS: TestInstallFailsWithNoBuildableFiles (0.04s)
  599. go_test.go:1563: running testgo [install cgotest]
  600. go_test.go:1563: standard error:
  601. go_test.go:1563: can't load package: package cgotest: build constraints exclude all Go files in c:\dev\go\src\cmd\go\testdata\src\cgotest
  602.  
  603. go_test.go:1563: testgo failed as expected: exit status 1
  604. === RUN TestMSanAndRaceRequireCgo
  605. --- PASS: TestMSanAndRaceRequireCgo (0.04s)
  606. go_test.go:1578: running testgo [install -race triv.go]
  607. go_test.go:1578: standard error:
  608. go_test.go:1578: go install: -race requires cgo; enable cgo by setting CGO_ENABLED=1
  609.  
  610. go_test.go:1578: testgo failed as expected: exit status 2
  611. === RUN TestRelativeGOBINFail
  612. --- PASS: TestRelativeGOBINFail (0.04s)
  613. go_test.go:1594: running testgo [install]
  614. go_test.go:1594: standard error:
  615. go_test.go:1594: cannot install, GOBIN must be an absolute path
  616.  
  617. go_test.go:1594: testgo failed as expected: exit status 1
  618. === RUN TestInstallIntoGOPATH
  619. --- PASS: TestInstallIntoGOPATH (0.23s)
  620. go_test.go:1605: running testgo [install go-cmd-test]
  621. === RUN TestBuildOutputToDevNull
  622. --- PASS: TestBuildOutputToDevNull (0.22s)
  623. go_test.go:1614: running testgo [build -o NUL go-cmd-test]
  624. === RUN TestPackageMainTestImportsArchiveNotBinary
  625. --- SKIP: TestPackageMainTestImportsArchiveNotBinary (0.00s)
  626. go_test.go:45: skipping test in -short mode
  627. === RUN TestPackageMainTestCompilerFlags
  628. === PAUSE TestPackageMainTestCompilerFlags
  629. === RUN TestPackageNotStaleWithTrailingSlash
  630. --- PASS: TestPackageNotStaleWithTrailingSlash (0.73s)
  631. go_test.go:1659: running testgo [list -f {{.Stale}}:{{.StaleReason}} runtime]
  632. go_test.go:1659: standard output:
  633. go_test.go:1659: false:
  634.  
  635. go_test.go:1660: running testgo [list -f {{.Stale}}:{{.StaleReason}} os]
  636. go_test.go:1660: standard output:
  637. go_test.go:1660: false:
  638.  
  639. go_test.go:1661: running testgo [list -f {{.Stale}}:{{.StaleReason}} io]
  640. go_test.go:1661: standard output:
  641. go_test.go:1661: false:
  642.  
  643. go_test.go:1666: running testgo [list -f {{.Stale}}:{{.StaleReason}} runtime]
  644. go_test.go:1666: standard output:
  645. go_test.go:1666: false:
  646.  
  647. go_test.go:1667: running testgo [list -f {{.Stale}}:{{.StaleReason}} os]
  648. go_test.go:1667: standard output:
  649. go_test.go:1667: false:
  650.  
  651. go_test.go:1668: running testgo [list -f {{.Stale}}:{{.StaleReason}} io]
  652. go_test.go:1668: standard output:
  653. go_test.go:1668: false:
  654.  
  655. === RUN TestInstallIntoGOBIN
  656. --- PASS: TestInstallIntoGOBIN (0.22s)
  657. go_test.go:1679: running testgo [install go-cmd-test]
  658. === RUN TestInstallToCurrentDirectoryCreatesExecutable
  659. --- PASS: TestInstallToCurrentDirectoryCreatesExecutable (0.22s)
  660. go_test.go:1692: running testgo [install]
  661. === RUN TestInstallWithoutDestinationFails
  662. --- PASS: TestInstallWithoutDestinationFails (0.06s)
  663. go_test.go:1701: running testgo [install testdata/src/go-cmd-test/helloworld.go]
  664. go_test.go:1701: standard error:
  665. go_test.go:1701: go install: no install location for .go files listed on command line (GOBIN not set)
  666.  
  667. go_test.go:1701: testgo failed as expected: exit status 1
  668. === RUN TestInstallToGOBINCommandLinePackage
  669. --- PASS: TestInstallToGOBINCommandLinePackage (0.22s)
  670. go_test.go:1712: running testgo [install testdata/src/go-cmd-test/helloworld.go]
  671. === RUN TestGoGetNonPkg
  672. --- SKIP: TestGoGetNonPkg (0.00s)
  673. testenv.go:163: skipping test: no external network in -short mode
  674. === RUN TestGoGetTestOnlyPkg
  675. --- SKIP: TestGoGetTestOnlyPkg (0.00s)
  676. testenv.go:163: skipping test: no external network in -short mode
  677. === RUN TestInstalls
  678. --- SKIP: TestInstalls (0.00s)
  679. go_test.go:1745: don't install into GOROOT in short mode
  680. === RUN TestRejectRelativeDotPathInGOPATHCommandLinePackage
  681. --- PASS: TestRejectRelativeDotPathInGOPATHCommandLinePackage (0.03s)
  682. go_test.go:1789: running testgo [build testdata/src/go-cmd-test/helloworld.go]
  683. go_test.go:1789: standard error:
  684. go_test.go:1789: go: GOPATH entry is relative; must be absolute path: ".".
  685. For more details see: 'go help gopath'
  686.  
  687. go_test.go:1789: testgo failed as expected: exit status 2
  688. === RUN TestRejectRelativePathsInGOPATH
  689. --- PASS: TestRejectRelativePathsInGOPATH (0.03s)
  690. go_test.go:1798: running testgo [build go-cmd-test]
  691. go_test.go:1798: standard error:
  692. go_test.go:1798: go: GOPATH entry is relative; must be absolute path: ".".
  693. For more details see: 'go help gopath'
  694.  
  695. go_test.go:1798: testgo failed as expected: exit status 2
  696. === RUN TestRejectRelativePathsInGOPATHCommandLinePackage
  697. --- PASS: TestRejectRelativePathsInGOPATHCommandLinePackage (0.03s)
  698. go_test.go:1806: running testgo [build testdata/src/go-cmd-test/helloworld.go]
  699. go_test.go:1806: standard error:
  700. go_test.go:1806: go: GOPATH entry is relative; must be absolute path: "testdata".
  701. For more details see: 'go help gopath'
  702.  
  703. go_test.go:1806: testgo failed as expected: exit status 2
  704. === RUN TestRejectBlankPathsInGOPATH
  705. --- PASS: TestRejectBlankPathsInGOPATH (0.04s)
  706. go_test.go:1816: running testgo [build go-cmd-test]
  707. go_test.go:1816: standard error:
  708. go_test.go:1816: go: GOPATH entry is relative; must be absolute path: " ".
  709. For more details see: 'go help gopath'
  710.  
  711. go_test.go:1816: testgo failed as expected: exit status 2
  712. === RUN TestIgnoreEmptyPathsInGOPATH
  713. --- PASS: TestIgnoreEmptyPathsInGOPATH (0.23s)
  714. go_test.go:1827: running testgo [install go-cmd-test]
  715. === RUN TestGoTestWithPackageListedMultipleTimes
  716. --- SKIP: TestGoTestWithPackageListedMultipleTimes (0.00s)
  717. go_test.go:45: skipping test in -short mode
  718. === RUN TestGoListHasAConsistentOrder
  719. --- SKIP: TestGoListHasAConsistentOrder (0.00s)
  720. go_test.go:45: skipping test in -short mode
  721. === RUN TestGoListStdDoesNotIncludeCommands
  722. --- SKIP: TestGoListStdDoesNotIncludeCommands (0.00s)
  723. go_test.go:45: skipping test in -short mode
  724. === RUN TestGoListCmdOnlyShowsCommands
  725. --- SKIP: TestGoListCmdOnlyShowsCommands (0.00s)
  726. go_test.go:45: skipping test in -short mode
  727. === RUN TestGoListDedupsPackages
  728. --- PASS: TestGoListDedupsPackages (0.04s)
  729. go_test.go:1885: running testgo [list xtestonly ./testdata/src/xtestonly/...]
  730. go_test.go:1885: standard output:
  731. go_test.go:1885: xtestonly
  732.  
  733. === RUN TestGoListDeps
  734. === PAUSE TestGoListDeps
  735. === RUN TestGoListTest
  736. === PAUSE TestGoListTest
  737. === RUN TestUnsuccessfulGoInstallShouldMentionMissingPackage
  738. === PAUSE TestUnsuccessfulGoInstallShouldMentionMissingPackage
  739. === RUN TestGOROOTSearchFailureReporting
  740. === PAUSE TestGOROOTSearchFailureReporting
  741. === RUN TestMultipleGOPATHEntriesReportedSeparately
  742. === PAUSE TestMultipleGOPATHEntriesReportedSeparately
  743. === RUN TestMentionGOPATHInFirstGOPATHEntry
  744. === PAUSE TestMentionGOPATHInFirstGOPATHEntry
  745. === RUN TestMentionGOPATHNotOnSecondEntry
  746. === PAUSE TestMentionGOPATHNotOnSecondEntry
  747. === RUN TestDefaultGOPATH
  748. === PAUSE TestDefaultGOPATH
  749. === RUN TestDefaultGOPATHGet
  750. --- SKIP: TestDefaultGOPATHGet (0.00s)
  751. testenv.go:163: skipping test: no external network in -short mode
  752. === RUN TestDefaultGOPATHPrintedSearchList
  753. --- PASS: TestDefaultGOPATHPrintedSearchList (0.03s)
  754. go_test.go:2076: running testgo [install github.com/golang/example/hello]
  755. go_test.go:2076: standard error:
  756. go_test.go:2076: can't load package: package github.com/golang/example/hello: cannot find package "github.com/golang/example/hello" in any of:
  757. c:\dev\go\src\github.com\golang\example\hello (from $GOROOT)
  758. C:\Windows\TEMP\gotest941889553\home\go\src\github.com\golang\example\hello (from $GOPATH)
  759.  
  760. go_test.go:2076: testgo failed as expected: exit status 1
  761. === RUN TestGoGetIntoGOROOT
  762. --- SKIP: TestGoGetIntoGOROOT (0.00s)
  763. testenv.go:163: skipping test: no external network in -short mode
  764. === RUN TestLdflagsArgumentsWithSpacesIssue3941
  765. --- SKIP: TestLdflagsArgumentsWithSpacesIssue3941 (0.00s)
  766. go_test.go:45: skipping test in -short mode
  767. === RUN TestGoTestCpuprofileLeavesBinaryBehind
  768. --- SKIP: TestGoTestCpuprofileLeavesBinaryBehind (0.00s)
  769. go_test.go:45: skipping test in -short mode
  770. === RUN TestGoTestCpuprofileDashOControlsBinaryLocation
  771. --- SKIP: TestGoTestCpuprofileDashOControlsBinaryLocation (0.00s)
  772. go_test.go:45: skipping test in -short mode
  773. === RUN TestGoTestMutexprofileLeavesBinaryBehind
  774. --- SKIP: TestGoTestMutexprofileLeavesBinaryBehind (0.00s)
  775. go_test.go:45: skipping test in -short mode
  776. === RUN TestGoTestMutexprofileDashOControlsBinaryLocation
  777. --- SKIP: TestGoTestMutexprofileDashOControlsBinaryLocation (0.00s)
  778. go_test.go:45: skipping test in -short mode
  779. === RUN TestGoBuildNonMain
  780. --- PASS: TestGoBuildNonMain (0.04s)
  781. go_test.go:2194: running testgo [build -buildmode=exe -o not_main.exe not_main]
  782. go_test.go:2194: standard error:
  783. go_test.go:2194: -buildmode=exe requires exactly one main package
  784.  
  785. go_test.go:2194: testgo failed as expected: exit status 1
  786. === RUN TestGoTestDashCDashOControlsBinaryLocation
  787. --- SKIP: TestGoTestDashCDashOControlsBinaryLocation (0.00s)
  788. go_test.go:45: skipping test in -short mode
  789. === RUN TestGoTestDashOWritesBinary
  790. --- SKIP: TestGoTestDashOWritesBinary (0.00s)
  791. go_test.go:45: skipping test in -short mode
  792. === RUN TestGoTestDashIDashOWritesBinary
  793. --- SKIP: TestGoTestDashIDashOWritesBinary (0.00s)
  794. go_test.go:45: skipping test in -short mode
  795. === RUN TestSymlinksList
  796. --- PASS: TestSymlinksList (0.04s)
  797. go_test.go:2246: running testgo [list -f {{.Root}} dir1]
  798. go_test.go:2246: standard output:
  799. go_test.go:2246: C:\Windows\TEMP\gotest846598763
  800.  
  801. === RUN TestSymlinksVendor
  802. --- PASS: TestSymlinksVendor (0.78s)
  803. go_test.go:2265: running testgo [list -f {{.Root}} .]
  804. go_test.go:2265: standard output:
  805. go_test.go:2265: C:\Windows\TEMP\gotest294635214\gopath
  806.  
  807. go_test.go:2271: running testgo [run p.go]
  808. go_test.go:2272: running testgo [build]
  809. go_test.go:2273: running testgo [install]
  810. === RUN TestSymlinksVendor15201
  811. --- PASS: TestSymlinksVendor15201 (0.05s)
  812. go_test.go:2291: running testgo [list ./...]
  813. go_test.go:2291: standard output:
  814. go_test.go:2291: _/C_/Windows/TEMP/gotest557826517/gopath/src/x/y/w
  815. _/C_/Windows/TEMP/gotest557826517/gopath/src/x/y/z
  816.  
  817. === RUN TestSymlinksInternal
  818. --- PASS: TestSymlinksInternal (0.79s)
  819. go_test.go:2305: running testgo [list -f {{.Root}} .]
  820. go_test.go:2305: standard output:
  821. go_test.go:2305: C:\Windows\TEMP\gotest310827824\gopath
  822.  
  823. go_test.go:2311: running testgo [run p.go]
  824. go_test.go:2312: running testgo [build]
  825. go_test.go:2313: running testgo [install]
  826. === RUN TestInstallWithTags
  827. --- SKIP: TestInstallWithTags (0.00s)
  828. go_test.go:45: skipping test in -short mode
  829. === RUN TestCaseCollisions
  830. === PAUSE TestCaseCollisions
  831. === RUN TestSymlinkWarning
  832. === PAUSE TestSymlinkWarning
  833. === RUN TestGoGetDashTIssue8181
  834. --- SKIP: TestGoGetDashTIssue8181 (0.00s)
  835. testenv.go:163: skipping test: no external network in -short mode
  836. === RUN TestIssue11307
  837. --- SKIP: TestIssue11307 (0.00s)
  838. testenv.go:163: skipping test: no external network in -short mode
  839. === RUN TestShadowingLogic
  840. --- PASS: TestShadowingLogic (0.15s)
  841. go_test.go:2450: running testgo [list -f ({{.ImportPath}}) ({{.ConflictDir}}) ./testdata/shadow/root1/src/math]
  842. go_test.go:2450: standard output:
  843. go_test.go:2450: (_/c_/dev/go/src/cmd/go/testdata/shadow/root1/src/math) (c:\dev\go\src\math)
  844.  
  845. go_test.go:2466: running testgo [list -f ({{.ImportPath}}) ({{.ConflictDir}}) ./testdata/shadow/root1/src/foo]
  846. go_test.go:2466: standard output:
  847. go_test.go:2466: (foo) ()
  848.  
  849. go_test.go:2472: running testgo [list -f ({{.ImportPath}}) ({{.ConflictDir}}) ./testdata/shadow/root2/src/foo]
  850. go_test.go:2472: standard output:
  851. go_test.go:2472: (_/c_/dev/go/src/cmd/go/testdata/shadow/root2/src/foo) (c:\dev\go\src\cmd\go\testdata\shadow\root1\src\foo)
  852.  
  853. go_test.go:2479: running testgo [install ./testdata/shadow/root2/src/foo]
  854. go_test.go:2479: standard error:
  855. go_test.go:2479: go install: no install location for c:\dev\go\src\cmd\go\testdata\shadow\root2\src\foo: hidden by c:\dev\go\src\cmd\go\testdata\shadow\root1\src\foo
  856.  
  857. go_test.go:2479: testgo failed as expected: exit status 1
  858. === RUN TestSourceFileNameOrderPreserved
  859. --- PASS: TestSourceFileNameOrderPreserved (0.51s)
  860. go_test.go:2490: running testgo [test testdata/example1_test.go testdata/example2_test.go]
  861. go_test.go:2490: standard output:
  862. go_test.go:2490: ok command-line-arguments 0.025s
  863.  
  864. === RUN TestCoverageRuns
  865. --- SKIP: TestCoverageRuns (0.00s)
  866. go_test.go:45: skipping test in -short mode
  867. === RUN TestCoverageDotImport
  868. === PAUSE TestCoverageDotImport
  869. === RUN TestCoverageUsesSetMode
  870. --- SKIP: TestCoverageUsesSetMode (0.00s)
  871. go_test.go:45: skipping test in -short mode
  872. === RUN TestCoverageUsesAtomicModeForRace
  873. --- SKIP: TestCoverageUsesAtomicModeForRace (0.00s)
  874. go_test.go:45: skipping test in -short mode
  875. === RUN TestCoverageSyncAtomicImport
  876. --- SKIP: TestCoverageSyncAtomicImport (0.00s)
  877. go_test.go:45: skipping test in -short mode
  878. === RUN TestCoverageDepLoop
  879. --- SKIP: TestCoverageDepLoop (0.00s)
  880. go_test.go:45: skipping test in -short mode
  881. === RUN TestCoverageImportMainLoop
  882. --- PASS: TestCoverageImportMainLoop (0.12s)
  883. go_test.go:2597: running testgo [test importmain/test]
  884. go_test.go:2597: standard error:
  885. go_test.go:2597: # importmain/test
  886. testdata\src\importmain\test\test_test.go:4:8: import "importmain/ismain" is a program, not an importable package
  887. FAIL importmain/test [setup failed]
  888.  
  889. go_test.go:2597: testgo failed as expected: exit status 1
  890. go_test.go:2599: running testgo [test -cover importmain/test]
  891. go_test.go:2599: standard error:
  892. go_test.go:2599: # importmain/test
  893. testdata\src\importmain\test\test_test.go:4:8: import "importmain/ismain" is a program, not an importable package
  894. FAIL importmain/test [setup failed]
  895.  
  896. go_test.go:2599: testgo failed as expected: exit status 1
  897. === RUN TestCoveragePattern
  898. --- SKIP: TestCoveragePattern (0.00s)
  899. go_test.go:45: skipping test in -short mode
  900. === RUN TestCoverageErrorLine
  901. --- SKIP: TestCoverageErrorLine (0.00s)
  902. go_test.go:45: skipping test in -short mode
  903. === RUN TestTestBuildFailureOutput
  904. --- SKIP: TestTestBuildFailureOutput (0.00s)
  905. go_test.go:45: skipping test in -short mode
  906. === RUN TestCoverageFunc
  907. --- SKIP: TestCoverageFunc (0.00s)
  908. go_test.go:45: skipping test in -short mode
  909. === RUN TestCoverageDashC
  910. === PAUSE TestCoverageDashC
  911. === RUN TestPluginNonMain
  912. --- PASS: TestPluginNonMain (0.04s)
  913. go_test.go:2697: running testgo [build -buildmode=plugin c:\dev\go\src\cmd\go\testdata\testdep\p2]
  914. go_test.go:2697: standard error:
  915. go_test.go:2697: -buildmode=plugin not supported on windows/amd64
  916.  
  917. go_test.go:2697: testgo failed as expected: exit status 1
  918. === RUN TestTestEmpty
  919. === RUN TestTestEmpty/pkg
  920. --- PASS: TestTestEmpty (3.90s)
  921. --- PASS: TestTestEmpty/pkg (3.90s)
  922. go_test.go:2713: running testgo [test -cover -coverpkg=. -race]
  923. go_test.go:2713: standard output:
  924. go_test.go:2713: ? empty/pkg [no test files]
  925.  
  926. === RUN TestNoGoError
  927. === RUN TestNoGoError/empty/test
  928. === RUN TestNoGoError/empty/xtest
  929. === RUN TestNoGoError/empty/testxtest
  930. === RUN TestNoGoError/exclude
  931. === RUN TestNoGoError/exclude/ignore
  932. === RUN TestNoGoError/exclude/empty
  933. --- PASS: TestNoGoError (0.25s)
  934. --- PASS: TestNoGoError/empty/test (0.05s)
  935. go_test.go:2730: running testgo [build ./empty/test]
  936. go_test.go:2730: standard error:
  937. go_test.go:2730: go build empty/test: no non-test Go files in c:\dev\go\src\cmd\go\testdata\src\empty\test
  938.  
  939. go_test.go:2730: testgo failed as expected: exit status 1
  940. --- PASS: TestNoGoError/empty/xtest (0.05s)
  941. go_test.go:2730: running testgo [build ./empty/xtest]
  942. go_test.go:2730: standard error:
  943. go_test.go:2730: go build empty/xtest: no non-test Go files in c:\dev\go\src\cmd\go\testdata\src\empty\xtest
  944.  
  945. go_test.go:2730: testgo failed as expected: exit status 1
  946. --- PASS: TestNoGoError/empty/testxtest (0.05s)
  947. go_test.go:2730: running testgo [build ./empty/testxtest]
  948. go_test.go:2730: standard error:
  949. go_test.go:2730: go build empty/testxtest: no non-test Go files in c:\dev\go\src\cmd\go\testdata\src\empty\testxtest
  950.  
  951. go_test.go:2730: testgo failed as expected: exit status 1
  952. --- PASS: TestNoGoError/exclude (0.04s)
  953. go_test.go:2730: running testgo [build ./exclude]
  954. go_test.go:2730: standard error:
  955. go_test.go:2730: can't load package: package exclude: build constraints exclude all Go files in c:\dev\go\src\cmd\go\testdata\src\exclude
  956.  
  957. go_test.go:2730: testgo failed as expected: exit status 1
  958. --- PASS: TestNoGoError/exclude/ignore (0.03s)
  959. go_test.go:2730: running testgo [build ./exclude/ignore]
  960. go_test.go:2730: standard error:
  961. go_test.go:2730: can't load package: package exclude/ignore: no Go files in c:\dev\go\src\cmd\go\testdata\src\exclude\ignore
  962.  
  963. go_test.go:2730: testgo failed as expected: exit status 1
  964. --- PASS: TestNoGoError/exclude/empty (0.03s)
  965. go_test.go:2730: running testgo [build ./exclude/empty]
  966. go_test.go:2730: standard error:
  967. go_test.go:2730: can't load package: package exclude/empty: no Go files in c:\dev\go\src\cmd\go\testdata\src\exclude\empty
  968.  
  969. go_test.go:2730: testgo failed as expected: exit status 1
  970. === RUN TestTestRaceInstall
  971. --- SKIP: TestTestRaceInstall (0.00s)
  972. go_test.go:45: skipping test in -short mode
  973. === RUN TestBuildDryRunWithCgo
  974. --- PASS: TestBuildDryRunWithCgo (0.14s)
  975. go_test.go:2780: running testgo [build -n C:\Windows\TEMP\gotest721270991\foo.go]
  976. go_test.go:2780: standard error:
  977. go_test.go:2780:
  978. #
  979. # command-line-arguments
  980. #
  981.  
  982. mkdir -p $WORK\b001\
  983. cd C:\Windows\TEMP\gotest721270991
  984. CGO_LDFLAGS='"-g" "-O2"' "c:\\dev\\go\\pkg\\tool\\windows_amd64\\cgo.exe" -objdir "$WORK\\b001\\" -importpath command-line-arguments -- -I "$WORK\\b001\\" -g -O2 "C:\\Windows\\TEMP\\gotest721270991\\foo.go"
  985. cd $WORK
  986. gcc -fno-caret-diagnostics -c -x c - || true
  987. gcc -Qunused-arguments -c -x c - || true
  988. gcc -fdebug-prefix-map=a=b -c -x c - || true
  989. gcc -gno-record-gcc-switches -c -x c - || true
  990. cd $WORK\b001
  991. gcc -I "C:\\Windows\\TEMP\\gotest721270991" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b001\\" -g -O2 -o "C:\\Windows\\TEMP\\gotest721270991\\$WORK\\b001\\_x001.o" -c _cgo_export.c
  992. cd $WORK
  993. gcc -fno-caret-diagnostics -c -x c - || true
  994. gcc -Qunused-arguments -c -x c - || true
  995. gcc -fdebug-prefix-map=a=b -c -x c - || true
  996. gcc -gno-record-gcc-switches -c -x c - || true
  997. cd $WORK\b001
  998. gcc -I "C:\\Windows\\TEMP\\gotest721270991" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b001\\" -g -O2 -o "C:\\Windows\\TEMP\\gotest721270991\\$WORK\\b001\\_x002.o" -c foo.cgo2.c
  999. cd $WORK
  1000. gcc -fno-caret-diagnostics -c -x c - || true
  1001. gcc -Qunused-arguments -c -x c - || true
  1002. gcc -fdebug-prefix-map=a=b -c -x c - || true
  1003. gcc -gno-record-gcc-switches -c -x c - || true
  1004. cd $WORK\b001
  1005. gcc -I "C:\\Windows\\TEMP\\gotest721270991" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b001\\" -g -O2 -o "C:\\Windows\\TEMP\\gotest721270991\\$WORK\\b001\\_cgo_main.o" -c _cgo_main.c
  1006. cd $WORK
  1007. gcc -fno-caret-diagnostics -c -x c - || true
  1008. gcc -Qunused-arguments -c -x c - || true
  1009. gcc -fdebug-prefix-map=a=b -c -x c - || true
  1010. gcc -gno-record-gcc-switches -c -x c - || true
  1011. cd C:\Windows\TEMP\gotest721270991
  1012. gcc -I "C:\\Windows\\TEMP\\gotest721270991" -m64 -mthreads -fmessage-length=0 -o "$WORK\\b001\\_cgo_.o" "$WORK\\b001\\_cgo_main.o" "$WORK\\b001\\_x001.o" "$WORK\\b001\\_x002.o" -g -O2
  1013. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\cgo.exe" -dynpackage main -dynimport "$WORK\\b001\\_cgo_.o" -dynout "$WORK\\b001\\_cgo_import.go"
  1014. cat >$WORK\b001\importcfg << 'EOF' # internal
  1015. # import config
  1016. packagefile runtime/cgo=c:\dev\go\pkg\windows_amd64\runtime\cgo.a
  1017. packagefile syscall=c:\dev\go\pkg\windows_amd64\syscall.a
  1018. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  1019. EOF
  1020. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b001\\_pkg_.a" -trimpath "$WORK\\b001" -p main -buildid 8z-Kj8BVU-e81gFheQB-/8z-Kj8BVU-e81gFheQB- -D _/C_/Windows/TEMP/gotest721270991 -importcfg "$WORK\\b001\\importcfg" -pack -c=4 "$WORK\\b001\\_cgo_gotypes.go" "$WORK\\b001\\foo.cgo1.go" "$WORK\\b001\\_cgo_import.go"
  1021. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\pack.exe" r "$WORK\\b001\\_pkg_.a" "$WORK\\b001\\_x001.o" "$WORK\\b001\\_x002.o" # internal
  1022. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\_pkg_.a" # internal
  1023. cat >$WORK\b001\importcfg.link << 'EOF' # internal
  1024. packagefile command-line-arguments=$WORK\b001\_pkg_.a
  1025. packagefile runtime/cgo=c:\dev\go\pkg\windows_amd64\runtime\cgo.a
  1026. packagefile syscall=c:\dev\go\pkg\windows_amd64\syscall.a
  1027. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  1028. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  1029. packagefile internal/race=c:\dev\go\pkg\windows_amd64\internal\race.a
  1030. packagefile internal/syscall/windows/sysdll=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\sysdll.a
  1031. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1032. packagefile sync/atomic=c:\dev\go\pkg\windows_amd64\sync\atomic.a
  1033. packagefile unicode/utf16=c:\dev\go\pkg\windows_amd64\unicode\utf16.a
  1034. packagefile internal/bytealg=c:\dev\go\pkg\windows_amd64\internal\bytealg.a
  1035. packagefile internal/cpu=c:\dev\go\pkg\windows_amd64\internal\cpu.a
  1036. packagefile runtime/internal/atomic=c:\dev\go\pkg\windows_amd64\runtime\internal\atomic.a
  1037. packagefile runtime/internal/sys=c:\dev\go\pkg\windows_amd64\runtime\internal\sys.a
  1038. EOF
  1039. mkdir -p $WORK\b001\exe\
  1040. cd .
  1041. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\link.exe" -o "$WORK\\b001\\exe\\a.out.exe" -importcfg "$WORK\\b001\\importcfg.link" -buildmode=exe -buildid=NrEJIRBt_ofKpS0HNhkh/8z-Kj8BVU-e81gFheQB-/8z-Kj8BVU-e81gFheQB-/NrEJIRBt_ofKpS0HNhkh -extld=gcc "$WORK\\b001\\_pkg_.a"
  1042. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\exe\\a.out.exe" # internal
  1043. mv $WORK\b001\exe\a.out.exe foo.exe
  1044.  
  1045. === RUN TestCoverageWithCgo
  1046. --- SKIP: TestCoverageWithCgo (0.00s)
  1047. go_test.go:45: skipping test in -short mode
  1048. === RUN TestCgoAsmError
  1049. === PAUSE TestCgoAsmError
  1050. === RUN TestCgoDependsOnSyscall
  1051. --- SKIP: TestCgoDependsOnSyscall (0.00s)
  1052. go_test.go:2818: skipping test that removes $GOROOT/pkg/*_race in short mode
  1053. === RUN TestCgoShowsFullPathNames
  1054. === PAUSE TestCgoShowsFullPathNames
  1055. === RUN TestCgoHandlesWlORIGIN
  1056. --- SKIP: TestCgoHandlesWlORIGIN (0.00s)
  1057. go_test.go:45: skipping test in -short mode
  1058. === RUN TestCgoPkgConfig
  1059. --- SKIP: TestCgoPkgConfig (0.00s)
  1060. go_test.go:45: skipping test in -short mode
  1061. === RUN TestIssue6480
  1062. --- SKIP: TestIssue6480 (0.00s)
  1063. go_test.go:45: skipping test in -short mode
  1064. === RUN TestIssue7573
  1065. --- SKIP: TestIssue7573 (0.02s)
  1066. go_test.go:2990: skipping because no gccgo compiler found
  1067. === RUN TestListTemplateContextFunction
  1068. === PAUSE TestListTemplateContextFunction
  1069. === RUN TestIssue7108
  1070. --- PASS: TestIssue7108 (0.21s)
  1071. go_test.go:3048: running testgo [test notest]
  1072. go_test.go:3048: standard error:
  1073. go_test.go:3048: # notest
  1074. testdata\src\notest\hello.go:6:1: syntax error: non-declaration statement outside function body
  1075.  
  1076. go_test.go:3048: testgo failed as expected: exit status 2
  1077. === RUN TestIssue6844
  1078. --- SKIP: TestIssue6844 (0.00s)
  1079. go_test.go:3054: don't rebuild the standard library in short mode
  1080. === RUN TestBuildDashIInstallsDependencies
  1081. --- SKIP: TestBuildDashIInstallsDependencies (0.00s)
  1082. go_test.go:45: skipping test in -short mode
  1083. === RUN TestGoBuildInTestOnlyDirectoryFailsWithAGoodError
  1084. --- PASS: TestGoBuildInTestOnlyDirectoryFailsWithAGoodError (0.06s)
  1085. go_test.go:3101: running testgo [build ./testdata/testonly]
  1086. go_test.go:3101: standard error:
  1087. go_test.go:3101: go build _/c_/dev/go/src/cmd/go/testdata/testonly: no non-test Go files in c:\dev\go\src\cmd\go\testdata\testonly
  1088.  
  1089. go_test.go:3101: testgo failed as expected: exit status 1
  1090. === RUN TestGoTestDetectsTestOnlyImportCycles
  1091. --- PASS: TestGoTestDetectsTestOnlyImportCycles (0.07s)
  1092. go_test.go:3109: running testgo [test -c testcycle/p3]
  1093. go_test.go:3109: standard error:
  1094. go_test.go:3109: # testcycle/p3
  1095. import cycle not allowed in test
  1096. package testcycle/p3 (test)
  1097. imports testcycle/p1
  1098. imports testcycle/p2
  1099. imports testcycle/p3
  1100.  
  1101. FAIL testcycle/p3 [setup failed]
  1102.  
  1103. go_test.go:3109: testgo failed as expected: exit status 1
  1104. go_test.go:3112: running testgo [test -c testcycle/q1]
  1105. go_test.go:3112: standard error:
  1106. go_test.go:3112: # testcycle/q1
  1107. import cycle not allowed in test
  1108. package testcycle/q1 (test)
  1109. imports testcycle/q1
  1110.  
  1111. FAIL testcycle/q1 [setup failed]
  1112.  
  1113. go_test.go:3112: testgo failed as expected: exit status 1
  1114. === RUN TestGoTestFooTestWorks
  1115. --- PASS: TestGoTestFooTestWorks (0.49s)
  1116. go_test.go:3119: running testgo [test testdata/standalone_test.go]
  1117. go_test.go:3119: standard output:
  1118. go_test.go:3119: ok command-line-arguments 0.023s
  1119.  
  1120. === RUN TestGoTestMainWithWrongSignature
  1121. --- PASS: TestGoTestMainWithWrongSignature (0.12s)
  1122. go_test.go:3126: running testgo [test testdata/standalone_main_wrong_test.go]
  1123. go_test.go:3126: standard error:
  1124. go_test.go:3126: # command-line-arguments
  1125. c:\dev\go\src\cmd\go\testdata\standalone_main_wrong_test.go:9:1: wrong signature for TestMain, must be: func TestMain(m *testing.M)
  1126. FAIL command-line-arguments [setup failed]
  1127.  
  1128. go_test.go:3126: testgo failed as expected: exit status 1
  1129. === RUN TestGoTestMainAsNormalTest
  1130. --- PASS: TestGoTestMainAsNormalTest (0.50s)
  1131. go_test.go:3133: running testgo [test testdata/standalone_main_normal_test.go]
  1132. go_test.go:3133: standard output:
  1133. go_test.go:3133: ok command-line-arguments 0.025s
  1134.  
  1135. === RUN TestGoTestMainTwice
  1136. --- PASS: TestGoTestMainTwice (0.61s)
  1137. go_test.go:3143: running testgo [test -v multimain]
  1138. go_test.go:3143: standard output:
  1139. go_test.go:3143: === RUN Test
  1140. --- PASS: Test (0.00s)
  1141. multimain_test.go:15: notwithstanding
  1142. PASS
  1143. === RUN Test
  1144. --- PASS: Test (0.00s)
  1145. multimain_test.go:15: notwithstanding
  1146. PASS
  1147. ok multimain 0.031s
  1148.  
  1149. === RUN TestGoTestFlagsAfterPackage
  1150. --- SKIP: TestGoTestFlagsAfterPackage (0.00s)
  1151. go_test.go:45: skipping test in -short mode
  1152. === RUN TestGoTestXtestonlyWorks
  1153. --- PASS: TestGoTestXtestonlyWorks (0.54s)
  1154. go_test.go:3161: running testgo [clean -i xtestonly]
  1155. go_test.go:3162: running testgo [test xtestonly]
  1156. go_test.go:3162: standard output:
  1157. go_test.go:3162: ok xtestonly 0.025s
  1158.  
  1159. === RUN TestGoTestBuildsAnXtestContainingOnlyNonRunnableExamples
  1160. --- PASS: TestGoTestBuildsAnXtestContainingOnlyNonRunnableExamples (0.51s)
  1161. go_test.go:3168: running testgo [test -v ./testdata/norunexample]
  1162. go_test.go:3168: standard output:
  1163. go_test.go:3168: File with non-runnable example was built.
  1164. === RUN TestBuilt
  1165. A normal test was executed.
  1166. --- PASS: TestBuilt (0.00s)
  1167. PASS
  1168. ok _/c_/dev/go/src/cmd/go/testdata/norunexample 0.024s
  1169.  
  1170. === RUN TestGoGenerateHandlesSimpleCommand
  1171. --- SKIP: TestGoGenerateHandlesSimpleCommand (0.00s)
  1172. go_test.go:3174: skipping because windows has no echo command
  1173. === RUN TestGoGenerateHandlesCommandAlias
  1174. --- SKIP: TestGoGenerateHandlesCommandAlias (0.00s)
  1175. go_test.go:3185: skipping because windows has no echo command
  1176. === RUN TestGoGenerateVariableSubstitution
  1177. --- SKIP: TestGoGenerateVariableSubstitution (0.00s)
  1178. go_test.go:3196: skipping because windows has no echo command
  1179. === RUN TestGoGenerateRunFlag
  1180. --- SKIP: TestGoGenerateRunFlag (0.00s)
  1181. go_test.go:3207: skipping because windows has no echo command
  1182. === RUN TestGoGenerateEnv
  1183. --- SKIP: TestGoGenerateEnv (0.00s)
  1184. go_test.go:3220: skipping because windows does not have the env command
  1185. === RUN TestGoGenerateXTestPkgName
  1186. --- SKIP: TestGoGenerateXTestPkgName (0.00s)
  1187. go_test.go:3234: skipping because windows has no echo command
  1188. === RUN TestGoGenerateBadImports
  1189. --- SKIP: TestGoGenerateBadImports (0.00s)
  1190. go_test.go:3250: skipping because windows has no echo command
  1191. === RUN TestGoGetCustomDomainWildcard
  1192. --- SKIP: TestGoGetCustomDomainWildcard (0.00s)
  1193. testenv.go:163: skipping test: no external network in -short mode
  1194. === RUN TestGoGetInternalWildcard
  1195. --- SKIP: TestGoGetInternalWildcard (0.00s)
  1196. testenv.go:163: skipping test: no external network in -short mode
  1197. === RUN TestGoVetWithExternalTests
  1198. --- PASS: TestGoVetWithExternalTests (0.24s)
  1199. go_test.go:3289: running testgo [vet vetpkg]
  1200. go_test.go:3289: standard error:
  1201. go_test.go:3289: # vetpkg
  1202. testdata\src\vetpkg\b.go:6: Printf format %d reads arg #1, but call has 0 args
  1203.  
  1204. go_test.go:3289: testgo failed as expected: exit status 2
  1205. === RUN TestGoVetWithTags
  1206. --- PASS: TestGoVetWithTags (0.24s)
  1207. go_test.go:3298: running testgo [vet -tags tagtest vetpkg]
  1208. go_test.go:3298: standard error:
  1209. go_test.go:3298: # vetpkg
  1210. testdata\src\vetpkg\b.go:6: Printf format %d reads arg #1, but call has 0 args
  1211. testdata\src\vetpkg\c.go:8: Printf call needs 1 arg but has 2 args
  1212.  
  1213. go_test.go:3298: testgo failed as expected: exit status 2
  1214. === RUN TestGoVetWithFlagsOn
  1215. --- PASS: TestGoVetWithFlagsOn (0.24s)
  1216. go_test.go:3307: running testgo [vet -printf vetpkg]
  1217. go_test.go:3307: standard error:
  1218. go_test.go:3307: # vetpkg
  1219. testdata\src\vetpkg\b.go:6: Printf format %d reads arg #1, but call has 0 args
  1220.  
  1221. go_test.go:3307: testgo failed as expected: exit status 2
  1222. === RUN TestGoVetWithFlagsOff
  1223. --- PASS: TestGoVetWithFlagsOff (0.30s)
  1224. go_test.go:3316: running testgo [vet -printf=false vetpkg]
  1225. === RUN TestGoVetWithOnlyTestFiles
  1226. === PAUSE TestGoVetWithOnlyTestFiles
  1227. === RUN TestVetWithOnlyCgoFiles
  1228. === PAUSE TestVetWithOnlyCgoFiles
  1229. === RUN TestGoGetDotSlashDownload
  1230. --- SKIP: TestGoGetDotSlashDownload (0.00s)
  1231. testenv.go:163: skipping test: no external network in -short mode
  1232. === RUN TestGoGetHTTPS404
  1233. --- SKIP: TestGoGetHTTPS404 (0.00s)
  1234. testenv.go:163: skipping test: no external network in -short mode
  1235. === RUN TestImportMain
  1236. --- SKIP: TestImportMain (0.00s)
  1237. go_test.go:45: skipping test in -short mode
  1238. === RUN TestImportLocal
  1239. --- SKIP: TestImportLocal (0.00s)
  1240. go_test.go:45: skipping test in -short mode
  1241. === RUN TestGoGetInsecure
  1242. --- SKIP: TestGoGetInsecure (0.00s)
  1243. testenv.go:163: skipping test: no external network in -short mode
  1244. === RUN TestGoGetUpdateInsecure
  1245. --- SKIP: TestGoGetUpdateInsecure (0.00s)
  1246. testenv.go:163: skipping test: no external network in -short mode
  1247. === RUN TestGoGetInsecureCustomDomain
  1248. --- SKIP: TestGoGetInsecureCustomDomain (0.00s)
  1249. testenv.go:163: skipping test: no external network in -short mode
  1250. === RUN TestGoRunDirs
  1251. --- PASS: TestGoRunDirs (0.08s)
  1252. go_test.go:3676: running testgo [run x.go sub/sub.go]
  1253. go_test.go:3676: standard error:
  1254. go_test.go:3676: named files must all be in one directory; have ./ and sub/
  1255.  
  1256. go_test.go:3676: testgo failed as expected: exit status 1
  1257. go_test.go:3678: running testgo [run sub/sub.go x.go]
  1258. go_test.go:3678: standard error:
  1259. go_test.go:3678: named files must all be in one directory; have sub/ and ./
  1260.  
  1261. go_test.go:3678: testgo failed as expected: exit status 1
  1262. === RUN TestGoInstallPkgdir
  1263. --- SKIP: TestGoInstallPkgdir (0.00s)
  1264. go_test.go:45: skipping test in -short mode
  1265. === RUN TestGoTestRaceInstallCgo
  1266. --- PASS: TestGoTestRaceInstallCgo (6.24s)
  1267. go_test.go:3707: running testgo [tool -n cgo]
  1268. go_test.go:3707: standard output:
  1269. go_test.go:3707: c:\dev\go\pkg\tool\windows_amd64\cgo.exe
  1270.  
  1271. go_test.go:3711: running testgo [test -race -i runtime/race]
  1272. === RUN TestGoTestRaceFailures
  1273. --- SKIP: TestGoTestRaceFailures (0.00s)
  1274. go_test.go:45: skipping test in -short mode
  1275. === RUN TestGoTestImportErrorStack
  1276. --- PASS: TestGoTestImportErrorStack (0.04s)
  1277. go_test.go:3750: running testgo [test testdep/p1]
  1278. go_test.go:3750: standard error:
  1279. go_test.go:3750: # testdep/p1
  1280. package testdep/p1 (test)
  1281. imports testdep/p2
  1282. imports testdep/p3: build constraints exclude all Go files in c:\dev\go\src\cmd\go\testdata\src\testdep\p3
  1283. FAIL testdep/p1 [setup failed]
  1284.  
  1285. go_test.go:3750: testgo failed as expected: exit status 1
  1286. === RUN TestGoGetUpdate
  1287. --- SKIP: TestGoGetUpdate (0.00s)
  1288. testenv.go:163: skipping test: no external network in -short mode
  1289. === RUN TestGoGetRace
  1290. --- SKIP: TestGoGetRace (0.00s)
  1291. testenv.go:163: skipping test: no external network in -short mode
  1292. === RUN TestGoGetDomainRoot
  1293. --- SKIP: TestGoGetDomainRoot (0.00s)
  1294. testenv.go:163: skipping test: no external network in -short mode
  1295. === RUN TestGoInstallShadowedGOPATH
  1296. --- SKIP: TestGoInstallShadowedGOPATH (0.00s)
  1297. testenv.go:163: skipping test: no external network in -short mode
  1298. === RUN TestGoBuildGOPATHOrder
  1299. --- PASS: TestGoBuildGOPATHOrder (0.10s)
  1300. go_test.go:3869: running testgo [install -x bar]
  1301. go_test.go:3869: standard error:
  1302. go_test.go:3869: WORK=C:\Windows\TEMP\go-build147642766
  1303. mkdir -p $WORK\b002\
  1304. cat >$WORK\b002\importcfg << 'EOF' # internal
  1305. # import config
  1306. EOF
  1307. cd C:\Windows\TEMP\gotest035265565\p2\src\baz
  1308. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build147642766\\b002\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build147642766\\b002" -p baz -complete -buildid GaJPc8vZflKhTW09MgJj/GaJPc8vZflKhTW09MgJj -D "" -importcfg "C:\\Windows\\TEMP\\go-build147642766\\b002\\importcfg" -pack -c=4 "C:\\Windows\\TEMP\\gotest035265565\\p2\\src\\baz\\baz.go"
  1309. mkdir -p $WORK\b003\
  1310. cat >$WORK\b003\importcfg << 'EOF' # internal
  1311. # import config
  1312. EOF
  1313. cd C:\Windows\TEMP\gotest035265565\p1\src\foo
  1314. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build147642766\\b003\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build147642766\\b003" -p foo -complete -buildid RX8zi4KOD0UCO90ya-Ww/RX8zi4KOD0UCO90ya-Ww -D "" -importcfg "C:\\Windows\\TEMP\\go-build147642766\\b003\\importcfg" -pack -c=4 "C:\\Windows\\TEMP\\gotest035265565\\p1\\src\\foo\\foo.go"
  1315. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build147642766\\b002\\_pkg_.a" # internal
  1316. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build147642766\\b003\\_pkg_.a" # internal
  1317. mkdir -p $WORK\b001\
  1318. cat >$WORK\b001\importcfg << 'EOF' # internal
  1319. # import config
  1320. packagefile baz=$WORK\b002\_pkg_.a
  1321. packagefile foo=$WORK\b003\_pkg_.a
  1322. EOF
  1323. cd C:\Windows\TEMP\gotest035265565\p1\src\bar
  1324. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build147642766\\b001\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build147642766\\b001" -p bar -complete -buildid WJfwv1bHP4VgwrnXns2V/WJfwv1bHP4VgwrnXns2V -D "" -importcfg "C:\\Windows\\TEMP\\go-build147642766\\b001\\importcfg" -pack -c=4 "C:\\Windows\\TEMP\\gotest035265565\\p1\\src\\bar\\bar.go"
  1325. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build147642766\\b001\\_pkg_.a" # internal
  1326. mkdir -p C:\Windows\TEMP\gotest035265565\p1\pkg\windows_amd64\
  1327. cp $WORK\b001\_pkg_.a C:\Windows\TEMP\gotest035265565\p1\pkg\windows_amd64\bar.a
  1328. rm -r $WORK\b001\
  1329.  
  1330. === RUN TestGoBuildGOPATHOrderBroken
  1331. --- SKIP: TestGoBuildGOPATHOrderBroken (0.00s)
  1332. go_test.go:3875: golang.org/issue/14271
  1333. === RUN TestIssue11709
  1334. --- PASS: TestIssue11709 (0.36s)
  1335. go_test.go:3911: running testgo [run C:\Windows\TEMP\gotest318985944\run.go]
  1336. === RUN TestIssue12096
  1337. --- PASS: TestIssue12096 (0.56s)
  1338. go_test.go:3926: running testgo [test C:\Windows\TEMP\gotest263874647\test_test.go]
  1339. go_test.go:3926: standard output:
  1340. go_test.go:3926: ok command-line-arguments 0.027s
  1341.  
  1342. === RUN TestGoBuildOutput
  1343. --- SKIP: TestGoBuildOutput (0.00s)
  1344. go_test.go:45: skipping test in -short mode
  1345. === RUN TestGoBuildARM
  1346. --- SKIP: TestGoBuildARM (0.00s)
  1347. go_test.go:3991: skipping cross-compile in short mode
  1348. === RUN TestParallelTest
  1349. --- SKIP: TestParallelTest (0.00s)
  1350. go_test.go:45: skipping test in -short mode
  1351. === RUN TestCgoConsistentResults
  1352. --- SKIP: TestCgoConsistentResults (0.00s)
  1353. go_test.go:45: skipping test in -short mode
  1354. === RUN TestGoGetUpdateAllDoesNotTryToLoadDuplicates
  1355. --- SKIP: TestGoGetUpdateAllDoesNotTryToLoadDuplicates (0.00s)
  1356. testenv.go:163: skipping test: no external network in -short mode
  1357. === RUN TestIssue17119
  1358. --- SKIP: TestIssue17119 (0.00s)
  1359. testenv.go:163: skipping test: no external network in -short mode
  1360. === RUN TestFatalInBenchmarkCauseNonZeroExitStatus
  1361. --- PASS: TestFatalInBenchmarkCauseNonZeroExitStatus (0.60s)
  1362. go_test.go:4092: running testgo [test -run ^$ -bench . ./testdata/src/benchfatal]
  1363. go_test.go:4092: standard output:
  1364. go_test.go:4092: --- FAIL: BenchmarkThatCallsFatal
  1365. x_test.go:6: called by benchmark
  1366. FAIL
  1367. exit status 1
  1368. FAIL _/c_/dev/go/src/cmd/go/testdata/src/benchfatal 0.023s
  1369.  
  1370. go_test.go:4092: testgo failed as expected: exit status 1
  1371. === RUN TestBinaryOnlyPackages
  1372. --- SKIP: TestBinaryOnlyPackages (0.00s)
  1373. go_test.go:45: skipping test in -short mode
  1374. === RUN TestAlwaysLinkSysoFiles
  1375. === PAUSE TestAlwaysLinkSysoFiles
  1376. === RUN TestGenerateUsesBuildContext
  1377. --- SKIP: TestGenerateUsesBuildContext (0.00s)
  1378. go_test.go:4207: this test won't run under Windows
  1379. === RUN TestGoGetUpdateWithWildcard
  1380. --- SKIP: TestGoGetUpdateWithWildcard (0.00s)
  1381. testenv.go:163: skipping test: no external network in -short mode
  1382. === RUN TestGoEnv
  1383. === PAUSE TestGoEnv
  1384. === RUN TestMatchesNoTests
  1385. --- PASS: TestMatchesNoTests (0.60s)
  1386. go_test.go:4291: running testgo [test -run ThisWillNotMatch testdata/standalone_test.go]
  1387. go_test.go:4291: standard output:
  1388. go_test.go:4291: ok command-line-arguments 0.025s [no tests to run]
  1389.  
  1390. === RUN TestMatchesNoTestsDoesNotOverrideBuildFailure
  1391. === PAUSE TestMatchesNoTestsDoesNotOverrideBuildFailure
  1392. === RUN TestMatchesNoBenchmarksIsOK
  1393. --- PASS: TestMatchesNoBenchmarksIsOK (0.51s)
  1394. go_test.go:4309: running testgo [test -run ^$ -bench ThisWillNotMatch testdata/standalone_benchmark_test.go]
  1395. go_test.go:4309: standard output:
  1396. go_test.go:4309: PASS
  1397. ok command-line-arguments 0.024s
  1398.  
  1399. === RUN TestMatchesOnlyExampleIsOK
  1400. --- PASS: TestMatchesOnlyExampleIsOK (0.50s)
  1401. go_test.go:4318: running testgo [test -run Example testdata/example1_test.go]
  1402. go_test.go:4318: standard output:
  1403. go_test.go:4318: ok command-line-arguments 0.028s
  1404.  
  1405. === RUN TestMatchesOnlyBenchmarkIsOK
  1406. --- PASS: TestMatchesOnlyBenchmarkIsOK (0.49s)
  1407. go_test.go:4327: running testgo [test -run ^$ -bench . testdata/standalone_benchmark_test.go]
  1408. go_test.go:4327: standard output:
  1409. go_test.go:4327: goos: windows
  1410. goarch: amd64
  1411. Benchmark-4 2000000000 0.00 ns/op
  1412. PASS
  1413. ok command-line-arguments 0.023s
  1414.  
  1415. === RUN TestBenchmarkLabels
  1416. --- PASS: TestBenchmarkLabels (0.49s)
  1417. go_test.go:4337: running testgo [test -run ^$ -bench . bench]
  1418. go_test.go:4337: standard output:
  1419. go_test.go:4337: goos: windows
  1420. goarch: amd64
  1421. pkg: bench
  1422. Benchmark-4 2000000000 0.00 ns/op
  1423. PASS
  1424. ok bench 0.023s
  1425.  
  1426. === RUN TestBenchmarkLabelsOutsideGOPATH
  1427. --- PASS: TestBenchmarkLabelsOutsideGOPATH (0.50s)
  1428. go_test.go:4348: running testgo [test -run ^$ -bench . testdata/standalone_benchmark_test.go]
  1429. go_test.go:4348: standard output:
  1430. go_test.go:4348: goos: windows
  1431. goarch: amd64
  1432. Benchmark-4 2000000000 0.00 ns/op
  1433. PASS
  1434. ok command-line-arguments 0.023s
  1435.  
  1436. === RUN TestMatchesOnlyTestIsOK
  1437. --- PASS: TestMatchesOnlyTestIsOK (0.49s)
  1438. go_test.go:4358: running testgo [test -run Test testdata/standalone_test.go]
  1439. go_test.go:4358: standard output:
  1440. go_test.go:4358: ok command-line-arguments 0.022s
  1441.  
  1442. === RUN TestMatchesNoTestsWithSubtests
  1443. --- PASS: TestMatchesNoTestsWithSubtests (0.49s)
  1444. go_test.go:4366: running testgo [test -run ThisWillNotMatch testdata/standalone_sub_test.go]
  1445. go_test.go:4366: standard output:
  1446. go_test.go:4366: ok command-line-arguments 0.023s [no tests to run]
  1447.  
  1448. === RUN TestMatchesNoSubtestsMatch
  1449. --- PASS: TestMatchesNoSubtestsMatch (0.50s)
  1450. go_test.go:4373: running testgo [test -run Test/ThisWillNotMatch testdata/standalone_sub_test.go]
  1451. go_test.go:4373: standard output:
  1452. go_test.go:4373: ok command-line-arguments 0.022s [no tests to run]
  1453.  
  1454. === RUN TestMatchesNoSubtestsDoesNotOverrideFailure
  1455. --- PASS: TestMatchesNoSubtestsDoesNotOverrideFailure (0.50s)
  1456. go_test.go:4380: running testgo [test -run TestThatFails/ThisWillNotMatch testdata/standalone_fail_sub_test.go]
  1457. go_test.go:4380: standard output:
  1458. go_test.go:4380: --- FAIL: TestThatFails (0.00s)
  1459. testing: warning: no tests to run
  1460. FAIL
  1461. FAIL command-line-arguments 0.022s
  1462.  
  1463. go_test.go:4380: testgo failed as expected: exit status 1
  1464. === RUN TestMatchesOnlySubtestIsOK
  1465. --- PASS: TestMatchesOnlySubtestIsOK (0.49s)
  1466. go_test.go:4388: running testgo [test -run Test/Sub testdata/standalone_sub_test.go]
  1467. go_test.go:4388: standard output:
  1468. go_test.go:4388: ok command-line-arguments 0.023s
  1469.  
  1470. === RUN TestMatchesNoSubtestsParallel
  1471. --- PASS: TestMatchesNoSubtestsParallel (0.49s)
  1472. go_test.go:4396: running testgo [test -run Test/Sub/ThisWillNotMatch testdata/standalone_parallel_sub_test.go]
  1473. go_test.go:4396: standard output:
  1474. go_test.go:4396: ok command-line-arguments 0.023s [no tests to run]
  1475.  
  1476. === RUN TestMatchesOnlySubtestParallelIsOK
  1477. --- PASS: TestMatchesOnlySubtestParallelIsOK (0.49s)
  1478. go_test.go:4403: running testgo [test -run Test/Sub/Nested testdata/standalone_parallel_sub_test.go]
  1479. go_test.go:4403: standard output:
  1480. go_test.go:4403: ok command-line-arguments 0.023s
  1481.  
  1482. === RUN TestBenchTimeout
  1483. --- SKIP: TestBenchTimeout (0.00s)
  1484. go_test.go:45: skipping test in -short mode
  1485. === RUN TestWriteProfilesOnTimeout
  1486. --- SKIP: TestWriteProfilesOnTimeout (0.00s)
  1487. go_test.go:45: skipping test in -short mode
  1488. === RUN TestLinkXImportPathEscape
  1489. === PAUSE TestLinkXImportPathEscape
  1490. === RUN TestLdBindNow
  1491. === PAUSE TestLdBindNow
  1492. === RUN TestConcurrentAsm
  1493. === PAUSE TestConcurrentAsm
  1494. === RUN TestDotDotDotOutsideGOPATH
  1495. --- PASS: TestDotDotDotOutsideGOPATH (0.70s)
  1496. go_test.go:4495: running testgo [build ./...]
  1497. go_test.go:4496: running testgo [test ./...]
  1498. go_test.go:4496: standard output:
  1499. go_test.go:4496: ok _/C_/Windows/TEMP/gotest964677066/pkgs 0.030s
  1500. ok _/C_/Windows/TEMP/gotest964677066/pkgs/a 0.023s
  1501.  
  1502. go_test.go:4497: running testgo [list ./...]
  1503. go_test.go:4497: standard output:
  1504. go_test.go:4497: _/C_/Windows/TEMP/gotest964677066/pkgs
  1505. _/C_/Windows/TEMP/gotest964677066/pkgs/a
  1506.  
  1507. === RUN TestFFLAGS
  1508. === PAUSE TestFFLAGS
  1509. === RUN TestDuplicateGlobalAsmSymbols
  1510. --- SKIP: TestDuplicateGlobalAsmSymbols (0.00s)
  1511. go_test.go:45: skipping test in -short mode
  1512. === RUN TestBuildTagsNoComma
  1513. --- PASS: TestBuildTagsNoComma (0.10s)
  1514. go_test.go:4578: running testgo [build -tags tag1 tag2 math]
  1515. go_test.go:4579: running testgo [build -tags tag1,tag2 math]
  1516. go_test.go:4579: standard error:
  1517. go_test.go:4579: cmd/go: -tags space-separated list contains comma
  1518.  
  1519. go_test.go:4579: testgo failed as expected: exit status 2
  1520. === RUN TestExecutableGOROOT
  1521. === RUN TestExecutableGOROOT/RelocatedExe
  1522. === RUN TestExecutableGOROOT/RelocatedTree
  1523. === RUN TestExecutableGOROOT/SymlinkedExe
  1524. === RUN TestExecutableGOROOT/RuntimeGoroot
  1525. --- PASS: TestExecutableGOROOT (0.55s)
  1526. --- PASS: TestExecutableGOROOT/RelocatedExe (0.20s)
  1527. go_test.go:4634: go env GOROOT: C:\dev\go
  1528. --- PASS: TestExecutableGOROOT/RelocatedTree (0.05s)
  1529. go_test.go:4634: go env GOROOT: C:\Windows\Temp\gotest525945740\new
  1530. --- PASS: TestExecutableGOROOT/SymlinkedExe (0.04s)
  1531. go_test.go:4634: go env GOROOT: C:\Windows\Temp\gotest525945740\new
  1532. --- PASS: TestExecutableGOROOT/RuntimeGoroot (0.23s)
  1533. go_test.go:4704: go run testdata/print_goroot.go: C:\Windows\Temp\gotest525945740\new
  1534. === RUN TestNeedVersion
  1535. === PAUSE TestNeedVersion
  1536. === RUN TestUserOverrideFlags
  1537. --- SKIP: TestUserOverrideFlags (0.00s)
  1538. go_test.go:4728: skipping on windows because test only works if c-archive implies -shared
  1539. === RUN TestCgoFlagContainsSpace
  1540. --- SKIP: TestCgoFlagContainsSpace (0.00s)
  1541. go_test.go:45: skipping test in -short mode
  1542. === RUN TestGoTestRaceCoverModeFailures
  1543. --- SKIP: TestGoTestRaceCoverModeFailures (0.00s)
  1544. go_test.go:45: skipping test in -short mode
  1545. === RUN TestBuildIDContainsArchModeEnv
  1546. --- SKIP: TestBuildIDContainsArchModeEnv (0.00s)
  1547. go_test.go:4794: skipping in short mode
  1548. === RUN TestTestRegexps
  1549. --- PASS: TestTestRegexps (0.52s)
  1550. go_test.go:4834: running testgo [test -cpu=1 -run=X/Y -bench=X/Y -count=2 -v testregexp]
  1551. go_test.go:4834: standard output:
  1552. go_test.go:4834: === RUN TestX
  1553. === RUN TestX/Y
  1554. --- PASS: TestX (0.00s)
  1555. x_test.go:6: LOG: X running
  1556. --- PASS: TestX/Y (0.00s)
  1557. x_test.go:8: LOG: Y running
  1558. === RUN TestXX
  1559. --- PASS: TestXX (0.00s)
  1560. z_test.go:10: LOG: XX running
  1561. === RUN TestX
  1562. === RUN TestX/Y
  1563. --- PASS: TestX (0.00s)
  1564. x_test.go:6: LOG: X running
  1565. --- PASS: TestX/Y (0.00s)
  1566. x_test.go:8: LOG: Y running
  1567. === RUN TestXX
  1568. --- PASS: TestXX (0.00s)
  1569. z_test.go:10: LOG: XX running
  1570. goos: windows
  1571. goarch: amd64
  1572. pkg: testregexp
  1573. BenchmarkX/Y 2000000000 0.00 ns/op
  1574. --- BENCH: BenchmarkX/Y
  1575. x_test.go:15: LOG: Y running N=1
  1576. x_test.go:15: LOG: Y running N=100
  1577. x_test.go:15: LOG: Y running N=10000
  1578. x_test.go:15: LOG: Y running N=1000000
  1579. x_test.go:15: LOG: Y running N=100000000
  1580. x_test.go:15: LOG: Y running N=2000000000
  1581. BenchmarkX/Y 2000000000 0.00 ns/op
  1582. --- BENCH: BenchmarkX/Y
  1583. x_test.go:15: LOG: Y running N=1
  1584. x_test.go:15: LOG: Y running N=100
  1585. x_test.go:15: LOG: Y running N=10000
  1586. x_test.go:15: LOG: Y running N=1000000
  1587. x_test.go:15: LOG: Y running N=100000000
  1588. x_test.go:15: LOG: Y running N=2000000000
  1589. --- BENCH: BenchmarkX
  1590. x_test.go:13: LOG: X running N=1
  1591. --- BENCH: BenchmarkXX
  1592. z_test.go:18: LOG: XX running N=1
  1593. PASS
  1594. ok testregexp 0.025s
  1595.  
  1596. === RUN TestListTests
  1597. --- SKIP: TestListTests (0.00s)
  1598. go_test.go:45: skipping test in -short mode
  1599. === RUN TestBuildmodePIE
  1600. --- SKIP: TestBuildmodePIE (0.00s)
  1601. go_test.go:4908: skipping in -short mode on non-builder
  1602. === RUN TestExecBuildX
  1603. --- SKIP: TestExecBuildX (0.00s)
  1604. go_test.go:45: skipping test in -short mode
  1605. === RUN TestParallelNumber
  1606. --- SKIP: TestParallelNumber (0.00s)
  1607. go_test.go:45: skipping test in -short mode
  1608. === RUN TestWrongGOOSErrorBeforeLoadError
  1609. --- PASS: TestWrongGOOSErrorBeforeLoadError (0.04s)
  1610. go_test.go:5038: running testgo [build exclude]
  1611. go_test.go:5038: standard error:
  1612. go_test.go:5038: cmd/go: unsupported GOOS/GOARCH pair windwos/amd64
  1613.  
  1614. go_test.go:5038: testgo failed as expected: exit status 2
  1615. === RUN TestUpxCompression
  1616. --- SKIP: TestUpxCompression (0.00s)
  1617. go_test.go:5045: skipping upx test on windows/amd64
  1618. === RUN TestGOTMPDIR
  1619. === PAUSE TestGOTMPDIR
  1620. === RUN TestBuildCache
  1621. --- SKIP: TestBuildCache (0.00s)
  1622. go_test.go:45: skipping test in -short mode
  1623. === RUN TestCacheOutput
  1624. === PAUSE TestCacheOutput
  1625. === RUN TestCacheListStale
  1626. --- SKIP: TestCacheListStale (0.00s)
  1627. go_test.go:45: skipping test in -short mode
  1628. === RUN TestCacheCoverage
  1629. --- SKIP: TestCacheCoverage (0.00s)
  1630. go_test.go:45: skipping test in -short mode
  1631. === RUN TestIssue22588
  1632. === PAUSE TestIssue22588
  1633. === RUN TestIssue22531
  1634. --- SKIP: TestIssue22531 (0.00s)
  1635. go_test.go:45: skipping test in -short mode
  1636. === RUN TestIssue22596
  1637. --- SKIP: TestIssue22596 (0.00s)
  1638. go_test.go:45: skipping test in -short mode
  1639. === RUN TestTestCache
  1640. --- SKIP: TestTestCache (0.00s)
  1641. go_test.go:45: skipping test in -short mode
  1642. === RUN TestTestCacheInputs
  1643. --- SKIP: TestTestCacheInputs (0.00s)
  1644. go_test.go:45: skipping test in -short mode
  1645. === RUN TestNoCache
  1646. --- SKIP: TestNoCache (0.00s)
  1647. go_test.go:5510: no unwritable directories on windows
  1648. === RUN TestTestVet
  1649. --- SKIP: TestTestVet (0.00s)
  1650. go_test.go:45: skipping test in -short mode
  1651. === RUN TestTestVetRebuild
  1652. === PAUSE TestTestVetRebuild
  1653. === RUN TestInstallDeps
  1654. --- SKIP: TestInstallDeps (0.00s)
  1655. go_test.go:45: skipping test in -short mode
  1656. === RUN TestFmtLoadErrors
  1657. --- PASS: TestFmtLoadErrors (0.07s)
  1658. go_test.go:5656: running testgo [fmt does-not-exist]
  1659. go_test.go:5656: standard error:
  1660. go_test.go:5656: can't load package: package does-not-exist: cannot find package "does-not-exist" in any of:
  1661. c:\dev\go\src\does-not-exist (from $GOROOT)
  1662. c:\dev\go\src\cmd\go\testdata\src\does-not-exist (from $GOPATH)
  1663.  
  1664. go_test.go:5656: testgo failed as expected: exit status 1
  1665. go_test.go:5657: running testgo [fmt -n exclude]
  1666. go_test.go:5657: standard output:
  1667. go_test.go:5657: c:\dev\go\bin\gofmt.exe -l -w testdata\src\exclude\x.go
  1668. c:\dev\go\bin\gofmt.exe -l -w testdata\src\exclude\x_linux.go
  1669.  
  1670. === RUN TestRelativePkgdir
  1671. --- SKIP: TestRelativePkgdir (0.00s)
  1672. go_test.go:45: skipping test in -short mode
  1673. === RUN TestGcflagsPatterns
  1674. --- PASS: TestGcflagsPatterns (0.94s)
  1675. go_test.go:5677: running testgo [build -n -v -gcflags=
  1676. -e fmt]
  1677. go_test.go:5677: standard error:
  1678. go_test.go:5677:
  1679. #
  1680. # fmt
  1681. #
  1682.  
  1683. fmt
  1684. mkdir -p $WORK\b001\
  1685. cat >$WORK\b001\importcfg << 'EOF' # internal
  1686. # import config
  1687. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  1688. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  1689. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  1690. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  1691. packagefile reflect=c:\dev\go\pkg\windows_amd64\reflect.a
  1692. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1693. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1694. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  1695. EOF
  1696. cd c:\dev\go\src\fmt
  1697. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b001\\_pkg_.a" -trimpath "$WORK\\b001" -e -p fmt -std -complete -buildid U9DYG6JhIqDRXKXsy_mC/U9DYG6JhIqDRXKXsy_mC -D "" -importcfg "$WORK\\b001\\importcfg" -pack "c:\\dev\\go\\src\\fmt\\doc.go" "c:\\dev\\go\\src\\fmt\\format.go" "c:\\dev\\go\\src\\fmt\\print.go" "c:\\dev\\go\\src\\fmt\\scan.go"
  1698. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\_pkg_.a" # internal
  1699.  
  1700. go_test.go:5681: running testgo [build -n -v -gcflags=-e fmt reflect]
  1701. go_test.go:5681: standard error:
  1702. go_test.go:5681:
  1703. #
  1704. # reflect
  1705. #
  1706.  
  1707. reflect
  1708. mkdir -p $WORK\b024\
  1709. cat >$WORK\b024\importcfg << 'EOF' # internal
  1710. # import config
  1711. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  1712. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  1713. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1714. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1715. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  1716. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  1717. EOF
  1718. cd c:\dev\go\src\reflect
  1719. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b024\\_pkg_.a" -trimpath "$WORK\\b024" -e -p reflect -std -buildid IGCXhf0reaeU_QoNCG48/IGCXhf0reaeU_QoNCG48 -D "" -importcfg "$WORK\\b024\\importcfg" -pack -asmhdr "$WORK\\b024\\go_asm.h" "c:\\dev\\go\\src\\reflect\\deepequal.go" "c:\\dev\\go\\src\\reflect\\makefunc.go" "c:\\dev\\go\\src\\reflect\\swapper.go" "c:\\dev\\go\\src\\reflect\\type.go" "c:\\dev\\go\\src\\reflect\\value.go"
  1720. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\asm.exe" -trimpath "$WORK\\b024" -I "$WORK\\b024\\" -I "c:\\dev\\go\\pkg\\include" -D GOOS_windows -D GOARCH_amd64 -o "$WORK\\b024\\asm_amd64.o" "c:\\dev\\go\\src\\reflect\\asm_amd64.s"
  1721. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\pack.exe" r "$WORK\\b024\\_pkg_.a" "$WORK\\b024\\asm_amd64.o" # internal
  1722. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b024\\_pkg_.a" # internal
  1723.  
  1724. #
  1725. # fmt
  1726. #
  1727.  
  1728. fmt
  1729. mkdir -p $WORK\b001\
  1730. cat >$WORK\b001\importcfg << 'EOF' # internal
  1731. # import config
  1732. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  1733. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  1734. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  1735. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  1736. packagefile reflect=$WORK\b024\_pkg_.a
  1737. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1738. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1739. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  1740. EOF
  1741. cd c:\dev\go\src\fmt
  1742. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b001\\_pkg_.a" -trimpath "$WORK\\b001" -e -p fmt -std -complete -buildid jKFWkFfLVYu9sA4pHmHR/jKFWkFfLVYu9sA4pHmHR -D "" -importcfg "$WORK\\b001\\importcfg" -pack "c:\\dev\\go\\src\\fmt\\doc.go" "c:\\dev\\go\\src\\fmt\\format.go" "c:\\dev\\go\\src\\fmt\\print.go" "c:\\dev\\go\\src\\fmt\\scan.go"
  1743. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\_pkg_.a" # internal
  1744.  
  1745. go_test.go:5686: running testgo [build -n -x -v -gcflags=
  1746. reflect
  1747. =
  1748. -N fmt]
  1749. go_test.go:5686: standard error:
  1750. go_test.go:5686:
  1751. #
  1752. # reflect
  1753. #
  1754.  
  1755. reflect
  1756. mkdir -p $WORK\b024\
  1757. cat >$WORK\b024\importcfg << 'EOF' # internal
  1758. # import config
  1759. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  1760. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  1761. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1762. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1763. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  1764. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  1765. EOF
  1766. cd c:\dev\go\src\reflect
  1767. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b024\\_pkg_.a" -trimpath "$WORK\\b024" -N -p reflect -std -buildid 3PZ1tGT8Fhmujl4b-3Gc/3PZ1tGT8Fhmujl4b-3Gc -D "" -importcfg "$WORK\\b024\\importcfg" -pack -asmhdr "$WORK\\b024\\go_asm.h" -c=4 "c:\\dev\\go\\src\\reflect\\deepequal.go" "c:\\dev\\go\\src\\reflect\\makefunc.go" "c:\\dev\\go\\src\\reflect\\swapper.go" "c:\\dev\\go\\src\\reflect\\type.go" "c:\\dev\\go\\src\\reflect\\value.go"
  1768. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\asm.exe" -trimpath "$WORK\\b024" -I "$WORK\\b024\\" -I "c:\\dev\\go\\pkg\\include" -D GOOS_windows -D GOARCH_amd64 -o "$WORK\\b024\\asm_amd64.o" "c:\\dev\\go\\src\\reflect\\asm_amd64.s"
  1769. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\pack.exe" r "$WORK\\b024\\_pkg_.a" "$WORK\\b024\\asm_amd64.o" # internal
  1770. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b024\\_pkg_.a" # internal
  1771.  
  1772. #
  1773. # fmt
  1774. #
  1775.  
  1776. fmt
  1777. mkdir -p $WORK\b001\
  1778. cat >$WORK\b001\importcfg << 'EOF' # internal
  1779. # import config
  1780. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  1781. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  1782. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  1783. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  1784. packagefile reflect=$WORK\b024\_pkg_.a
  1785. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1786. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1787. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  1788. EOF
  1789. cd c:\dev\go\src\fmt
  1790. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b001\\_pkg_.a" -trimpath "$WORK\\b001" -p fmt -std -complete -buildid KchD2-SUMVYgQ-O0IhWk/KchD2-SUMVYgQ-O0IhWk -D "" -importcfg "$WORK\\b001\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\fmt\\doc.go" "c:\\dev\\go\\src\\fmt\\format.go" "c:\\dev\\go\\src\\fmt\\print.go" "c:\\dev\\go\\src\\fmt\\scan.go"
  1791. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\_pkg_.a" # internal
  1792.  
  1793. go_test.go:5692: running testgo [test -c -n -gcflags=-N -ldflags=-X=x.y=z strings]
  1794. go_test.go:5692: standard error:
  1795. go_test.go:5692: mkdir -p $WORK\b001\
  1796.  
  1797. #
  1798. # strings
  1799. #
  1800.  
  1801. mkdir -p $WORK\b034\
  1802. cat >$WORK\b034\importcfg << 'EOF' # internal
  1803. # import config
  1804. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  1805. packagefile internal/bytealg=c:\dev\go\pkg\windows_amd64\internal\bytealg.a
  1806. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  1807. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  1808. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  1809. EOF
  1810. cd c:\dev\go\src\strings
  1811. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b034\\_pkg_.a" -trimpath "$WORK\\b034" -N -p strings -std -buildid WP3DKQ7uEmh74vg4F164/WP3DKQ7uEmh74vg4F164 -D "" -importcfg "$WORK\\b034\\importcfg" -pack -asmhdr "$WORK\\b034\\go_asm.h" -c=4 "c:\\dev\\go\\src\\strings\\builder.go" "c:\\dev\\go\\src\\strings\\compare.go" "c:\\dev\\go\\src\\strings\\reader.go" "c:\\dev\\go\\src\\strings\\replace.go" "c:\\dev\\go\\src\\strings\\search.go" "c:\\dev\\go\\src\\strings\\strings.go" "c:\\dev\\go\\src\\strings\\strings_decl.go" "c:\\dev\\go\\src\\strings\\export_test.go"
  1812. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\asm.exe" -trimpath "$WORK\\b034" -I "$WORK\\b034\\" -I "c:\\dev\\go\\pkg\\include" -D GOOS_windows -D GOARCH_amd64 -o "$WORK\\b034\\strings.o" "c:\\dev\\go\\src\\strings\\strings.s"
  1813. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\pack.exe" r "$WORK\\b034\\_pkg_.a" "$WORK\\b034\\strings.o" # internal
  1814. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b034\\_pkg_.a" # internal
  1815.  
  1816. #
  1817. # flag
  1818. #
  1819.  
  1820. mkdir -p $WORK\b027\
  1821. cat >$WORK\b027\importcfg << 'EOF' # internal
  1822. # import config
  1823. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  1824. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  1825. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  1826. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  1827. packagefile reflect=c:\dev\go\pkg\windows_amd64\reflect.a
  1828. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  1829. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1830. packagefile strings=$WORK\b034\_pkg_.a
  1831. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  1832. EOF
  1833. cd c:\dev\go\src\flag
  1834. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b027\\_pkg_.a" -trimpath "$WORK\\b027" -p flag -std -complete -buildid m99rYqpo1LBxj6na-744/m99rYqpo1LBxj6na-744 -D "" -importcfg "$WORK\\b027\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\flag\\flag.go"
  1835. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b027\\_pkg_.a" # internal
  1836.  
  1837. #
  1838. # testing
  1839. #
  1840.  
  1841. mkdir -p $WORK\b024\
  1842. cat >$WORK\b024\importcfg << 'EOF' # internal
  1843. # import config
  1844. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  1845. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  1846. packagefile flag=$WORK\b027\_pkg_.a
  1847. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  1848. packagefile internal/race=c:\dev\go\pkg\windows_amd64\internal\race.a
  1849. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  1850. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  1851. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  1852. packagefile runtime/debug=c:\dev\go\pkg\windows_amd64\runtime\debug.a
  1853. packagefile runtime/trace=c:\dev\go\pkg\windows_amd64\runtime\trace.a
  1854. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  1855. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1856. packagefile strings=$WORK\b034\_pkg_.a
  1857. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1858. packagefile sync/atomic=c:\dev\go\pkg\windows_amd64\sync\atomic.a
  1859. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  1860. EOF
  1861. cd c:\dev\go\src\testing
  1862. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b024\\_pkg_.a" -trimpath "$WORK\\b024" -p testing -std -complete -buildid X7LTo8ULxtpLKWDT0r6u/X7LTo8ULxtpLKWDT0r6u -D "" -importcfg "$WORK\\b024\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\testing\\allocs.go" "c:\\dev\\go\\src\\testing\\benchmark.go" "c:\\dev\\go\\src\\testing\\cover.go" "c:\\dev\\go\\src\\testing\\example.go" "c:\\dev\\go\\src\\testing\\match.go" "c:\\dev\\go\\src\\testing\\testing.go"
  1863. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b024\\_pkg_.a" # internal
  1864.  
  1865. #
  1866. # regexp/syntax
  1867. #
  1868.  
  1869. mkdir -p $WORK\b041\
  1870. cat >$WORK\b041\importcfg << 'EOF' # internal
  1871. # import config
  1872. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  1873. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1874. packagefile strings=$WORK\b034\_pkg_.a
  1875. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  1876. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  1877. EOF
  1878. cd c:\dev\go\src\regexp\syntax
  1879. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b041\\_pkg_.a" -trimpath "$WORK\\b041" -p regexp/syntax -std -complete -buildid DtMSkH0Od3kVzblwqTUK/DtMSkH0Od3kVzblwqTUK -D "" -importcfg "$WORK\\b041\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\regexp\\syntax\\compile.go" "c:\\dev\\go\\src\\regexp\\syntax\\doc.go" "c:\\dev\\go\\src\\regexp\\syntax\\op_string.go" "c:\\dev\\go\\src\\regexp\\syntax\\parse.go" "c:\\dev\\go\\src\\regexp\\syntax\\perl_groups.go" "c:\\dev\\go\\src\\regexp\\syntax\\prog.go" "c:\\dev\\go\\src\\regexp\\syntax\\regexp.go" "c:\\dev\\go\\src\\regexp\\syntax\\simplify.go"
  1880. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b041\\_pkg_.a" # internal
  1881.  
  1882. #
  1883. # regexp
  1884. #
  1885.  
  1886. mkdir -p $WORK\b040\
  1887. cat >$WORK\b040\importcfg << 'EOF' # internal
  1888. # import config
  1889. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  1890. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  1891. packagefile regexp/syntax=$WORK\b041\_pkg_.a
  1892. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  1893. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1894. packagefile strings=$WORK\b034\_pkg_.a
  1895. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1896. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  1897. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  1898. EOF
  1899. cd c:\dev\go\src\regexp
  1900. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b040\\_pkg_.a" -trimpath "$WORK\\b040" -p regexp -std -complete -buildid uweT4Iyb7I7IEM0ToLl-/uweT4Iyb7I7IEM0ToLl- -D "" -importcfg "$WORK\\b040\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\regexp\\backtrack.go" "c:\\dev\\go\\src\\regexp\\exec.go" "c:\\dev\\go\\src\\regexp\\onepass.go" "c:\\dev\\go\\src\\regexp\\regexp.go"
  1901. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b040\\_pkg_.a" # internal
  1902.  
  1903. #
  1904. # path/filepath
  1905. #
  1906.  
  1907. mkdir -p $WORK\b049\
  1908. cat >$WORK\b049\importcfg << 'EOF' # internal
  1909. # import config
  1910. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  1911. packagefile internal/syscall/windows=c:\dev\go\pkg\windows_amd64\internal\syscall\windows.a
  1912. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  1913. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  1914. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  1915. packagefile strings=$WORK\b034\_pkg_.a
  1916. packagefile syscall=c:\dev\go\pkg\windows_amd64\syscall.a
  1917. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  1918. EOF
  1919. cd c:\dev\go\src\path\filepath
  1920. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b049\\_pkg_.a" -trimpath "$WORK\\b049" -p path/filepath -std -complete -buildid aOIL8QAgr7UHKIM1eqcH/aOIL8QAgr7UHKIM1eqcH -D "" -importcfg "$WORK\\b049\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\path\\filepath\\match.go" "c:\\dev\\go\\src\\path\\filepath\\path.go" "c:\\dev\\go\\src\\path\\filepath\\path_windows.go" "c:\\dev\\go\\src\\path\\filepath\\symlink.go" "c:\\dev\\go\\src\\path\\filepath\\symlink_windows.go"
  1921. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b049\\_pkg_.a" # internal
  1922.  
  1923. #
  1924. # io/ioutil
  1925. #
  1926.  
  1927. mkdir -p $WORK\b048\
  1928. cat >$WORK\b048\importcfg << 'EOF' # internal
  1929. # import config
  1930. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  1931. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  1932. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  1933. packagefile path/filepath=$WORK\b049\_pkg_.a
  1934. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  1935. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1936. packagefile strings=$WORK\b034\_pkg_.a
  1937. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1938. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  1939. EOF
  1940. cd c:\dev\go\src\io\ioutil
  1941. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b048\\_pkg_.a" -trimpath "$WORK\\b048" -p io/ioutil -std -complete -buildid UNYzlZRvzOsc5GtxQRpQ/UNYzlZRvzOsc5GtxQRpQ -D "" -importcfg "$WORK\\b048\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\io\\ioutil\\ioutil.go" "c:\\dev\\go\\src\\io\\ioutil\\tempfile.go"
  1942. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b048\\_pkg_.a" # internal
  1943.  
  1944. #
  1945. # runtime/pprof
  1946. #
  1947.  
  1948. mkdir -p $WORK\b042\
  1949. cat >$WORK\b042\importcfg << 'EOF' # internal
  1950. # import config
  1951. packagefile bufio=c:\dev\go\pkg\windows_amd64\bufio.a
  1952. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  1953. packagefile compress/gzip=c:\dev\go\pkg\windows_amd64\compress\gzip.a
  1954. packagefile context=c:\dev\go\pkg\windows_amd64\context.a
  1955. packagefile encoding/binary=c:\dev\go\pkg\windows_amd64\encoding\binary.a
  1956. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  1957. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  1958. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  1959. packagefile io/ioutil=$WORK\b048\_pkg_.a
  1960. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  1961. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  1962. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  1963. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  1964. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  1965. packagefile strings=$WORK\b034\_pkg_.a
  1966. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1967. packagefile text/tabwriter=c:\dev\go\pkg\windows_amd64\text\tabwriter.a
  1968. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  1969. EOF
  1970. cd c:\dev\go\src\runtime\pprof
  1971. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b042\\_pkg_.a" -trimpath "$WORK\\b042" -p runtime/pprof -std -buildid hLK8Fbov4JcReJG25qMx/hLK8Fbov4JcReJG25qMx -D "" -importcfg "$WORK\\b042\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\runtime\\pprof\\elf.go" "c:\\dev\\go\\src\\runtime\\pprof\\label.go" "c:\\dev\\go\\src\\runtime\\pprof\\map.go" "c:\\dev\\go\\src\\runtime\\pprof\\pprof.go" "c:\\dev\\go\\src\\runtime\\pprof\\proto.go" "c:\\dev\\go\\src\\runtime\\pprof\\protobuf.go" "c:\\dev\\go\\src\\runtime\\pprof\\protomem.go" "c:\\dev\\go\\src\\runtime\\pprof\\runtime.go"
  1972. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b042\\_pkg_.a" # internal
  1973.  
  1974. #
  1975. # testing/internal/testdeps
  1976. #
  1977.  
  1978. mkdir -p $WORK\b038\
  1979. cat >$WORK\b038\importcfg << 'EOF' # internal
  1980. # import config
  1981. packagefile bufio=c:\dev\go\pkg\windows_amd64\bufio.a
  1982. packagefile internal/testlog=c:\dev\go\pkg\windows_amd64\internal\testlog.a
  1983. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  1984. packagefile regexp=$WORK\b040\_pkg_.a
  1985. packagefile runtime/pprof=$WORK\b042\_pkg_.a
  1986. packagefile strings=$WORK\b034\_pkg_.a
  1987. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  1988. EOF
  1989. cd c:\dev\go\src\testing\internal\testdeps
  1990. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b038\\_pkg_.a" -trimpath "$WORK\\b038" -p testing/internal/testdeps -std -complete -buildid CfNnhCdd8yUV0aJLYoi1/CfNnhCdd8yUV0aJLYoi1 -D "" -importcfg "$WORK\\b038\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\testing\\internal\\testdeps\\deps.go"
  1991. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b038\\_pkg_.a" # internal
  1992.  
  1993. #
  1994. # strings_test
  1995. #
  1996.  
  1997. mkdir -p $WORK\b051\
  1998. cat >$WORK\b051\importcfg << 'EOF' # internal
  1999. # import config
  2000. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2001. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2002. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2003. packagefile io/ioutil=$WORK\b048\_pkg_.a
  2004. packagefile math/rand=c:\dev\go\pkg\windows_amd64\math\rand.a
  2005. packagefile reflect=c:\dev\go\pkg\windows_amd64\reflect.a
  2006. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2007. packagefile testing=$WORK\b024\_pkg_.a
  2008. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  2009. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  2010. packagefile strings=$WORK\b034\_pkg_.a
  2011. EOF
  2012. cd c:\dev\go\src\strings
  2013. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b051\\_pkg_.a" -trimpath "$WORK\\b051" -N -p strings_test -complete -buildid MsZq_D4wn8y9HW3_B9DD/MsZq_D4wn8y9HW3_B9DD -D "" -importcfg "$WORK\\b051\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\strings\\builder_test.go" "c:\\dev\\go\\src\\strings\\compare_test.go" "c:\\dev\\go\\src\\strings\\example_test.go" "c:\\dev\\go\\src\\strings\\reader_test.go" "c:\\dev\\go\\src\\strings\\replace_test.go" "c:\\dev\\go\\src\\strings\\search_test.go" "c:\\dev\\go\\src\\strings\\strings_test.go"
  2014. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b051\\_pkg_.a" # internal
  2015.  
  2016. #
  2017. # strings.test
  2018. #
  2019.  
  2020. cat >$WORK\b001\importcfg << 'EOF' # internal
  2021. # import config
  2022. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2023. packagefile testing=$WORK\b024\_pkg_.a
  2024. packagefile testing/internal/testdeps=$WORK\b038\_pkg_.a
  2025. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2026. packagefile strings=$WORK\b034\_pkg_.a
  2027. packagefile strings_test=$WORK\b051\_pkg_.a
  2028. EOF
  2029. cd $WORK\b001\
  2030. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b001\\_pkg_.a" -trimpath "$WORK\\b001" -N -p main -complete -buildid CtVE8mkrlF240n9w0YaG/CtVE8mkrlF240n9w0YaG -D "" -importcfg "$WORK\\b001\\importcfg" -pack -c=4 "$WORK\\b001\\_testmain.go"
  2031. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\_pkg_.a" # internal
  2032. cat >$WORK\b001\importcfg.link << 'EOF' # internal
  2033. packagefile strings.test=$WORK\b001\_pkg_.a
  2034. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2035. packagefile testing=$WORK\b024\_pkg_.a
  2036. packagefile testing/internal/testdeps=$WORK\b038\_pkg_.a
  2037. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2038. packagefile strings=$WORK\b034\_pkg_.a
  2039. packagefile strings_test=$WORK\b051\_pkg_.a
  2040. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  2041. packagefile internal/poll=c:\dev\go\pkg\windows_amd64\internal\poll.a
  2042. packagefile internal/syscall/windows=c:\dev\go\pkg\windows_amd64\internal\syscall\windows.a
  2043. packagefile internal/testlog=c:\dev\go\pkg\windows_amd64\internal\testlog.a
  2044. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2045. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2046. packagefile sync/atomic=c:\dev\go\pkg\windows_amd64\sync\atomic.a
  2047. packagefile syscall=c:\dev\go\pkg\windows_amd64\syscall.a
  2048. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  2049. packagefile unicode/utf16=c:\dev\go\pkg\windows_amd64\unicode\utf16.a
  2050. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2051. packagefile flag=$WORK\b027\_pkg_.a
  2052. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2053. packagefile internal/race=c:\dev\go\pkg\windows_amd64\internal\race.a
  2054. packagefile runtime/debug=c:\dev\go\pkg\windows_amd64\runtime\debug.a
  2055. packagefile runtime/trace=c:\dev\go\pkg\windows_amd64\runtime\trace.a
  2056. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2057. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  2058. packagefile bufio=c:\dev\go\pkg\windows_amd64\bufio.a
  2059. packagefile regexp=$WORK\b040\_pkg_.a
  2060. packagefile runtime/pprof=$WORK\b042\_pkg_.a
  2061. packagefile internal/bytealg=c:\dev\go\pkg\windows_amd64\internal\bytealg.a
  2062. packagefile internal/cpu=c:\dev\go\pkg\windows_amd64\internal\cpu.a
  2063. packagefile runtime/internal/atomic=c:\dev\go\pkg\windows_amd64\runtime\internal\atomic.a
  2064. packagefile runtime/internal/sys=c:\dev\go\pkg\windows_amd64\runtime\internal\sys.a
  2065. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  2066. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  2067. packagefile io/ioutil=$WORK\b048\_pkg_.a
  2068. packagefile math/rand=c:\dev\go\pkg\windows_amd64\math\rand.a
  2069. packagefile reflect=c:\dev\go\pkg\windows_amd64\reflect.a
  2070. packagefile internal/syscall/windows/sysdll=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\sysdll.a
  2071. packagefile internal/syscall/windows/registry=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\registry.a
  2072. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  2073. packagefile context=c:\dev\go\pkg\windows_amd64\context.a
  2074. packagefile math/bits=c:\dev\go\pkg\windows_amd64\math\bits.a
  2075. packagefile regexp/syntax=$WORK\b041\_pkg_.a
  2076. packagefile compress/gzip=c:\dev\go\pkg\windows_amd64\compress\gzip.a
  2077. packagefile encoding/binary=c:\dev\go\pkg\windows_amd64\encoding\binary.a
  2078. packagefile text/tabwriter=c:\dev\go\pkg\windows_amd64\text\tabwriter.a
  2079. packagefile path/filepath=$WORK\b049\_pkg_.a
  2080. packagefile compress/flate=c:\dev\go\pkg\windows_amd64\compress\flate.a
  2081. packagefile hash/crc32=c:\dev\go\pkg\windows_amd64\hash\crc32.a
  2082. packagefile hash=c:\dev\go\pkg\windows_amd64\hash.a
  2083. EOF
  2084. cd .
  2085. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\link.exe" -o "$WORK\\b001\\strings.test.exe" -importcfg "$WORK\\b001\\importcfg.link" -buildmode=exe -buildid=Vznlyw7AMxt_xH3bF8ni/CtVE8mkrlF240n9w0YaG/CtVE8mkrlF240n9w0YaG/Vznlyw7AMxt_xH3bF8ni -X=x.y=z -extld=gcc "$WORK\\b001\\_pkg_.a"
  2086. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\strings.test.exe" # internal
  2087. mkdir -p c:\dev\go\src\cmd\go\
  2088. mv $WORK\b001\strings.test.exe c:\dev\go\src\cmd\go\strings.test.exe
  2089.  
  2090. go_test.go:5696: running testgo [test -c -n -gcflags=strings=-N -ldflags=strings=-X=x.y=z strings]
  2091. go_test.go:5696: standard error:
  2092. go_test.go:5696: mkdir -p $WORK\b001\
  2093.  
  2094. #
  2095. # strings
  2096. #
  2097.  
  2098. mkdir -p $WORK\b034\
  2099. cat >$WORK\b034\importcfg << 'EOF' # internal
  2100. # import config
  2101. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  2102. packagefile internal/bytealg=c:\dev\go\pkg\windows_amd64\internal\bytealg.a
  2103. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2104. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  2105. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  2106. EOF
  2107. cd c:\dev\go\src\strings
  2108. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b034\\_pkg_.a" -trimpath "$WORK\\b034" -N -p strings -std -buildid WP3DKQ7uEmh74vg4F164/WP3DKQ7uEmh74vg4F164 -D "" -importcfg "$WORK\\b034\\importcfg" -pack -asmhdr "$WORK\\b034\\go_asm.h" -c=4 "c:\\dev\\go\\src\\strings\\builder.go" "c:\\dev\\go\\src\\strings\\compare.go" "c:\\dev\\go\\src\\strings\\reader.go" "c:\\dev\\go\\src\\strings\\replace.go" "c:\\dev\\go\\src\\strings\\search.go" "c:\\dev\\go\\src\\strings\\strings.go" "c:\\dev\\go\\src\\strings\\strings_decl.go" "c:\\dev\\go\\src\\strings\\export_test.go"
  2109. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\asm.exe" -trimpath "$WORK\\b034" -I "$WORK\\b034\\" -I "c:\\dev\\go\\pkg\\include" -D GOOS_windows -D GOARCH_amd64 -o "$WORK\\b034\\strings.o" "c:\\dev\\go\\src\\strings\\strings.s"
  2110. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\pack.exe" r "$WORK\\b034\\_pkg_.a" "$WORK\\b034\\strings.o" # internal
  2111. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b034\\_pkg_.a" # internal
  2112.  
  2113. #
  2114. # flag
  2115. #
  2116.  
  2117. mkdir -p $WORK\b027\
  2118. cat >$WORK\b027\importcfg << 'EOF' # internal
  2119. # import config
  2120. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  2121. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2122. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2123. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2124. packagefile reflect=c:\dev\go\pkg\windows_amd64\reflect.a
  2125. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2126. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  2127. packagefile strings=$WORK\b034\_pkg_.a
  2128. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  2129. EOF
  2130. cd c:\dev\go\src\flag
  2131. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b027\\_pkg_.a" -trimpath "$WORK\\b027" -p flag -std -complete -buildid m99rYqpo1LBxj6na-744/m99rYqpo1LBxj6na-744 -D "" -importcfg "$WORK\\b027\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\flag\\flag.go"
  2132. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b027\\_pkg_.a" # internal
  2133.  
  2134. #
  2135. # testing
  2136. #
  2137.  
  2138. mkdir -p $WORK\b024\
  2139. cat >$WORK\b024\importcfg << 'EOF' # internal
  2140. # import config
  2141. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2142. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  2143. packagefile flag=$WORK\b027\_pkg_.a
  2144. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2145. packagefile internal/race=c:\dev\go\pkg\windows_amd64\internal\race.a
  2146. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2147. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2148. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2149. packagefile runtime/debug=c:\dev\go\pkg\windows_amd64\runtime\debug.a
  2150. packagefile runtime/trace=c:\dev\go\pkg\windows_amd64\runtime\trace.a
  2151. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2152. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  2153. packagefile strings=$WORK\b034\_pkg_.a
  2154. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2155. packagefile sync/atomic=c:\dev\go\pkg\windows_amd64\sync\atomic.a
  2156. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  2157. EOF
  2158. cd c:\dev\go\src\testing
  2159. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b024\\_pkg_.a" -trimpath "$WORK\\b024" -p testing -std -complete -buildid X7LTo8ULxtpLKWDT0r6u/X7LTo8ULxtpLKWDT0r6u -D "" -importcfg "$WORK\\b024\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\testing\\allocs.go" "c:\\dev\\go\\src\\testing\\benchmark.go" "c:\\dev\\go\\src\\testing\\cover.go" "c:\\dev\\go\\src\\testing\\example.go" "c:\\dev\\go\\src\\testing\\match.go" "c:\\dev\\go\\src\\testing\\testing.go"
  2160. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b024\\_pkg_.a" # internal
  2161.  
  2162. #
  2163. # regexp/syntax
  2164. #
  2165.  
  2166. mkdir -p $WORK\b041\
  2167. cat >$WORK\b041\importcfg << 'EOF' # internal
  2168. # import config
  2169. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2170. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  2171. packagefile strings=$WORK\b034\_pkg_.a
  2172. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  2173. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  2174. EOF
  2175. cd c:\dev\go\src\regexp\syntax
  2176. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b041\\_pkg_.a" -trimpath "$WORK\\b041" -p regexp/syntax -std -complete -buildid DtMSkH0Od3kVzblwqTUK/DtMSkH0Od3kVzblwqTUK -D "" -importcfg "$WORK\\b041\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\regexp\\syntax\\compile.go" "c:\\dev\\go\\src\\regexp\\syntax\\doc.go" "c:\\dev\\go\\src\\regexp\\syntax\\op_string.go" "c:\\dev\\go\\src\\regexp\\syntax\\parse.go" "c:\\dev\\go\\src\\regexp\\syntax\\perl_groups.go" "c:\\dev\\go\\src\\regexp\\syntax\\prog.go" "c:\\dev\\go\\src\\regexp\\syntax\\regexp.go" "c:\\dev\\go\\src\\regexp\\syntax\\simplify.go"
  2177. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b041\\_pkg_.a" # internal
  2178.  
  2179. #
  2180. # regexp
  2181. #
  2182.  
  2183. mkdir -p $WORK\b040\
  2184. cat >$WORK\b040\importcfg << 'EOF' # internal
  2185. # import config
  2186. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2187. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2188. packagefile regexp/syntax=$WORK\b041\_pkg_.a
  2189. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2190. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  2191. packagefile strings=$WORK\b034\_pkg_.a
  2192. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2193. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  2194. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  2195. EOF
  2196. cd c:\dev\go\src\regexp
  2197. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b040\\_pkg_.a" -trimpath "$WORK\\b040" -p regexp -std -complete -buildid uweT4Iyb7I7IEM0ToLl-/uweT4Iyb7I7IEM0ToLl- -D "" -importcfg "$WORK\\b040\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\regexp\\backtrack.go" "c:\\dev\\go\\src\\regexp\\exec.go" "c:\\dev\\go\\src\\regexp\\onepass.go" "c:\\dev\\go\\src\\regexp\\regexp.go"
  2198. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b040\\_pkg_.a" # internal
  2199.  
  2200. #
  2201. # path/filepath
  2202. #
  2203.  
  2204. mkdir -p $WORK\b049\
  2205. cat >$WORK\b049\importcfg << 'EOF' # internal
  2206. # import config
  2207. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  2208. packagefile internal/syscall/windows=c:\dev\go\pkg\windows_amd64\internal\syscall\windows.a
  2209. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2210. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2211. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2212. packagefile strings=$WORK\b034\_pkg_.a
  2213. packagefile syscall=c:\dev\go\pkg\windows_amd64\syscall.a
  2214. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  2215. EOF
  2216. cd c:\dev\go\src\path\filepath
  2217. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b049\\_pkg_.a" -trimpath "$WORK\\b049" -p path/filepath -std -complete -buildid aOIL8QAgr7UHKIM1eqcH/aOIL8QAgr7UHKIM1eqcH -D "" -importcfg "$WORK\\b049\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\path\\filepath\\match.go" "c:\\dev\\go\\src\\path\\filepath\\path.go" "c:\\dev\\go\\src\\path\\filepath\\path_windows.go" "c:\\dev\\go\\src\\path\\filepath\\symlink.go" "c:\\dev\\go\\src\\path\\filepath\\symlink_windows.go"
  2218. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b049\\_pkg_.a" # internal
  2219.  
  2220. #
  2221. # io/ioutil
  2222. #
  2223.  
  2224. mkdir -p $WORK\b048\
  2225. cat >$WORK\b048\importcfg << 'EOF' # internal
  2226. # import config
  2227. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2228. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2229. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2230. packagefile path/filepath=$WORK\b049\_pkg_.a
  2231. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2232. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  2233. packagefile strings=$WORK\b034\_pkg_.a
  2234. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2235. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  2236. EOF
  2237. cd c:\dev\go\src\io\ioutil
  2238. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b048\\_pkg_.a" -trimpath "$WORK\\b048" -p io/ioutil -std -complete -buildid UNYzlZRvzOsc5GtxQRpQ/UNYzlZRvzOsc5GtxQRpQ -D "" -importcfg "$WORK\\b048\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\io\\ioutil\\ioutil.go" "c:\\dev\\go\\src\\io\\ioutil\\tempfile.go"
  2239. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b048\\_pkg_.a" # internal
  2240.  
  2241. #
  2242. # runtime/pprof
  2243. #
  2244.  
  2245. mkdir -p $WORK\b042\
  2246. cat >$WORK\b042\importcfg << 'EOF' # internal
  2247. # import config
  2248. packagefile bufio=c:\dev\go\pkg\windows_amd64\bufio.a
  2249. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2250. packagefile compress/gzip=c:\dev\go\pkg\windows_amd64\compress\gzip.a
  2251. packagefile context=c:\dev\go\pkg\windows_amd64\context.a
  2252. packagefile encoding/binary=c:\dev\go\pkg\windows_amd64\encoding\binary.a
  2253. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  2254. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2255. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2256. packagefile io/ioutil=$WORK\b048\_pkg_.a
  2257. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  2258. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2259. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2260. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2261. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  2262. packagefile strings=$WORK\b034\_pkg_.a
  2263. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2264. packagefile text/tabwriter=c:\dev\go\pkg\windows_amd64\text\tabwriter.a
  2265. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  2266. EOF
  2267. cd c:\dev\go\src\runtime\pprof
  2268. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b042\\_pkg_.a" -trimpath "$WORK\\b042" -p runtime/pprof -std -buildid hLK8Fbov4JcReJG25qMx/hLK8Fbov4JcReJG25qMx -D "" -importcfg "$WORK\\b042\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\runtime\\pprof\\elf.go" "c:\\dev\\go\\src\\runtime\\pprof\\label.go" "c:\\dev\\go\\src\\runtime\\pprof\\map.go" "c:\\dev\\go\\src\\runtime\\pprof\\pprof.go" "c:\\dev\\go\\src\\runtime\\pprof\\proto.go" "c:\\dev\\go\\src\\runtime\\pprof\\protobuf.go" "c:\\dev\\go\\src\\runtime\\pprof\\protomem.go" "c:\\dev\\go\\src\\runtime\\pprof\\runtime.go"
  2269. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b042\\_pkg_.a" # internal
  2270.  
  2271. #
  2272. # testing/internal/testdeps
  2273. #
  2274.  
  2275. mkdir -p $WORK\b038\
  2276. cat >$WORK\b038\importcfg << 'EOF' # internal
  2277. # import config
  2278. packagefile bufio=c:\dev\go\pkg\windows_amd64\bufio.a
  2279. packagefile internal/testlog=c:\dev\go\pkg\windows_amd64\internal\testlog.a
  2280. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2281. packagefile regexp=$WORK\b040\_pkg_.a
  2282. packagefile runtime/pprof=$WORK\b042\_pkg_.a
  2283. packagefile strings=$WORK\b034\_pkg_.a
  2284. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2285. EOF
  2286. cd c:\dev\go\src\testing\internal\testdeps
  2287. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b038\\_pkg_.a" -trimpath "$WORK\\b038" -p testing/internal/testdeps -std -complete -buildid CfNnhCdd8yUV0aJLYoi1/CfNnhCdd8yUV0aJLYoi1 -D "" -importcfg "$WORK\\b038\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\testing\\internal\\testdeps\\deps.go"
  2288. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b038\\_pkg_.a" # internal
  2289.  
  2290. #
  2291. # strings_test
  2292. #
  2293.  
  2294. mkdir -p $WORK\b051\
  2295. cat >$WORK\b051\importcfg << 'EOF' # internal
  2296. # import config
  2297. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2298. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2299. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2300. packagefile io/ioutil=$WORK\b048\_pkg_.a
  2301. packagefile math/rand=c:\dev\go\pkg\windows_amd64\math\rand.a
  2302. packagefile reflect=c:\dev\go\pkg\windows_amd64\reflect.a
  2303. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2304. packagefile testing=$WORK\b024\_pkg_.a
  2305. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  2306. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  2307. packagefile strings=$WORK\b034\_pkg_.a
  2308. EOF
  2309. cd c:\dev\go\src\strings
  2310. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b051\\_pkg_.a" -trimpath "$WORK\\b051" -N -p strings_test -complete -buildid MsZq_D4wn8y9HW3_B9DD/MsZq_D4wn8y9HW3_B9DD -D "" -importcfg "$WORK\\b051\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\strings\\builder_test.go" "c:\\dev\\go\\src\\strings\\compare_test.go" "c:\\dev\\go\\src\\strings\\example_test.go" "c:\\dev\\go\\src\\strings\\reader_test.go" "c:\\dev\\go\\src\\strings\\replace_test.go" "c:\\dev\\go\\src\\strings\\search_test.go" "c:\\dev\\go\\src\\strings\\strings_test.go"
  2311. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b051\\_pkg_.a" # internal
  2312.  
  2313. #
  2314. # strings.test
  2315. #
  2316.  
  2317. cat >$WORK\b001\importcfg << 'EOF' # internal
  2318. # import config
  2319. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2320. packagefile testing=$WORK\b024\_pkg_.a
  2321. packagefile testing/internal/testdeps=$WORK\b038\_pkg_.a
  2322. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2323. packagefile strings=$WORK\b034\_pkg_.a
  2324. packagefile strings_test=$WORK\b051\_pkg_.a
  2325. EOF
  2326. cd $WORK\b001\
  2327. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b001\\_pkg_.a" -trimpath "$WORK\\b001" -N -p main -complete -buildid CtVE8mkrlF240n9w0YaG/CtVE8mkrlF240n9w0YaG -D "" -importcfg "$WORK\\b001\\importcfg" -pack -c=4 "$WORK\\b001\\_testmain.go"
  2328. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\_pkg_.a" # internal
  2329. cat >$WORK\b001\importcfg.link << 'EOF' # internal
  2330. packagefile strings.test=$WORK\b001\_pkg_.a
  2331. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2332. packagefile testing=$WORK\b024\_pkg_.a
  2333. packagefile testing/internal/testdeps=$WORK\b038\_pkg_.a
  2334. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2335. packagefile strings=$WORK\b034\_pkg_.a
  2336. packagefile strings_test=$WORK\b051\_pkg_.a
  2337. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  2338. packagefile internal/poll=c:\dev\go\pkg\windows_amd64\internal\poll.a
  2339. packagefile internal/syscall/windows=c:\dev\go\pkg\windows_amd64\internal\syscall\windows.a
  2340. packagefile internal/testlog=c:\dev\go\pkg\windows_amd64\internal\testlog.a
  2341. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2342. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2343. packagefile sync/atomic=c:\dev\go\pkg\windows_amd64\sync\atomic.a
  2344. packagefile syscall=c:\dev\go\pkg\windows_amd64\syscall.a
  2345. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  2346. packagefile unicode/utf16=c:\dev\go\pkg\windows_amd64\unicode\utf16.a
  2347. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2348. packagefile flag=$WORK\b027\_pkg_.a
  2349. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2350. packagefile internal/race=c:\dev\go\pkg\windows_amd64\internal\race.a
  2351. packagefile runtime/debug=c:\dev\go\pkg\windows_amd64\runtime\debug.a
  2352. packagefile runtime/trace=c:\dev\go\pkg\windows_amd64\runtime\trace.a
  2353. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2354. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  2355. packagefile bufio=c:\dev\go\pkg\windows_amd64\bufio.a
  2356. packagefile regexp=$WORK\b040\_pkg_.a
  2357. packagefile runtime/pprof=$WORK\b042\_pkg_.a
  2358. packagefile internal/bytealg=c:\dev\go\pkg\windows_amd64\internal\bytealg.a
  2359. packagefile internal/cpu=c:\dev\go\pkg\windows_amd64\internal\cpu.a
  2360. packagefile runtime/internal/atomic=c:\dev\go\pkg\windows_amd64\runtime\internal\atomic.a
  2361. packagefile runtime/internal/sys=c:\dev\go\pkg\windows_amd64\runtime\internal\sys.a
  2362. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  2363. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  2364. packagefile io/ioutil=$WORK\b048\_pkg_.a
  2365. packagefile math/rand=c:\dev\go\pkg\windows_amd64\math\rand.a
  2366. packagefile reflect=c:\dev\go\pkg\windows_amd64\reflect.a
  2367. packagefile internal/syscall/windows/sysdll=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\sysdll.a
  2368. packagefile internal/syscall/windows/registry=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\registry.a
  2369. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  2370. packagefile context=c:\dev\go\pkg\windows_amd64\context.a
  2371. packagefile math/bits=c:\dev\go\pkg\windows_amd64\math\bits.a
  2372. packagefile regexp/syntax=$WORK\b041\_pkg_.a
  2373. packagefile compress/gzip=c:\dev\go\pkg\windows_amd64\compress\gzip.a
  2374. packagefile encoding/binary=c:\dev\go\pkg\windows_amd64\encoding\binary.a
  2375. packagefile text/tabwriter=c:\dev\go\pkg\windows_amd64\text\tabwriter.a
  2376. packagefile path/filepath=$WORK\b049\_pkg_.a
  2377. packagefile compress/flate=c:\dev\go\pkg\windows_amd64\compress\flate.a
  2378. packagefile hash/crc32=c:\dev\go\pkg\windows_amd64\hash\crc32.a
  2379. packagefile hash=c:\dev\go\pkg\windows_amd64\hash.a
  2380. EOF
  2381. cd .
  2382. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\link.exe" -o "$WORK\\b001\\strings.test.exe" -importcfg "$WORK\\b001\\importcfg.link" -buildmode=exe -buildid=Vznlyw7AMxt_xH3bF8ni/CtVE8mkrlF240n9w0YaG/CtVE8mkrlF240n9w0YaG/Vznlyw7AMxt_xH3bF8ni -X=x.y=z -extld=gcc "$WORK\\b001\\_pkg_.a"
  2383. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\strings.test.exe" # internal
  2384. mkdir -p c:\dev\go\src\cmd\go\
  2385. mv $WORK\b001\strings.test.exe c:\dev\go\src\cmd\go\strings.test.exe
  2386.  
  2387. === RUN TestGoTestMinusN
  2388. --- PASS: TestGoTestMinusN (0.21s)
  2389. go_test.go:5706: running testgo [test testdata/flag_test.go -n -args -v=7]
  2390. go_test.go:5706: standard error:
  2391. go_test.go:5706: mkdir -p $WORK\b001\
  2392.  
  2393. #
  2394. # command-line-arguments_test
  2395. #
  2396.  
  2397. mkdir -p $WORK\b051\
  2398. cat >$WORK\b051\importcfg << 'EOF' # internal
  2399. # import config
  2400. packagefile flag=c:\dev\go\pkg\windows_amd64\flag.a
  2401. packagefile log=c:\dev\go\pkg\windows_amd64\log.a
  2402. packagefile testing=c:\dev\go\pkg\windows_amd64\testing.a
  2403. EOF
  2404. cd c:\dev\go\src\cmd\go\testdata
  2405. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b051\\_pkg_.a" -trimpath "$WORK\\b051" -p command-line-arguments_test -complete -buildid cCleq-8lW7cI5ypKiycc/cCleq-8lW7cI5ypKiycc -D _/c_/dev/go/src/cmd/go/testdata -importcfg "$WORK\\b051\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\cmd\\go\\testdata\\flag_test.go"
  2406. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b051\\_pkg_.a" # internal
  2407.  
  2408. #
  2409. # command-line-arguments.test
  2410. #
  2411.  
  2412. cat >$WORK\b001\importcfg << 'EOF' # internal
  2413. # import config
  2414. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2415. packagefile testing=c:\dev\go\pkg\windows_amd64\testing.a
  2416. packagefile testing/internal/testdeps=c:\dev\go\pkg\windows_amd64\testing\internal\testdeps.a
  2417. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2418. packagefile command-line-arguments_test=$WORK\b051\_pkg_.a
  2419. EOF
  2420. cd $WORK\b001\
  2421. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b001\\_pkg_.a" -trimpath "$WORK\\b001" -p main -complete -buildid d7f6z0BfK6EMUXERZg8Z/d7f6z0BfK6EMUXERZg8Z -dwarf=false -D "" -importcfg "$WORK\\b001\\importcfg" -pack -c=4 "$WORK\\b001\\_testmain.go"
  2422. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\_pkg_.a" # internal
  2423. cat >$WORK\b001\importcfg.link << 'EOF' # internal
  2424. packagefile command-line-arguments.test=$WORK\b001\_pkg_.a
  2425. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2426. packagefile testing=c:\dev\go\pkg\windows_amd64\testing.a
  2427. packagefile testing/internal/testdeps=c:\dev\go\pkg\windows_amd64\testing\internal\testdeps.a
  2428. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2429. packagefile command-line-arguments_test=$WORK\b051\_pkg_.a
  2430. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  2431. packagefile internal/poll=c:\dev\go\pkg\windows_amd64\internal\poll.a
  2432. packagefile internal/syscall/windows=c:\dev\go\pkg\windows_amd64\internal\syscall\windows.a
  2433. packagefile internal/testlog=c:\dev\go\pkg\windows_amd64\internal\testlog.a
  2434. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2435. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2436. packagefile sync/atomic=c:\dev\go\pkg\windows_amd64\sync\atomic.a
  2437. packagefile syscall=c:\dev\go\pkg\windows_amd64\syscall.a
  2438. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  2439. packagefile unicode/utf16=c:\dev\go\pkg\windows_amd64\unicode\utf16.a
  2440. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2441. packagefile flag=c:\dev\go\pkg\windows_amd64\flag.a
  2442. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2443. packagefile internal/race=c:\dev\go\pkg\windows_amd64\internal\race.a
  2444. packagefile runtime/debug=c:\dev\go\pkg\windows_amd64\runtime\debug.a
  2445. packagefile runtime/trace=c:\dev\go\pkg\windows_amd64\runtime\trace.a
  2446. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2447. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  2448. packagefile strings=c:\dev\go\pkg\windows_amd64\strings.a
  2449. packagefile bufio=c:\dev\go\pkg\windows_amd64\bufio.a
  2450. packagefile regexp=c:\dev\go\pkg\windows_amd64\regexp.a
  2451. packagefile runtime/pprof=c:\dev\go\pkg\windows_amd64\runtime\pprof.a
  2452. packagefile internal/bytealg=c:\dev\go\pkg\windows_amd64\internal\bytealg.a
  2453. packagefile internal/cpu=c:\dev\go\pkg\windows_amd64\internal\cpu.a
  2454. packagefile runtime/internal/atomic=c:\dev\go\pkg\windows_amd64\runtime\internal\atomic.a
  2455. packagefile runtime/internal/sys=c:\dev\go\pkg\windows_amd64\runtime\internal\sys.a
  2456. packagefile log=c:\dev\go\pkg\windows_amd64\log.a
  2457. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  2458. packagefile internal/syscall/windows/sysdll=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\sysdll.a
  2459. packagefile internal/syscall/windows/registry=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\registry.a
  2460. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  2461. packagefile reflect=c:\dev\go\pkg\windows_amd64\reflect.a
  2462. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  2463. packagefile context=c:\dev\go\pkg\windows_amd64\context.a
  2464. packagefile math/bits=c:\dev\go\pkg\windows_amd64\math\bits.a
  2465. packagefile regexp/syntax=c:\dev\go\pkg\windows_amd64\regexp\syntax.a
  2466. packagefile compress/gzip=c:\dev\go\pkg\windows_amd64\compress\gzip.a
  2467. packagefile encoding/binary=c:\dev\go\pkg\windows_amd64\encoding\binary.a
  2468. packagefile io/ioutil=c:\dev\go\pkg\windows_amd64\io\ioutil.a
  2469. packagefile text/tabwriter=c:\dev\go\pkg\windows_amd64\text\tabwriter.a
  2470. packagefile compress/flate=c:\dev\go\pkg\windows_amd64\compress\flate.a
  2471. packagefile hash/crc32=c:\dev\go\pkg\windows_amd64\hash\crc32.a
  2472. packagefile path/filepath=c:\dev\go\pkg\windows_amd64\path\filepath.a
  2473. packagefile hash=c:\dev\go\pkg\windows_amd64\hash.a
  2474. EOF
  2475. cd .
  2476. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\link.exe" -o "$WORK\\b001\\flag.test.exe" -importcfg "$WORK\\b001\\importcfg.link" -s -w -buildmode=exe -buildid=MNgC7cWkaZTFv9cY3OZ0/d7f6z0BfK6EMUXERZg8Z/d7f6z0BfK6EMUXERZg8Z/MNgC7cWkaZTFv9cY3OZ0 -extld=gcc "$WORK\\b001\\_pkg_.a"
  2477. cat >$WORK\b051\vet.cfg << 'EOF' # internal
  2478. {
  2479. "Compiler": "gc",
  2480. "Dir": "c:\\dev\\go\\src\\cmd\\go\\testdata",
  2481. "GoFiles": [
  2482. "c:\\dev\\go\\src\\cmd\\go\\testdata\\flag_test.go"
  2483. ],
  2484. "ImportMap": {
  2485. "flag": "flag",
  2486. "fmt": "fmt",
  2487. "log": "log",
  2488. "testing": "testing"
  2489. },
  2490. "PackageFile": {
  2491. "flag": "c:\\dev\\go\\pkg\\windows_amd64\\flag.a",
  2492. "fmt": "c:\\dev\\go\\pkg\\windows_amd64\\fmt.a",
  2493. "log": "c:\\dev\\go\\pkg\\windows_amd64\\log.a",
  2494. "testing": "c:\\dev\\go\\pkg\\windows_amd64\\testing.a"
  2495. },
  2496. "ImportPath": "command-line-arguments_test",
  2497. "SucceedOnTypecheckFailure": false
  2498. }
  2499. EOF
  2500. cd c:\dev\go\src\cmd\go\testdata
  2501. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\vet.exe" -atomic -bool -buildtags -nilfunc -printf "$WORK\\b051\\vet.cfg"
  2502. $WORK\b001\flag.test.exe -v=7
  2503.  
  2504. === RUN TestGoTestJSON
  2505. --- SKIP: TestGoTestJSON (0.00s)
  2506. go_test.go:45: skipping test in -short mode
  2507. === RUN TestFailFast
  2508. --- SKIP: TestFailFast (0.00s)
  2509. go_test.go:45: skipping test in -short mode
  2510. === RUN TestImportPath
  2511. --- SKIP: TestImportPath (0.00s)
  2512. go_test.go:45: skipping test in -short mode
  2513. === RUN TestCpuprofileTwice
  2514. === PAUSE TestCpuprofileTwice
  2515. === RUN TestAtomicCoverpkgAll
  2516. === PAUSE TestAtomicCoverpkgAll
  2517. === RUN TestCoverpkgAllRuntime
  2518. === PAUSE TestCoverpkgAllRuntime
  2519. === RUN TestBadCommandLines
  2520. --- PASS: TestBadCommandLines (0.32s)
  2521. go_test.go:5900: running testgo [build x]
  2522. go_test.go:5903: running testgo [build x]
  2523. go_test.go:5903: standard error:
  2524. go_test.go:5903: can't load package: package x: invalid input file name "@y.go"
  2525.  
  2526. go_test.go:5903: testgo failed as expected: exit status 1
  2527. go_test.go:5908: running testgo [build x]
  2528. go_test.go:5908: standard error:
  2529. go_test.go:5908: can't load package: package x: invalid input file name "-y.go"
  2530.  
  2531. go_test.go:5908: testgo failed as expected: exit status 1
  2532. go_test.go:5912: running testgo [build -gcflags=all=@x x]
  2533. go_test.go:5912: standard error:
  2534. go_test.go:5912: go build x: invalid command-line argument @x in command: "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build328623042\\b001\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build328623042\\b001" @x -p x -complete -buildid nLeWObsqj8fXFW-126OK/nLeWObsqj8fXFW-126OK -D "" -importcfg "C:\\Windows\\TEMP\\go-build328623042\\b001\\importcfg" -pack "C:\\Windows\\TEMP\\gotest281433979\\src\\x\\x.go"
  2535.  
  2536. go_test.go:5912: testgo failed as expected: exit status 1
  2537. go_test.go:5917: running testgo [build @x]
  2538. go_test.go:5917: standard error:
  2539. go_test.go:5917: can't load package: package @x: invalid input directory name "@x"
  2540.  
  2541. go_test.go:5917: testgo failed as expected: exit status 1
  2542. go_test.go:5922: running testgo [build @x/y]
  2543. go_test.go:5922: standard error:
  2544. go_test.go:5922: can't load package: package @x/y: invalid import path "@x/y"
  2545.  
  2546. go_test.go:5922: testgo failed as expected: exit status 1
  2547. go_test.go:5927: running testgo [build -- -x]
  2548. go_test.go:5927: standard error:
  2549. go_test.go:5927: can't load package: package -x: invalid input directory name "-x"
  2550.  
  2551. go_test.go:5927: testgo failed as expected: exit status 1
  2552. go_test.go:5932: running testgo [build -- -x/y]
  2553. go_test.go:5932: standard error:
  2554. go_test.go:5932: can't load package: package -x/y: invalid import path "-x/y"
  2555.  
  2556. go_test.go:5932: testgo failed as expected: exit status 1
  2557. === RUN TestBadCgoDirectives
  2558. --- PASS: TestBadCgoDirectives (1.77s)
  2559. go_test.go:5952: running testgo [build x]
  2560. go_test.go:5952: standard error:
  2561. go_test.go:5952: # x
  2562. C:\Windows\TEMP\gotest824824478\src\x\x.go:3: //go:cgo_ldflag "-fplugin=foo.so" only allowed in cgo-generated code
  2563.  
  2564. go_test.go:5952: testgo failed as expected: exit status 2
  2565. go_test.go:5956: running testgo [build x]
  2566. go_test.go:5956: standard error:
  2567. go_test.go:5956: can't load package: package x: no Go files in C:\Windows\TEMP\gotest824824478\src\x
  2568.  
  2569. go_test.go:5956: testgo failed as expected: exit status 1
  2570. go_test.go:5964: running testgo [build x]
  2571. go_test.go:5964: standard error:
  2572. go_test.go:5964: can't load package: package x: no Go files in C:\Windows\TEMP\gotest824824478\src\x
  2573.  
  2574. go_test.go:5964: testgo failed as expected: exit status 1
  2575. go_test.go:5967: running testgo [build C:\Windows\TEMP\gotest824824478\src\x\_cgo_yy.go]
  2576. go_test.go:5967: standard error:
  2577. go_test.go:5967: can't load package: package main: no Go files in C:\Windows\TEMP\gotest824824478\src\x
  2578.  
  2579. go_test.go:5967: testgo failed as expected: exit status 1
  2580. go_test.go:5979: running testgo [build x]
  2581. go_test.go:5979: standard error:
  2582. go_test.go:5979: go build x: invalid flag in #cgo CFLAGS: -fplugin=foo.so
  2583.  
  2584. go_test.go:5979: testgo failed as expected: exit status 1
  2585. go_test.go:5986: running testgo [build x]
  2586. go_test.go:5986: standard error:
  2587. go_test.go:5986: go build x: invalid flag in #cgo CFLAGS: -fplugin=foo.so
  2588.  
  2589. go_test.go:5986: testgo failed as expected: exit status 1
  2590. go_test.go:5993: running testgo [build x]
  2591. go_test.go:5993: standard error:
  2592. go_test.go:5993: go build x: invalid pkg-config package name: -foo
  2593.  
  2594. go_test.go:5993: testgo failed as expected: exit status 1
  2595. go_test.go:6000: running testgo [build x]
  2596. go_test.go:6000: standard error:
  2597. go_test.go:6000: go build x: invalid pkg-config package name: @foo
  2598.  
  2599. go_test.go:6000: testgo failed as expected: exit status 1
  2600. go_test.go:6007: running testgo [build x]
  2601. go_test.go:6007: standard error:
  2602. go_test.go:6007: go build x: invalid flag in #cgo CFLAGS: @foo
  2603.  
  2604. go_test.go:6007: testgo failed as expected: exit status 1
  2605. go_test.go:6014: running testgo [build x]
  2606. go_test.go:6014: standard error:
  2607. go_test.go:6014: go build x: invalid flag in #cgo CFLAGS: -D without argument (see https://golang.org/s/invalidflag)
  2608.  
  2609. go_test.go:6014: testgo failed as expected: exit status 1
  2610. go_test.go:6024: running testgo [build x]
  2611. go_test.go:6024: standard error:
  2612. go_test.go:6024: go build x: invalid flag in #cgo CFLAGS: -D @foo (see https://golang.org/s/invalidflag)
  2613.  
  2614. go_test.go:6024: testgo failed as expected: exit status 1
  2615. go_test.go:6031: running testgo [build x]
  2616. go_test.go:6031: standard error:
  2617. go_test.go:6031: go build x: invalid flag in #cgo CFLAGS: -D@foo
  2618.  
  2619. go_test.go:6031: testgo failed as expected: exit status 1
  2620. go_test.go:6038: running testgo [build -n x]
  2621. go_test.go:6038: standard error:
  2622. go_test.go:6038:
  2623. #
  2624. # runtime/cgo
  2625. #
  2626.  
  2627. mkdir -p $WORK\b002\
  2628. cd c:\dev\go\src\runtime\cgo
  2629. CGO_LDFLAGS='"-g" "-O2"' "c:\\dev\\go\\pkg\\tool\\windows_amd64\\cgo.exe" -objdir "$WORK\\b002\\" -importpath runtime/cgo -import_runtime_cgo=false -import_syscall=false -- -I "$WORK\\b002\\" -D@foo -Wall -Werror "c:\\dev\\go\\src\\runtime\\cgo\\cgo.go"
  2630. cd $WORK
  2631. gcc -fno-caret-diagnostics -c -x c - || true
  2632. gcc -Qunused-arguments -c -x c - || true
  2633. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2634. gcc -gno-record-gcc-switches -c -x c - || true
  2635. cd $WORK\b002
  2636. gcc -I "c:\\dev\\go\\src\\runtime\\cgo" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b002\\" -D@foo -Wall -Werror -o "c:\\dev\\go\\src\\runtime\\cgo\\$WORK\\b002\\_x001.o" -c _cgo_export.c
  2637. cd $WORK
  2638. gcc -fno-caret-diagnostics -c -x c - || true
  2639. gcc -Qunused-arguments -c -x c - || true
  2640. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2641. gcc -gno-record-gcc-switches -c -x c - || true
  2642. cd $WORK\b002
  2643. gcc -I "c:\\dev\\go\\src\\runtime\\cgo" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b002\\" -D@foo -Wall -Werror -o "c:\\dev\\go\\src\\runtime\\cgo\\$WORK\\b002\\_x002.o" -c cgo.cgo2.c
  2644. cd $WORK
  2645. gcc -fno-caret-diagnostics -c -x c - || true
  2646. gcc -Qunused-arguments -c -x c - || true
  2647. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2648. gcc -gno-record-gcc-switches -c -x c - || true
  2649. cd c:\dev\go\src\runtime\cgo
  2650. gcc -I "c:\\dev\\go\\src\\runtime\\cgo" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b002\\" -D@foo -Wall -Werror -o "c:\\dev\\go\\src\\runtime\\cgo\\$WORK\\b002\\_x003.o" -c gcc_context.c
  2651. cd $WORK
  2652. gcc -fno-caret-diagnostics -c -x c - || true
  2653. gcc -Qunused-arguments -c -x c - || true
  2654. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2655. gcc -gno-record-gcc-switches -c -x c - || true
  2656. cd c:\dev\go\src\runtime\cgo
  2657. gcc -I "c:\\dev\\go\\src\\runtime\\cgo" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b002\\" -D@foo -Wall -Werror -o "c:\\dev\\go\\src\\runtime\\cgo\\$WORK\\b002\\_x004.o" -c gcc_libinit_windows.c
  2658. cd $WORK
  2659. gcc -fno-caret-diagnostics -c -x c - || true
  2660. gcc -Qunused-arguments -c -x c - || true
  2661. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2662. gcc -gno-record-gcc-switches -c -x c - || true
  2663. cd c:\dev\go\src\runtime\cgo
  2664. gcc -I "c:\\dev\\go\\src\\runtime\\cgo" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b002\\" -D@foo -Wall -Werror -o "c:\\dev\\go\\src\\runtime\\cgo\\$WORK\\b002\\_x005.o" -c gcc_util.c
  2665. cd $WORK
  2666. gcc -fno-caret-diagnostics -c -x c - || true
  2667. gcc -Qunused-arguments -c -x c - || true
  2668. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2669. gcc -gno-record-gcc-switches -c -x c - || true
  2670. cd c:\dev\go\src\runtime\cgo
  2671. gcc -I "c:\\dev\\go\\src\\runtime\\cgo" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b002\\" -D@foo -Wall -Werror -o "c:\\dev\\go\\src\\runtime\\cgo\\$WORK\\b002\\_x006.o" -c gcc_windows_amd64.c
  2672. cd $WORK
  2673. gcc -fno-caret-diagnostics -c -x c - || true
  2674. gcc -Qunused-arguments -c -x c - || true
  2675. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2676. gcc -gno-record-gcc-switches -c -x c - || true
  2677. cd c:\dev\go\src\runtime\cgo
  2678. gcc -I "c:\\dev\\go\\src\\runtime\\cgo" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b002\\" -D@foo -Wall -Werror -o "c:\\dev\\go\\src\\runtime\\cgo\\$WORK\\b002\\_x007.o" -c gcc_amd64.S
  2679. cd $WORK
  2680. gcc -fno-caret-diagnostics -c -x c - || true
  2681. gcc -Qunused-arguments -c -x c - || true
  2682. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2683. gcc -gno-record-gcc-switches -c -x c - || true
  2684. cd $WORK\b002
  2685. gcc -I "c:\\dev\\go\\src\\runtime\\cgo" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b002\\" -D@foo -Wall -Werror -o "c:\\dev\\go\\src\\runtime\\cgo\\$WORK\\b002\\_cgo_main.o" -c _cgo_main.c
  2686. cd $WORK
  2687. gcc -fno-caret-diagnostics -c -x c - || true
  2688. gcc -Qunused-arguments -c -x c - || true
  2689. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2690. gcc -gno-record-gcc-switches -c -x c - || true
  2691. cd c:\dev\go\src\runtime\cgo
  2692. gcc -I "c:\\dev\\go\\src\\runtime\\cgo" -m64 -mthreads -fmessage-length=0 -o "$WORK\\b002\\_cgo_.o" "$WORK\\b002\\_cgo_main.o" "$WORK\\b002\\_x001.o" "$WORK\\b002\\_x002.o" "$WORK\\b002\\_x003.o" "$WORK\\b002\\_x004.o" "$WORK\\b002\\_x005.o" "$WORK\\b002\\_x006.o" "$WORK\\b002\\_x007.o" -g -O2
  2693. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\cgo.exe" -dynpackage cgo -dynimport "$WORK\\b002\\_cgo_.o" -dynout "$WORK\\b002\\_cgo_import.go" -dynlinker
  2694. cat >$WORK\b002\importcfg << 'EOF' # internal
  2695. # import config
  2696. EOF
  2697. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b002\\_pkg_.a" -trimpath "$WORK\\b002" -p runtime/cgo -std -buildid WIYhptj3OITnu70ttj0p/WIYhptj3OITnu70ttj0p -D "" -importcfg "$WORK\\b002\\importcfg" -pack -asmhdr "$WORK\\b002\\go_asm.h" -c=4 "c:\\dev\\go\\src\\runtime\\cgo\\callbacks.go" "c:\\dev\\go\\src\\runtime\\cgo\\iscgo.go" "$WORK\\b002\\_cgo_gotypes.go" "$WORK\\b002\\cgo.cgo1.go" "$WORK\\b002\\_cgo_import.go"
  2698. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\asm.exe" -trimpath "$WORK\\b002" -I "$WORK\\b002\\" -I "c:\\dev\\go\\pkg\\include" -D GOOS_windows -D GOARCH_amd64 -o "$WORK\\b002\\asm_amd64.o" "c:\\dev\\go\\src\\runtime\\cgo\\asm_amd64.s"
  2699. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\pack.exe" r "$WORK\\b002\\_pkg_.a" "$WORK\\b002\\asm_amd64.o" "$WORK\\b002\\_x001.o" "$WORK\\b002\\_x002.o" "$WORK\\b002\\_x003.o" "$WORK\\b002\\_x004.o" "$WORK\\b002\\_x005.o" "$WORK\\b002\\_x006.o" "$WORK\\b002\\_x007.o" # internal
  2700. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b002\\_pkg_.a" # internal
  2701.  
  2702. #
  2703. # x
  2704. #
  2705.  
  2706. mkdir -p $WORK\b001\
  2707. cd C:\Windows\TEMP\gotest824824478\src\x
  2708. CGO_LDFLAGS='"-g" "-O2"' "c:\\dev\\go\\pkg\\tool\\windows_amd64\\cgo.exe" -objdir "$WORK\\b001\\" -importpath x -- -I "$WORK\\b001\\" -D@foo "C:\\Windows\\TEMP\\gotest824824478\\src\\x\\y.go"
  2709. cd $WORK
  2710. gcc -fno-caret-diagnostics -c -x c - || true
  2711. gcc -Qunused-arguments -c -x c - || true
  2712. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2713. gcc -gno-record-gcc-switches -c -x c - || true
  2714. cd $WORK\b001
  2715. gcc -I "C:\\Windows\\TEMP\\gotest824824478\\src\\x" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b001\\" -D@foo -o "C:\\Windows\\TEMP\\gotest824824478\\src\\x\\$WORK\\b001\\_x001.o" -c _cgo_export.c
  2716. cd $WORK
  2717. gcc -fno-caret-diagnostics -c -x c - || true
  2718. gcc -Qunused-arguments -c -x c - || true
  2719. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2720. gcc -gno-record-gcc-switches -c -x c - || true
  2721. cd $WORK\b001
  2722. gcc -I "C:\\Windows\\TEMP\\gotest824824478\\src\\x" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b001\\" -D@foo -o "C:\\Windows\\TEMP\\gotest824824478\\src\\x\\$WORK\\b001\\_x002.o" -c y.cgo2.c
  2723. cd $WORK
  2724. gcc -fno-caret-diagnostics -c -x c - || true
  2725. gcc -Qunused-arguments -c -x c - || true
  2726. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2727. gcc -gno-record-gcc-switches -c -x c - || true
  2728. cd $WORK\b001
  2729. gcc -I "C:\\Windows\\TEMP\\gotest824824478\\src\\x" -m64 -mthreads -fmessage-length=0 -I "$WORK\\b001\\" -D@foo -o "C:\\Windows\\TEMP\\gotest824824478\\src\\x\\$WORK\\b001\\_cgo_main.o" -c _cgo_main.c
  2730. cd $WORK
  2731. gcc -fno-caret-diagnostics -c -x c - || true
  2732. gcc -Qunused-arguments -c -x c - || true
  2733. gcc -fdebug-prefix-map=a=b -c -x c - || true
  2734. gcc -gno-record-gcc-switches -c -x c - || true
  2735. cd C:\Windows\TEMP\gotest824824478\src\x
  2736. gcc -I "C:\\Windows\\TEMP\\gotest824824478\\src\\x" -m64 -mthreads -fmessage-length=0 -o "$WORK\\b001\\_cgo_.o" "$WORK\\b001\\_cgo_main.o" "$WORK\\b001\\_x001.o" "$WORK\\b001\\_x002.o" -g -O2
  2737. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\cgo.exe" -dynpackage x -dynimport "$WORK\\b001\\_cgo_.o" -dynout "$WORK\\b001\\_cgo_import.go"
  2738. cat >$WORK\b001\importcfg << 'EOF' # internal
  2739. # import config
  2740. packagefile runtime/cgo=$WORK\b002\_pkg_.a
  2741. packagefile syscall=c:\dev\go\pkg\windows_amd64\syscall.a
  2742. EOF
  2743. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b001\\_pkg_.a" -trimpath "$WORK\\b001" -p x -buildid cdOFUuHhOruNXX12F-oS/cdOFUuHhOruNXX12F-oS -D "" -importcfg "$WORK\\b001\\importcfg" -pack -c=4 "C:\\Windows\\TEMP\\gotest824824478\\src\\x\\x.go" "$WORK\\b001\\_cgo_gotypes.go" "$WORK\\b001\\y.cgo1.go" "$WORK\\b001\\_cgo_import.go"
  2744. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\pack.exe" r "$WORK\\b001\\_pkg_.a" "$WORK\\b001\\_x001.o" "$WORK\\b001\\_x002.o" # internal
  2745. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\_pkg_.a" # internal
  2746.  
  2747. === RUN TestTwoPkgConfigs
  2748. --- SKIP: TestTwoPkgConfigs (0.00s)
  2749. go_test.go:6047: no shell scripts on windows
  2750. === RUN TestFilepathUnderCwdFormat
  2751. --- PASS: TestFilepathUnderCwdFormat (0.60s)
  2752. go_test.go:6079: running testgo [test -x -cover log]
  2753. go_test.go:6079: standard output:
  2754. go_test.go:6079: ok log 0.025s coverage: 68.0% of statements
  2755.  
  2756. go_test.go:6079: standard error:
  2757. go_test.go:6079: WORK=C:\Windows\TEMP\go-build539556610
  2758. mkdir -p $WORK\b001\
  2759. mkdir -p $WORK\b051\
  2760. cd $WORK\b051\
  2761. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\cover.exe" -mode set -var GoCover_0_383336666631383465376234 -o "C:\\Windows\\TEMP\\go-build539556610\\b051\\log.cover.go" "c:\\dev\\go\\src\\log\\log.go"
  2762. cat >$WORK\b051\importcfg << 'EOF' # internal
  2763. # import config
  2764. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2765. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2766. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2767. packagefile regexp=c:\dev\go\pkg\windows_amd64\regexp.a
  2768. packagefile strings=c:\dev\go\pkg\windows_amd64\strings.a
  2769. packagefile testing=c:\dev\go\pkg\windows_amd64\testing.a
  2770. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  2771. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2772. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2773. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2774. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2775. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2776. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  2777. EOF
  2778. cd c:\dev\go\src\log
  2779. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build539556610\\b051\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build539556610\\b051" -p log -std -complete -buildid Hc6YUZWZDevtvFId_0NL/Hc6YUZWZDevtvFId_0NL -D "" -importcfg "C:\\Windows\\TEMP\\go-build539556610\\b051\\importcfg" -pack -c=4 "C:\\Windows\\TEMP\\go-build539556610\\b051\\log.cover.go" "c:\\dev\\go\\src\\log\\log_test.go"
  2780. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build539556610\\b051\\_pkg_.a" # internal
  2781. mkdir -p $WORK\b052\
  2782. cat >$WORK\b051\vet.cfg << 'EOF' # internal
  2783. {
  2784. "Compiler": "gc",
  2785. "Dir": "c:\\dev\\go\\src\\log",
  2786. "GoFiles": [
  2787. "C:\\Windows\\TEMP\\go-build539556610\\b051\\log.cover.go",
  2788. "c:\\dev\\go\\src\\log\\log_test.go"
  2789. ],
  2790. "ImportMap": {
  2791. "bytes": "bytes",
  2792. "fmt": "fmt",
  2793. "io": "io",
  2794. "os": "os",
  2795. "regexp": "regexp",
  2796. "runtime": "runtime",
  2797. "strings": "strings",
  2798. "sync": "sync",
  2799. "testing": "testing",
  2800. "time": "time"
  2801. },
  2802. "PackageFile": {
  2803. "bytes": "c:\\dev\\go\\pkg\\windows_amd64\\bytes.a",
  2804. "fmt": "c:\\dev\\go\\pkg\\windows_amd64\\fmt.a",
  2805. "io": "c:\\dev\\go\\pkg\\windows_amd64\\io.a",
  2806. "os": "c:\\dev\\go\\pkg\\windows_amd64\\os.a",
  2807. "regexp": "c:\\dev\\go\\pkg\\windows_amd64\\regexp.a",
  2808. "runtime": "c:\\dev\\go\\pkg\\windows_amd64\\runtime.a",
  2809. "strings": "c:\\dev\\go\\pkg\\windows_amd64\\strings.a",
  2810. "sync": "c:\\dev\\go\\pkg\\windows_amd64\\sync.a",
  2811. "testing": "c:\\dev\\go\\pkg\\windows_amd64\\testing.a",
  2812. "time": "c:\\dev\\go\\pkg\\windows_amd64\\time.a"
  2813. },
  2814. "ImportPath": "log",
  2815. "SucceedOnTypecheckFailure": false
  2816. }
  2817. EOF
  2818. cat >$WORK\b052\importcfg << 'EOF' # internal
  2819. # import config
  2820. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2821. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2822. packagefile log=$WORK\b051\_pkg_.a
  2823. EOF
  2824. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\vet.exe" -atomic -bool -buildtags -nilfunc -printf "C:\\Windows\\TEMP\\go-build539556610\\b051\\vet.cfg"
  2825. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build539556610\\b052\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build539556610\\b052" -p log_test -complete -buildid N7Q2FaUr4vYqIrT1BiNZ/N7Q2FaUr4vYqIrT1BiNZ -D "" -importcfg "C:\\Windows\\TEMP\\go-build539556610\\b052\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\log\\example_test.go"
  2826. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build539556610\\b052\\_pkg_.a" # internal
  2827. cat >$WORK\b001\importcfg << 'EOF' # internal
  2828. # import config
  2829. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2830. packagefile testing=c:\dev\go\pkg\windows_amd64\testing.a
  2831. packagefile testing/internal/testdeps=c:\dev\go\pkg\windows_amd64\testing\internal\testdeps.a
  2832. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2833. packagefile log=$WORK\b051\_pkg_.a
  2834. packagefile log_test=$WORK\b052\_pkg_.a
  2835. EOF
  2836. cd $WORK\b001\
  2837. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build539556610\\b001\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build539556610\\b001" -p main -complete -buildid eCKJreO-LsfCpjvatRtU/eCKJreO-LsfCpjvatRtU -dwarf=false -D "" -importcfg "C:\\Windows\\TEMP\\go-build539556610\\b001\\importcfg" -pack -c=4 "C:\\Windows\\TEMP\\go-build539556610\\b001\\_testmain.go"
  2838. cat >$WORK\b052\vet.cfg << 'EOF' # internal
  2839. {
  2840. "Compiler": "gc",
  2841. "Dir": "c:\\dev\\go\\src\\log",
  2842. "GoFiles": [
  2843. "c:\\dev\\go\\src\\log\\example_test.go"
  2844. ],
  2845. "ImportMap": {
  2846. "bytes": "bytes",
  2847. "fmt": "fmt",
  2848. "log": "log"
  2849. },
  2850. "PackageFile": {
  2851. "bytes": "c:\\dev\\go\\pkg\\windows_amd64\\bytes.a",
  2852. "fmt": "c:\\dev\\go\\pkg\\windows_amd64\\fmt.a",
  2853. "log": "C:\\Windows\\TEMP\\go-build539556610\\b051\\_pkg_.a"
  2854. },
  2855. "ImportPath": "log_test",
  2856. "SucceedOnTypecheckFailure": false
  2857. }
  2858. EOF
  2859. cd c:\dev\go\src\log
  2860. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\vet.exe" -atomic -bool -buildtags -nilfunc -printf "C:\\Windows\\TEMP\\go-build539556610\\b052\\vet.cfg"
  2861. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build539556610\\b001\\_pkg_.a" # internal
  2862. cat >$WORK\b001\importcfg.link << 'EOF' # internal
  2863. packagefile log.test=$WORK\b001\_pkg_.a
  2864. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  2865. packagefile testing=c:\dev\go\pkg\windows_amd64\testing.a
  2866. packagefile testing/internal/testdeps=c:\dev\go\pkg\windows_amd64\testing\internal\testdeps.a
  2867. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  2868. packagefile log=$WORK\b051\_pkg_.a
  2869. packagefile log_test=$WORK\b052\_pkg_.a
  2870. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  2871. packagefile internal/poll=c:\dev\go\pkg\windows_amd64\internal\poll.a
  2872. packagefile internal/syscall/windows=c:\dev\go\pkg\windows_amd64\internal\syscall\windows.a
  2873. packagefile internal/testlog=c:\dev\go\pkg\windows_amd64\internal\testlog.a
  2874. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  2875. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  2876. packagefile sync/atomic=c:\dev\go\pkg\windows_amd64\sync\atomic.a
  2877. packagefile syscall=c:\dev\go\pkg\windows_amd64\syscall.a
  2878. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  2879. packagefile unicode/utf16=c:\dev\go\pkg\windows_amd64\unicode\utf16.a
  2880. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  2881. packagefile flag=c:\dev\go\pkg\windows_amd64\flag.a
  2882. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  2883. packagefile internal/race=c:\dev\go\pkg\windows_amd64\internal\race.a
  2884. packagefile runtime/debug=c:\dev\go\pkg\windows_amd64\runtime\debug.a
  2885. packagefile runtime/trace=c:\dev\go\pkg\windows_amd64\runtime\trace.a
  2886. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  2887. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  2888. packagefile strings=c:\dev\go\pkg\windows_amd64\strings.a
  2889. packagefile bufio=c:\dev\go\pkg\windows_amd64\bufio.a
  2890. packagefile regexp=c:\dev\go\pkg\windows_amd64\regexp.a
  2891. packagefile runtime/pprof=c:\dev\go\pkg\windows_amd64\runtime\pprof.a
  2892. packagefile internal/bytealg=c:\dev\go\pkg\windows_amd64\internal\bytealg.a
  2893. packagefile internal/cpu=c:\dev\go\pkg\windows_amd64\internal\cpu.a
  2894. packagefile runtime/internal/atomic=c:\dev\go\pkg\windows_amd64\runtime\internal\atomic.a
  2895. packagefile runtime/internal/sys=c:\dev\go\pkg\windows_amd64\runtime\internal\sys.a
  2896. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  2897. packagefile internal/syscall/windows/sysdll=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\sysdll.a
  2898. packagefile internal/syscall/windows/registry=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\registry.a
  2899. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  2900. packagefile reflect=c:\dev\go\pkg\windows_amd64\reflect.a
  2901. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  2902. packagefile context=c:\dev\go\pkg\windows_amd64\context.a
  2903. packagefile math/bits=c:\dev\go\pkg\windows_amd64\math\bits.a
  2904. packagefile regexp/syntax=c:\dev\go\pkg\windows_amd64\regexp\syntax.a
  2905. packagefile compress/gzip=c:\dev\go\pkg\windows_amd64\compress\gzip.a
  2906. packagefile encoding/binary=c:\dev\go\pkg\windows_amd64\encoding\binary.a
  2907. packagefile io/ioutil=c:\dev\go\pkg\windows_amd64\io\ioutil.a
  2908. packagefile text/tabwriter=c:\dev\go\pkg\windows_amd64\text\tabwriter.a
  2909. packagefile compress/flate=c:\dev\go\pkg\windows_amd64\compress\flate.a
  2910. packagefile hash/crc32=c:\dev\go\pkg\windows_amd64\hash\crc32.a
  2911. packagefile path/filepath=c:\dev\go\pkg\windows_amd64\path\filepath.a
  2912. packagefile hash=c:\dev\go\pkg\windows_amd64\hash.a
  2913. EOF
  2914. cd .
  2915. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\link.exe" -o "C:\\Windows\\TEMP\\go-build539556610\\b001\\log.test.exe" -importcfg "C:\\Windows\\TEMP\\go-build539556610\\b001\\importcfg.link" -s -w -buildmode=exe -buildid=Hfkb6oGXOd5X45Bfx7sh/eCKJreO-LsfCpjvatRtU/ijlMQb3hqf5tMIUcFq-h/Hfkb6oGXOd5X45Bfx7sh -extld=gcc "C:\\Windows\\TEMP\\go-build539556610\\b001\\_pkg_.a"
  2916. $WORK\b001\log.test.exe
  2917. rm -r $WORK\b001\
  2918.  
  2919. === RUN TestDontReportRemoveOfEmptyDir
  2920. === PAUSE TestDontReportRemoveOfEmptyDir
  2921. === RUN TestNoRelativeTmpdir
  2922. --- PASS: TestNoRelativeTmpdir (0.04s)
  2923. go_test.go:6111: running testgo [build a]
  2924. go_test.go:6111: standard error:
  2925. go_test.go:6111: cmd/go: relative tmpdir not supported
  2926.  
  2927. go_test.go:6111: testgo failed as expected: exit status 1
  2928. === RUN TestNoteReading
  2929. --- PASS: TestNoteReading (0.70s)
  2930. note_test.go:23: running testgo [build -ldflags -buildid=TestNoteReading-Build-ID -o C:\Windows\TEMP\gotest539026816\hello.exe C:\Windows\TEMP\gotest539026816\hello.go]
  2931. note_test.go:41: running testgo [build -ldflags -buildid=TestNoteReading-Build-ID -linkmode=external -o C:\Windows\TEMP\gotest539026816\hello2.exe C:\Windows\TEMP\gotest539026816\hello.go]
  2932. === RUN TestVendorImports
  2933. --- PASS: TestVendorImports (0.14s)
  2934. vendor_test.go:23: running testgo [list -f {{.ImportPath}} {{.Imports}} vend/... vend/vendor/... vend/x/vendor/...]
  2935. vendor_test.go:23: standard output:
  2936. vendor_test.go:23: vend [vend/vendor/p r]
  2937. vend/dir1 []
  2938. vend/hello [fmt vend/vendor/strings]
  2939. vend/subdir [vend/vendor/p r]
  2940. vend/x [vend/x/vendor/p vend/vendor/q vend/x/vendor/r vend/dir1 vend/vendor/vend/dir1/dir2]
  2941. vend/x/invalid [vend/x/invalid/vendor/foo]
  2942. vend/vendor/p []
  2943. vend/vendor/q []
  2944. vend/vendor/strings []
  2945. vend/vendor/vend/dir1/dir2 []
  2946. vend/x/vendor/p []
  2947. vend/x/vendor/p/p [notfound]
  2948. vend/x/vendor/r []
  2949.  
  2950. === RUN TestVendorBuild
  2951. --- PASS: TestVendorBuild (0.11s)
  2952. vendor_test.go:53: running testgo [build vend/x]
  2953. === RUN TestVendorRun
  2954. --- PASS: TestVendorRun (0.36s)
  2955. vendor_test.go:61: running testgo [run hello.go]
  2956. vendor_test.go:61: standard output:
  2957. vendor_test.go:61: hello, world
  2958.  
  2959. === RUN TestVendorGOPATH
  2960. --- PASS: TestVendorGOPATH (0.37s)
  2961. vendor_test.go:76: running testgo [run hello.go]
  2962. vendor_test.go:76: standard output:
  2963. vendor_test.go:76: hello, world
  2964.  
  2965. === RUN TestVendorTest
  2966. --- PASS: TestVendorTest (0.50s)
  2967. vendor_test.go:85: running testgo [test -v]
  2968. vendor_test.go:85: standard output:
  2969. vendor_test.go:85: === RUN TestMsgInternal
  2970. --- PASS: TestMsgInternal (0.00s)
  2971. === RUN TestMsgExternal
  2972. --- PASS: TestMsgExternal (0.00s)
  2973. PASS
  2974. ok vend/hello 0.022s
  2975.  
  2976. === RUN TestVendorInvalid
  2977. --- PASS: TestVendorInvalid (0.03s)
  2978. vendor_test.go:95: running testgo [build vend/x/invalid]
  2979. vendor_test.go:95: standard error:
  2980. vendor_test.go:95: testdata\src\vend\x\invalid\invalid.go:3:8: must be imported as foo
  2981.  
  2982. vendor_test.go:95: testgo failed as expected: exit status 1
  2983. === RUN TestVendorImportError
  2984. --- PASS: TestVendorImportError (0.03s)
  2985. vendor_test.go:104: running testgo [build vend/x/vendor/p/p]
  2986. vendor_test.go:104: standard error:
  2987. vendor_test.go:104: testdata\src\vend\x\vendor\p\p\p.go:3:8: cannot find package "notfound" in any of:
  2988. c:\dev\go\src\cmd\go\testdata\src\vend\x\vendor\notfound (vendor tree)
  2989. c:\dev\go\src\cmd\go\testdata\src\vend\vendor\notfound
  2990. c:\dev\go\src\notfound (from $GOROOT)
  2991. c:\dev\go\src\cmd\go\testdata\src\notfound (from $GOPATH)
  2992.  
  2993. vendor_test.go:104: testgo failed as expected: exit status 1
  2994. === RUN TestVendorGet
  2995. --- SKIP: TestVendorGet (0.00s)
  2996. go_test.go:45: skipping test in -short mode
  2997. === RUN TestVendorGetUpdate
  2998. --- SKIP: TestVendorGetUpdate (0.00s)
  2999. testenv.go:163: skipping test: no external network in -short mode
  3000. === RUN TestVendorGetU
  3001. --- SKIP: TestVendorGetU (0.00s)
  3002. testenv.go:163: skipping test: no external network in -short mode
  3003. === RUN TestVendorGetTU
  3004. --- SKIP: TestVendorGetTU (0.00s)
  3005. testenv.go:163: skipping test: no external network in -short mode
  3006. === RUN TestVendorGetBadVendor
  3007. --- SKIP: TestVendorGetBadVendor (0.00s)
  3008. testenv.go:163: skipping test: no external network in -short mode
  3009. === RUN TestGetSubmodules
  3010. --- SKIP: TestGetSubmodules (0.00s)
  3011. testenv.go:163: skipping test: no external network in -short mode
  3012. === RUN TestVendorCache
  3013. --- PASS: TestVendorCache (0.04s)
  3014. vendor_test.go:244: running testgo [build p]
  3015. vendor_test.go:244: standard error:
  3016. vendor_test.go:244: testdata\testvendor\src\q\z\z.go:3:8: must be imported as x
  3017.  
  3018. vendor_test.go:244: testgo failed as expected: exit status 1
  3019. === RUN TestVendorTest2
  3020. --- SKIP: TestVendorTest2 (0.00s)
  3021. testenv.go:163: skipping test: no external network in -short mode
  3022. === RUN TestVendorTest3
  3023. --- SKIP: TestVendorTest3 (0.00s)
  3024. testenv.go:163: skipping test: no external network in -short mode
  3025. === RUN TestVendorList
  3026. --- SKIP: TestVendorList (0.00s)
  3027. testenv.go:163: skipping test: no external network in -short mode
  3028. === RUN TestVendor12156
  3029. --- PASS: TestVendor12156 (0.04s)
  3030. vendor_test.go:327: running testgo [build p.go]
  3031. vendor_test.go:327: standard error:
  3032. vendor_test.go:327: p.go:3:8: cannot find package "x" in any of:
  3033. c:\dev\go\src\x (from $GOROOT)
  3034. c:\dev\go\src\cmd\go\testdata\testvendor2\src\x (from $GOPATH)
  3035.  
  3036. vendor_test.go:327: testgo failed as expected: exit status 1
  3037. === CONT TestBuildComplex
  3038. === CONT TestListTemplateContextFunction
  3039. === RUN TestListTemplateContextFunction/GOARCH
  3040. === PAUSE TestListTemplateContextFunction/GOARCH
  3041. === RUN TestListTemplateContextFunction/GOOS
  3042. === PAUSE TestListTemplateContextFunction/GOOS
  3043. === RUN TestListTemplateContextFunction/GOROOT
  3044. === PAUSE TestListTemplateContextFunction/GOROOT
  3045. === RUN TestListTemplateContextFunction/GOPATH
  3046. === PAUSE TestListTemplateContextFunction/GOPATH
  3047. === RUN TestListTemplateContextFunction/CgoEnabled
  3048. === CONT TestMultipleGOPATHEntriesReportedSeparately
  3049. === CONT TestDontReportRemoveOfEmptyDir
  3050. === PAUSE TestListTemplateContextFunction/CgoEnabled
  3051. === RUN TestListTemplateContextFunction/UseAllFiles
  3052. === PAUSE TestListTemplateContextFunction/UseAllFiles
  3053. === RUN TestListTemplateContextFunction/Compiler
  3054. === PAUSE TestListTemplateContextFunction/Compiler
  3055. === RUN TestListTemplateContextFunction/BuildTags
  3056. === PAUSE TestListTemplateContextFunction/BuildTags
  3057. === RUN TestListTemplateContextFunction/ReleaseTags
  3058. === PAUSE TestListTemplateContextFunction/ReleaseTags
  3059. === RUN TestListTemplateContextFunction/InstallSuffix
  3060. === PAUSE TestListTemplateContextFunction/InstallSuffix
  3061. === CONT TestSymlinkWarning
  3062. --- PASS: TestMultipleGOPATHEntriesReportedSeparately (0.09s)
  3063. go_test.go:1981: running testgo [install foo/quxx]
  3064. go_test.go:1981: standard error:
  3065. go_test.go:1981: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
  3066. c:\dev\go\src\foo\quxx (from $GOROOT)
  3067. c:\dev\go\src\cmd\go\testdata\a\src\foo\quxx (from $GOPATH)
  3068. c:\dev\go\src\cmd\go\testdata\b\src\foo\quxx
  3069.  
  3070. go_test.go:1981: testgo failed as expected: exit status 1
  3071. === CONT TestCgoShowsFullPathNames
  3072. --- PASS: TestSymlinkWarning (0.17s)
  3073. go_test.go:2404: running testgo [list example/xx/z...]
  3074. go_test.go:2404: standard error:
  3075. go_test.go:2404: warning: "example/xx/z..." matched no packages
  3076.  
  3077. go_test.go:2409: running testgo [list example/xx/...]
  3078. go_test.go:2409: standard error:
  3079. go_test.go:2409: warning: ignoring symlink C:\Windows\TEMP\gotest759760050\src\example\xx\yy
  3080. warning: "example/xx/..." matched no packages
  3081.  
  3082. === CONT TestCgoAsmError
  3083. --- PASS: TestDontReportRemoveOfEmptyDir (0.18s)
  3084. go_test.go:6090: running testgo [install -x a]
  3085. go_test.go:6090: standard error:
  3086. go_test.go:6090: WORK=C:\Windows\TEMP\go-build839965586
  3087. mkdir -p $WORK\b001\
  3088. cat >$WORK\b001\importcfg << 'EOF' # internal
  3089. # import config
  3090. EOF
  3091. cd C:\Windows\TEMP\gotest496205535\src\a
  3092. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build839965586\\b001\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build839965586\\b001" -p a -complete -buildid 2_f_4qi71xpah8KqkxN1/2_f_4qi71xpah8KqkxN1 -D "" -importcfg "C:\\Windows\\TEMP\\go-build839965586\\b001\\importcfg" -pack -c=4 "C:\\Windows\\TEMP\\gotest496205535\\src\\a\\a.go"
  3093. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build839965586\\b001\\_pkg_.a" # internal
  3094. mkdir -p C:\Windows\TEMP\gotest496205535\pkg\windows_amd64\
  3095. cp $WORK\b001\_pkg_.a C:\Windows\TEMP\gotest496205535\pkg\windows_amd64\a.a
  3096. rm -r $WORK\b001\
  3097.  
  3098. go_test.go:6091: running testgo [install -x a]
  3099. go_test.go:6091: standard error:
  3100. go_test.go:6091: WORK=C:\Windows\TEMP\go-build603627610
  3101.  
  3102. === CONT TestCoverageDashC
  3103. --- PASS: TestCgoAsmError (0.24s)
  3104. go_test.go:2812: running testgo [build cgoasm]
  3105. go_test.go:2812: standard error:
  3106. go_test.go:2812: go build cgoasm: package using cgo has Go assembly file p.s
  3107.  
  3108. go_test.go:2812: testgo failed as expected: exit status 1
  3109. === CONT TestCoverageDotImport
  3110. --- PASS: TestCgoShowsFullPathNames (0.32s)
  3111. go_test.go:2855: running testgo [build x/y/dirname]
  3112. go_test.go:2855: standard error:
  3113. go_test.go:2855: # x/y/dirname
  3114. C:\Windows\TEMP\gotest375725161\src\x\y\dirname\foo.go:4:13: expected '}', found 'EOF'
  3115.  
  3116. go_test.go:2855: testgo failed as expected: exit status 2
  3117. === CONT TestFFLAGS
  3118. --- PASS: TestBuildComplex (0.56s)
  3119. go_test.go:784: running testgo [build -x -o NUL complex]
  3120. go_test.go:784: standard error:
  3121. go_test.go:784: WORK=C:\Windows\TEMP\go-build213487742
  3122. mkdir -p $WORK\b003\
  3123. cat >$WORK\b003\importcfg << 'EOF' # internal
  3124. # import config
  3125. EOF
  3126. cd c:\dev\go\src\cmd\go\testdata\src\complex\nest\vendor\v1
  3127. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build213487742\\b003\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build213487742\\b003" -p complex/nest/vendor/v1 -complete -buildid -tBDBBm9IBk48QRr-1oZ/-tBDBBm9IBk48QRr-1oZ -D "" -importcfg "C:\\Windows\\TEMP\\go-build213487742\\b003\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\cmd\\go\\testdata\\src\\complex\\nest\\vendor\\v1\\v1.go"
  3128. mkdir -p $WORK\b004\
  3129. cat >$WORK\b004\importcfg << 'EOF' # internal
  3130. # import config
  3131. EOF
  3132. cd c:\dev\go\src\cmd\go\testdata\src\complex\nest\sub\vendor\v2
  3133. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build213487742\\b004\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build213487742\\b004" -p complex/nest/sub/vendor/v2 -complete -buildid LeB_SqN6oNT9nob-4epB/LeB_SqN6oNT9nob-4epB -D "" -importcfg "C:\\Windows\\TEMP\\go-build213487742\\b004\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\cmd\\go\\testdata\\src\\complex\\nest\\sub\\vendor\\v2\\v2.go"
  3134. mkdir -p $WORK\b007\
  3135. cat >$WORK\b007\importcfg << 'EOF' # internal
  3136. # import config
  3137. EOF
  3138. cd c:\dev\go\src\cmd\go\testdata\src\complex\w
  3139. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build213487742\\b007\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build213487742\\b007" -p complex/w -complete -buildid W2MOrwfAqtMdwAtVAE8r/W2MOrwfAqtMdwAtVAE8r -D "" -importcfg "C:\\Windows\\TEMP\\go-build213487742\\b007\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\cmd\\go\\testdata\\src\\complex\\w\\w.go"
  3140. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build213487742\\b003\\_pkg_.a" # internal
  3141. mkdir -p $WORK\b006\
  3142. cat >$WORK\b006\importcfg << 'EOF' # internal
  3143. # import config
  3144. EOF
  3145. cd c:\dev\go\src\cmd\go\testdata\src\complex\nest\vendor\v3
  3146. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build213487742\\b006\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build213487742\\b006" -p complex/nest/vendor/v3 -complete -buildid SCle2SQGJwFijSV6OVjz/SCle2SQGJwFijSV6OVjz -D "" -importcfg "C:\\Windows\\TEMP\\go-build213487742\\b006\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\cmd\\go\\testdata\\src\\complex\\nest\\vendor\\v3\\v3.go"
  3147. mkdir -p $WORK\b008\
  3148. cat >$WORK\b008\importcfg << 'EOF' # internal
  3149. # import config
  3150. EOF
  3151. cd c:\dev\go\src\cmd\go\testdata\src\complex\vendor\v
  3152. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build213487742\\b008\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build213487742\\b008" -p complex/vendor/v -complete -buildid E6z-_5vr5kfU-UQR_8Uc/E6z-_5vr5kfU-UQR_8Uc -D "" -importcfg "C:\\Windows\\TEMP\\go-build213487742\\b008\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\cmd\\go\\testdata\\src\\complex\\vendor\\v\\v.go"
  3153. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build213487742\\b004\\_pkg_.a" # internal
  3154. mkdir -p $WORK\b002\
  3155. cat >$WORK\b002\importcfg << 'EOF' # internal
  3156. # import config
  3157. importmap v1=complex/nest/vendor/v1
  3158. importmap v2=complex/nest/sub/vendor/v2
  3159. packagefile complex/nest/vendor/v1=$WORK\b003\_pkg_.a
  3160. packagefile complex/nest/sub/vendor/v2=$WORK\b004\_pkg_.a
  3161. EOF
  3162. cd c:\dev\go\src\cmd\go\testdata\src\complex\nest\sub\test12
  3163. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build213487742\\b002\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build213487742\\b002" -p complex/nest/sub/test12 -complete -buildid 190ZL1V5aoEJ4cE8ouSQ/190ZL1V5aoEJ4cE8ouSQ -D "" -importcfg "C:\\Windows\\TEMP\\go-build213487742\\b002\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\cmd\\go\\testdata\\src\\complex\\nest\\sub\\test12\\p.go"
  3164. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build213487742\\b006\\_pkg_.a" # internal
  3165. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build213487742\\b007\\_pkg_.a" # internal
  3166. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build213487742\\b008\\_pkg_.a" # internal
  3167. mkdir -p $WORK\b005\
  3168. cat >$WORK\b005\importcfg << 'EOF' # internal
  3169. # import config
  3170. importmap v2=complex/nest/sub/vendor/v2
  3171. importmap v3=complex/nest/vendor/v3
  3172. packagefile complex/nest/sub/vendor/v2=$WORK\b004\_pkg_.a
  3173. packagefile complex/nest/vendor/v3=$WORK\b006\_pkg_.a
  3174. EOF
  3175. cd c:\dev\go\src\cmd\go\testdata\src\complex\nest\sub\test23
  3176. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build213487742\\b005\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build213487742\\b005" -p complex/nest/sub/test23 -complete -buildid zGE_MB2AyfIzjAAQI_IF/zGE_MB2AyfIzjAAQI_IF -D "" -importcfg "C:\\Windows\\TEMP\\go-build213487742\\b005\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\cmd\\go\\testdata\\src\\complex\\nest\\sub\\test23\\p.go"
  3177. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build213487742\\b002\\_pkg_.a" # internal
  3178. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build213487742\\b005\\_pkg_.a" # internal
  3179. mkdir -p $WORK\b001\
  3180. cat >$WORK\b001\importcfg << 'EOF' # internal
  3181. # import config
  3182. importmap v=complex/vendor/v
  3183. packagefile complex/nest/sub/test12=$WORK\b002\_pkg_.a
  3184. packagefile complex/nest/sub/test23=$WORK\b005\_pkg_.a
  3185. packagefile complex/w=$WORK\b007\_pkg_.a
  3186. packagefile complex/vendor/v=$WORK\b008\_pkg_.a
  3187. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  3188. EOF
  3189. cd c:\dev\go\src\cmd\go\testdata\src\complex
  3190. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\go-build213487742\\b001\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\go-build213487742\\b001" -p main -complete -buildid z2VytIRvTY3xQV0oV8sT/z2VytIRvTY3xQV0oV8sT -D "" -importcfg "C:\\Windows\\TEMP\\go-build213487742\\b001\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\cmd\\go\\testdata\\src\\complex\\main.go"
  3191. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build213487742\\b001\\_pkg_.a" # internal
  3192. cat >$WORK\b001\importcfg.link << 'EOF' # internal
  3193. packagefile complex=$WORK\b001\_pkg_.a
  3194. packagefile complex/nest/sub/test12=$WORK\b002\_pkg_.a
  3195. packagefile complex/nest/sub/test23=$WORK\b005\_pkg_.a
  3196. packagefile complex/w=$WORK\b007\_pkg_.a
  3197. packagefile complex/vendor/v=$WORK\b008\_pkg_.a
  3198. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  3199. packagefile complex/nest/vendor/v1=$WORK\b003\_pkg_.a
  3200. packagefile complex/nest/sub/vendor/v2=$WORK\b004\_pkg_.a
  3201. packagefile complex/nest/vendor/v3=$WORK\b006\_pkg_.a
  3202. packagefile internal/bytealg=c:\dev\go\pkg\windows_amd64\internal\bytealg.a
  3203. packagefile internal/cpu=c:\dev\go\pkg\windows_amd64\internal\cpu.a
  3204. packagefile runtime/internal/atomic=c:\dev\go\pkg\windows_amd64\runtime\internal\atomic.a
  3205. packagefile runtime/internal/sys=c:\dev\go\pkg\windows_amd64\runtime\internal\sys.a
  3206. EOF
  3207. mkdir -p $WORK\b001\exe\
  3208. cd .
  3209. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\link.exe" -o "C:\\Windows\\TEMP\\go-build213487742\\b001\\exe\\a.out.exe" -importcfg "C:\\Windows\\TEMP\\go-build213487742\\b001\\importcfg.link" -buildmode=exe -buildid=7Acp2s-LCyonHrb1_qCg/z2VytIRvTY3xQV0oV8sT/Fohhd-KQETYtZbYQ8WDX/7Acp2s-LCyonHrb1_qCg -extld=gcc "C:\\Windows\\TEMP\\go-build213487742\\b001\\_pkg_.a"
  3210. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\go-build213487742\\b001\\exe\\a.out.exe" # internal
  3211.  
  3212. === CONT TestCoverpkgAllRuntime
  3213. --- PASS: TestFFLAGS (0.25s)
  3214. go_test.go:4523: running testgo [build -x p]
  3215. go_test.go:4523: standard error:
  3216. go_test.go:4523: WORK=C:\Windows\TEMP\go-build048056742
  3217. mkdir -p $WORK\b001\
  3218. go build p: invalid flag in #cgo FFLAGS: -no-such-fortran-flag
  3219.  
  3220. === CONT TestAtomicCoverpkgAll
  3221. --- PASS: TestCoverageDashC (1.04s)
  3222. go_test.go:2682: running testgo [test -c -o C:\Windows\TEMP\gotest864645300\coverdep -coverprofile=C:\Windows\TEMP\gotest864645300\no\such\dir\cover.out coverdep]
  3223. === CONT TestCpuprofileTwice
  3224. --- PASS: TestCoverageDotImport (1.06s)
  3225. go_test.go:2518: running testgo [test -coverpkg=coverdot1,coverdot2 coverdot2]
  3226. go_test.go:2518: standard output:
  3227. go_test.go:2518: ok coverdot2 0.032s coverage: 100.0% of statements in coverdot1, coverdot2
  3228.  
  3229. === CONT TestTestVetRebuild
  3230. === CONT TestIssue22588
  3231. --- PASS: TestTestVetRebuild (2.17s)
  3232. go_test.go:5608: running testgo [test b]
  3233. go_test.go:5608: standard output:
  3234. go_test.go:5608: ok b 0.484s
  3235.  
  3236. go_test.go:5609: running testgo [vet b]
  3237. === CONT TestCacheOutput
  3238. --- SKIP: TestIssue22588 (0.00s)
  3239. go_test.go:5219: FindFirstFile /usr/bin/time: The system cannot find the path specified.
  3240. --- PASS: TestCpuprofileTwice (2.89s)
  3241. go_test.go:5857: running testgo [test -o=C:\Windows\TEMP\gotest653276456\x.test -cpuprofile=C:\Windows\TEMP\gotest653276456\cpu.out x]
  3242. go_test.go:5857: standard output:
  3243. go_test.go:5857: ok x 1.111s
  3244.  
  3245. go_test.go:5859: running testgo [test -o=C:\Windows\TEMP\gotest653276456\x.test -cpuprofile=C:\Windows\TEMP\gotest653276456\cpu.out x]
  3246. go_test.go:5859: standard output:
  3247. go_test.go:5859: ok x 0.289s
  3248.  
  3249. === CONT TestGOTMPDIR
  3250. --- PASS: TestGOTMPDIR (0.10s)
  3251. go_test.go:5107: running testgo [build -work -x complex/w]
  3252. go_test.go:5107: standard error:
  3253. go_test.go:5107: WORK=C:\Windows\TEMP\gotest037923633\go-build129130258
  3254. mkdir -p $WORK\b001\
  3255. cat >$WORK\b001\importcfg << 'EOF' # internal
  3256. # import config
  3257. EOF
  3258. cd c:\dev\go\src\cmd\go\testdata\src\complex\w
  3259. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Windows\\TEMP\\gotest037923633\\go-build129130258\\b001\\_pkg_.a" -trimpath "C:\\Windows\\TEMP\\gotest037923633\\go-build129130258\\b001" -p complex/w -complete -buildid W2MOrwfAqtMdwAtVAE8r/W2MOrwfAqtMdwAtVAE8r -D "" -importcfg "C:\\Windows\\TEMP\\gotest037923633\\go-build129130258\\b001\\importcfg" -pack -c=4 "c:\\dev\\go\\src\\cmd\\go\\testdata\\src\\complex\\w\\w.go"
  3260. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "C:\\Windows\\TEMP\\gotest037923633\\go-build129130258\\b001\\_pkg_.a" # internal
  3261.  
  3262. === CONT TestNeedVersion
  3263. --- PASS: TestCacheOutput (0.65s)
  3264. go_test.go:5158: running testgo [build -gcflags=-m errors]
  3265. go_test.go:5158: standard error:
  3266. go_test.go:5158: # errors
  3267. ..\..\errors\errors.go:9:6: can inline New
  3268. ..\..\errors\errors.go:18:6: can inline (*errorString).Error
  3269. ..\..\errors\errors.go:10:22: &errorString literal escapes to heap
  3270. ..\..\errors\errors.go:10:22: &errorString literal escapes to heap
  3271. ..\..\errors\errors.go:9:10: leaking param: text to result ~r1 level=-1
  3272. ..\..\errors\errors.go:18:7: leaking param: e to result ~r0 level=1
  3273.  
  3274. go_test.go:5162: running testgo [build -gcflags=-m errors]
  3275. go_test.go:5162: standard error:
  3276. go_test.go:5162: # errors
  3277. ..\..\errors\errors.go:9:6: can inline New
  3278. ..\..\errors\errors.go:18:6: can inline (*errorString).Error
  3279. ..\..\errors\errors.go:10:22: &errorString literal escapes to heap
  3280. ..\..\errors\errors.go:10:22: &errorString literal escapes to heap
  3281. ..\..\errors\errors.go:9:10: leaking param: text to result ~r1 level=-1
  3282. ..\..\errors\errors.go:18:7: leaking param: e to result ~r0 level=1
  3283.  
  3284. === CONT TestPackageMainTestCompilerFlags
  3285. === CONT TestGOROOTSearchFailureReporting
  3286. --- PASS: TestNeedVersion (0.22s)
  3287. go_test.go:4716: running testgo [run C:\Windows\TEMP\gotest923308764\goversion.go]
  3288. go_test.go:4716: standard error:
  3289. go_test.go:4716: # command-line-arguments
  3290. compile: version "devel +e0adc35c Tue May 8 21:15:48 2018 +0000" does not match go tool version "go1.testgo"
  3291.  
  3292. go_test.go:4716: testgo failed as expected: exit status 2
  3293. --- PASS: TestGOROOTSearchFailureReporting (0.06s)
  3294. go_test.go:1969: running testgo [install foo/quxx]
  3295. go_test.go:1969: standard error:
  3296. go_test.go:1969: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
  3297. c:\dev\go\src\foo\quxx (from $GOROOT)
  3298. C:\Users\Lubo\go\src\foo\quxx (from $GOPATH)
  3299.  
  3300. go_test.go:1969: testgo failed as expected: exit status 1
  3301. === CONT TestUnsuccessfulGoInstallShouldMentionMissingPackage
  3302. --- PASS: TestUnsuccessfulGoInstallShouldMentionMissingPackage (0.06s)
  3303. go_test.go:1959: running testgo [install foo/quxx]
  3304. go_test.go:1959: standard error:
  3305. go_test.go:1959: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
  3306. c:\dev\go\src\foo\quxx (from $GOROOT)
  3307. C:\Users\Lubo\go\src\foo\quxx (from $GOPATH)
  3308.  
  3309. go_test.go:1959: testgo failed as expected: exit status 1
  3310. === CONT TestGoListTest
  3311. === CONT TestGoListDeps
  3312. --- PASS: TestPackageMainTestCompilerFlags (0.46s)
  3313. go_test.go:1642: running testgo [test -c -n p1]
  3314. go_test.go:1642: standard error:
  3315. go_test.go:1642: mkdir -p $WORK\b001\
  3316.  
  3317. #
  3318. # p1
  3319. #
  3320.  
  3321. mkdir -p $WORK\b051\
  3322. cat >$WORK\b051\importcfg << 'EOF' # internal
  3323. # import config
  3324. packagefile testing=c:\dev\go\pkg\windows_amd64\testing.a
  3325. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  3326. EOF
  3327. cd C:\Windows\TEMP\gotest300340875\src\p1
  3328. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b051\\_pkg_.a" -trimpath "$WORK\\b051" -p p1 -complete -buildid XxkEiVNTP3JhxHAAEN4C/XxkEiVNTP3JhxHAAEN4C -D "" -importcfg "$WORK\\b051\\importcfg" -pack -c=4 "C:\\Windows\\TEMP\\gotest300340875\\src\\p1\\p1.go" "C:\\Windows\\TEMP\\gotest300340875\\src\\p1\\p1_test.go"
  3329. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b051\\_pkg_.a" # internal
  3330.  
  3331. #
  3332. # p1.test
  3333. #
  3334.  
  3335. cat >$WORK\b001\importcfg << 'EOF' # internal
  3336. # import config
  3337. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  3338. packagefile testing=c:\dev\go\pkg\windows_amd64\testing.a
  3339. packagefile testing/internal/testdeps=c:\dev\go\pkg\windows_amd64\testing\internal\testdeps.a
  3340. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  3341. packagefile p1=$WORK\b051\_pkg_.a
  3342. EOF
  3343. cd $WORK\b001\
  3344. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b001\\_pkg_.a" -trimpath "$WORK\\b001" -p main -complete -buildid 0twtoefRYBCslEzgMNX4/0twtoefRYBCslEzgMNX4 -D "" -importcfg "$WORK\\b001\\importcfg" -pack -c=4 "$WORK\\b001\\_testmain.go"
  3345. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\_pkg_.a" # internal
  3346. cat >$WORK\b001\importcfg.link << 'EOF' # internal
  3347. packagefile p1.test=$WORK\b001\_pkg_.a
  3348. packagefile os=c:\dev\go\pkg\windows_amd64\os.a
  3349. packagefile testing=c:\dev\go\pkg\windows_amd64\testing.a
  3350. packagefile testing/internal/testdeps=c:\dev\go\pkg\windows_amd64\testing\internal\testdeps.a
  3351. packagefile runtime=c:\dev\go\pkg\windows_amd64\runtime.a
  3352. packagefile p1=$WORK\b051\_pkg_.a
  3353. packagefile errors=c:\dev\go\pkg\windows_amd64\errors.a
  3354. packagefile internal/poll=c:\dev\go\pkg\windows_amd64\internal\poll.a
  3355. packagefile internal/syscall/windows=c:\dev\go\pkg\windows_amd64\internal\syscall\windows.a
  3356. packagefile internal/testlog=c:\dev\go\pkg\windows_amd64\internal\testlog.a
  3357. packagefile io=c:\dev\go\pkg\windows_amd64\io.a
  3358. packagefile sync=c:\dev\go\pkg\windows_amd64\sync.a
  3359. packagefile sync/atomic=c:\dev\go\pkg\windows_amd64\sync\atomic.a
  3360. packagefile syscall=c:\dev\go\pkg\windows_amd64\syscall.a
  3361. packagefile time=c:\dev\go\pkg\windows_amd64\time.a
  3362. packagefile unicode/utf16=c:\dev\go\pkg\windows_amd64\unicode\utf16.a
  3363. packagefile bytes=c:\dev\go\pkg\windows_amd64\bytes.a
  3364. packagefile flag=c:\dev\go\pkg\windows_amd64\flag.a
  3365. packagefile fmt=c:\dev\go\pkg\windows_amd64\fmt.a
  3366. packagefile internal/race=c:\dev\go\pkg\windows_amd64\internal\race.a
  3367. packagefile runtime/debug=c:\dev\go\pkg\windows_amd64\runtime\debug.a
  3368. packagefile runtime/trace=c:\dev\go\pkg\windows_amd64\runtime\trace.a
  3369. packagefile sort=c:\dev\go\pkg\windows_amd64\sort.a
  3370. packagefile strconv=c:\dev\go\pkg\windows_amd64\strconv.a
  3371. packagefile strings=c:\dev\go\pkg\windows_amd64\strings.a
  3372. packagefile bufio=c:\dev\go\pkg\windows_amd64\bufio.a
  3373. packagefile regexp=c:\dev\go\pkg\windows_amd64\regexp.a
  3374. packagefile runtime/pprof=c:\dev\go\pkg\windows_amd64\runtime\pprof.a
  3375. packagefile internal/bytealg=c:\dev\go\pkg\windows_amd64\internal\bytealg.a
  3376. packagefile internal/cpu=c:\dev\go\pkg\windows_amd64\internal\cpu.a
  3377. packagefile runtime/internal/atomic=c:\dev\go\pkg\windows_amd64\runtime\internal\atomic.a
  3378. packagefile runtime/internal/sys=c:\dev\go\pkg\windows_amd64\runtime\internal\sys.a
  3379. packagefile unicode/utf8=c:\dev\go\pkg\windows_amd64\unicode\utf8.a
  3380. packagefile internal/syscall/windows/sysdll=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\sysdll.a
  3381. packagefile internal/syscall/windows/registry=c:\dev\go\pkg\windows_amd64\internal\syscall\windows\registry.a
  3382. packagefile unicode=c:\dev\go\pkg\windows_amd64\unicode.a
  3383. packagefile reflect=c:\dev\go\pkg\windows_amd64\reflect.a
  3384. packagefile math=c:\dev\go\pkg\windows_amd64\math.a
  3385. packagefile context=c:\dev\go\pkg\windows_amd64\context.a
  3386. packagefile math/bits=c:\dev\go\pkg\windows_amd64\math\bits.a
  3387. packagefile regexp/syntax=c:\dev\go\pkg\windows_amd64\regexp\syntax.a
  3388. packagefile compress/gzip=c:\dev\go\pkg\windows_amd64\compress\gzip.a
  3389. packagefile encoding/binary=c:\dev\go\pkg\windows_amd64\encoding\binary.a
  3390. packagefile io/ioutil=c:\dev\go\pkg\windows_amd64\io\ioutil.a
  3391. packagefile text/tabwriter=c:\dev\go\pkg\windows_amd64\text\tabwriter.a
  3392. packagefile compress/flate=c:\dev\go\pkg\windows_amd64\compress\flate.a
  3393. packagefile hash/crc32=c:\dev\go\pkg\windows_amd64\hash\crc32.a
  3394. packagefile path/filepath=c:\dev\go\pkg\windows_amd64\path\filepath.a
  3395. packagefile hash=c:\dev\go\pkg\windows_amd64\hash.a
  3396. EOF
  3397. cd .
  3398. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\link.exe" -o "$WORK\\b001\\p1.test.exe" -importcfg "$WORK\\b001\\importcfg.link" -buildmode=exe -buildid=9Vw3g3zkDsDSptrgebuh/0twtoefRYBCslEzgMNX4/0twtoefRYBCslEzgMNX4/9Vw3g3zkDsDSptrgebuh -extld=gcc "$WORK\\b001\\_pkg_.a"
  3399. "c:\\dev\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b001\\p1.test.exe" # internal
  3400. mkdir -p c:\dev\go\src\cmd\go\
  3401. mv $WORK\b001\p1.test.exe c:\dev\go\src\cmd\go\p1.test.exe
  3402.  
  3403. --- PASS: TestGoListDeps (0.20s)
  3404. go_test.go:1903: running testgo [list -f {{.Deps}} p1]
  3405. go_test.go:1903: standard output:
  3406. go_test.go:1903: [p1/p2 p1/p2/p3 p1/p2/p3/p4]
  3407.  
  3408. go_test.go:1906: running testgo [list -deps p1]
  3409. go_test.go:1906: standard output:
  3410. go_test.go:1906: p1/p2/p3/p4
  3411. p1/p2/p3
  3412. p1/p2
  3413. p1
  3414.  
  3415. go_test.go:1910: running testgo [list -deps math]
  3416. go_test.go:1910: standard output:
  3417. go_test.go:1910: internal/cpu
  3418. unsafe
  3419. math
  3420.  
  3421. === CONT TestMatchesNoTestsDoesNotOverrideBuildFailure
  3422. --- PASS: TestMatchesNoTestsDoesNotOverrideBuildFailure (0.18s)
  3423. go_test.go:4300: running testgo [test -run ThisWillNotMatch syntaxerror]
  3424. go_test.go:4300: standard error:
  3425. go_test.go:4300: # syntaxerror
  3426. testdata\src\syntaxerror\x_test.go:3:11: expected identifier
  3427. FAIL syntaxerror [setup failed]
  3428.  
  3429. go_test.go:4300: testgo failed as expected: exit status 1
  3430. === CONT TestConcurrentAsm
  3431. --- PASS: TestAtomicCoverpkgAll (4.95s)
  3432. go_test.go:5872: running testgo [test -coverpkg=all -covermode=atomic x]
  3433. go_test.go:5872: standard output:
  3434. go_test.go:5872: ok x 0.035s coverage: 0.0% of statements in all
  3435.  
  3436. go_test.go:5874: running testgo [test -coverpkg=all -race x]
  3437. go_test.go:5874: standard output:
  3438. go_test.go:5874: ok x 1.053s coverage: 0.0% of statements in all
  3439.  
  3440. === CONT TestLdBindNow
  3441. --- PASS: TestConcurrentAsm (0.48s)
  3442. go_test.go:4476: running testgo [build p]
  3443. === CONT TestLinkXImportPathEscape
  3444. --- PASS: TestLdBindNow (0.13s)
  3445. go_test.go:4460: running testgo [help]
  3446. go_test.go:4460: standard output:
  3447. go_test.go:4460: Go is a tool for managing Go source code.
  3448.  
  3449. Usage:
  3450.  
  3451. go command [arguments]
  3452.  
  3453. The commands are:
  3454.  
  3455. bug start a bug report
  3456. build compile packages and dependencies
  3457. clean remove object files and cached files
  3458. doc show documentation for package or symbol
  3459. env print Go environment information
  3460. fix update packages to use new APIs
  3461. fmt gofmt (reformat) package sources
  3462. generate generate Go files by processing source
  3463. get download and install packages and dependencies
  3464. install compile and install packages and dependencies
  3465. list list packages
  3466. run compile and run Go program
  3467. test test packages
  3468. tool run specified go tool
  3469. version print Go version
  3470. vet report likely mistakes in packages
  3471.  
  3472. Use "go help [command]" for more information about a command.
  3473.  
  3474. Additional help topics:
  3475.  
  3476. buildmode build modes
  3477. c calling between Go and C
  3478. cache build and test caching
  3479. environment environment variables
  3480. filetype file types
  3481. gopath GOPATH environment variable
  3482. importpath import path syntax
  3483. packages package lists
  3484. testflag testing flags
  3485. testfunc testing functions
  3486.  
  3487. Use "go help [topic]" for more information about that topic.
  3488.  
  3489.  
  3490. === CONT TestAlwaysLinkSysoFiles
  3491. --- PASS: TestGoListTest (1.39s)
  3492. go_test.go:1929: running testgo [list -test -deps sort]
  3493. go_test.go:1929: standard output:
  3494. go_test.go:1929: internal/cpu
  3495. unsafe
  3496. math
  3497. internal/bytealg
  3498. runtime/internal/atomic
  3499. runtime/internal/sys
  3500. runtime
  3501. errors
  3502. math/bits
  3503. unicode/utf8
  3504. strconv
  3505. internal/race
  3506. sync/atomic
  3507. sync
  3508. unicode
  3509. reflect
  3510. sort
  3511. internal/syscall/windows/sysdll
  3512. unicode/utf16
  3513. syscall
  3514. internal/syscall/windows
  3515. io
  3516. internal/syscall/windows/registry
  3517. time
  3518. internal/poll
  3519. internal/testlog
  3520. os
  3521. bytes
  3522. fmt
  3523. sort [sort.test]
  3524. strings
  3525. flag [sort.test]
  3526. runtime/debug [sort.test]
  3527. context
  3528. runtime/trace
  3529. testing [sort.test]
  3530. bufio
  3531. regexp/syntax [sort.test]
  3532. regexp [sort.test]
  3533. compress/flate [sort.test]
  3534. encoding/binary
  3535. hash
  3536. hash/crc32
  3537. compress/gzip [sort.test]
  3538. path/filepath [sort.test]
  3539. io/ioutil [sort.test]
  3540. text/tabwriter
  3541. runtime/pprof [sort.test]
  3542. testing/internal/testdeps [sort.test]
  3543. os/exec [sort.test]
  3544. internal/testenv [sort.test]
  3545. math/rand
  3546. sort_test [sort.test]
  3547. sort.test
  3548.  
  3549. go_test.go:1936: running testgo [list -test sort]
  3550. go_test.go:1936: standard output:
  3551. go_test.go:1936: sort
  3552. sort.test
  3553.  
  3554. go_test.go:1943: running testgo [list -test cmd/dist cmd/doc]
  3555. go_test.go:1943: standard output:
  3556. go_test.go:1943: cmd/dist
  3557. cmd/doc
  3558. cmd/doc.test
  3559.  
  3560. go_test.go:1950: running testgo [list -test runtime/cgo]
  3561. go_test.go:1950: standard output:
  3562. go_test.go:1950: runtime/cgo
  3563.  
  3564. === CONT TestGoEnv
  3565. --- PASS: TestAlwaysLinkSysoFiles (0.22s)
  3566. go_test.go:4196: running testgo [list -f {{.SysoFiles}} syso]
  3567. go_test.go:4196: standard output:
  3568. go_test.go:4196: [a.syso]
  3569.  
  3570. go_test.go:4200: running testgo [list -f {{.SysoFiles}} syso]
  3571. go_test.go:4200: standard output:
  3572. go_test.go:4200: [a.syso]
  3573.  
  3574. === CONT TestVetWithOnlyCgoFiles
  3575. --- PASS: TestLinkXImportPathEscape (0.75s)
  3576. go_test.go:4443: running testgo [build -o ./linkx.exe -ldflags -X=my.pkg.Text=linkXworked my.pkg/main]
  3577. === CONT TestGoVetWithOnlyTestFiles
  3578. --- PASS: TestGoEnv (1.76s)
  3579. go_test.go:4262: running testgo [env GOARCH]
  3580. go_test.go:4262: standard output:
  3581. go_test.go:4262: arm
  3582.  
  3583. go_test.go:4265: running testgo [env GCCGO]
  3584. go_test.go:4265: standard output:
  3585. go_test.go:4265: gccgo
  3586.  
  3587. go_test.go:4268: running testgo [env CGO_CFLAGS]
  3588. go_test.go:4268: standard output:
  3589. go_test.go:4268: -g -O2
  3590.  
  3591. go_test.go:4272: running testgo [env CGO_CFLAGS]
  3592. go_test.go:4272: standard output:
  3593. go_test.go:4272: -foobar
  3594.  
  3595. go_test.go:4276: running testgo [env CC]
  3596. go_test.go:4276: standard output:
  3597. go_test.go:4276: gcc
  3598.  
  3599. go_test.go:4278: running testgo [env GOGCCFLAGS]
  3600. go_test.go:4278: standard output:
  3601. go_test.go:4278: -fmust -fgo -ffaster -fPIC -marm -fmessage-length=0
  3602.  
  3603. === CONT TestDefaultGOPATH
  3604. --- PASS: TestVetWithOnlyCgoFiles (2.23s)
  3605. go_test.go:3340: running testgo [vet p]
  3606. === CONT TestCaseCollisions
  3607. --- PASS: TestDefaultGOPATH (0.52s)
  3608. go_test.go:2031: running testgo [env GOPATH]
  3609. go_test.go:2031: standard output:
  3610. go_test.go:2031: C:\Windows\TEMP\gotest331091460\home\go
  3611.  
  3612. go_test.go:2035: running testgo [env GOPATH]
  3613. go_test.go:2035: standard output:
  3614. go_test.go:2035:
  3615.  
  3616. go_test.go:2039: running testgo [env GOPATH]
  3617. go_test.go:2039: standard output:
  3618. go_test.go:2039:
  3619.  
  3620. === CONT TestMentionGOPATHNotOnSecondEntry
  3621. --- PASS: TestMentionGOPATHNotOnSecondEntry (0.19s)
  3622. go_test.go:2007: running testgo [install foo/quxx]
  3623. go_test.go:2007: standard error:
  3624. go_test.go:2007: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
  3625. c:\dev\go\src\foo\quxx (from $GOROOT)
  3626. c:\dev\go\src\cmd\go\testdata\a\src\foo\quxx (from $GOPATH)
  3627. c:\dev\go\src\cmd\go\testdata\b\src\foo\quxx
  3628.  
  3629. go_test.go:2007: testgo failed as expected: exit status 1
  3630. === CONT TestGoInstallDetectsRemovedFiles
  3631. --- PASS: TestGoVetWithOnlyTestFiles (2.13s)
  3632. go_test.go:3326: running testgo [vet p]
  3633. === CONT TestNonCanonicalImportPaths
  3634. --- PASS: TestNonCanonicalImportPaths (0.07s)
  3635. go_test.go:1538: running testgo [build canonical/d]
  3636. go_test.go:1538: standard error:
  3637. go_test.go:1538: package canonical/d
  3638. imports canonical/b
  3639. imports canonical/a/: non-canonical import path: "canonical/a/" should be "canonical/a"
  3640.  
  3641. go_test.go:1538: testgo failed as expected: exit status 1
  3642. === CONT TestImportCycle
  3643. --- PASS: TestImportCycle (0.14s)
  3644. go_test.go:1367: running testgo [build selfimport]
  3645. go_test.go:1367: standard error:
  3646. go_test.go:1367: can't load package: import cycle not allowed
  3647. package selfimport
  3648. imports selfimport
  3649.  
  3650. go_test.go:1367: testgo failed as expected: exit status 1
  3651. go_test.go:1378: running testgo [list -e -json selfimport]
  3652. go_test.go:1378: standard output:
  3653. go_test.go:1378: {
  3654. "Dir": "c:\\dev\\go\\src\\cmd\\go\\testdata\\importcycle\\src\\selfimport",
  3655. "ImportPath": "selfimport",
  3656. "Name": "selfimport",
  3657. "Target": "c:\\dev\\go\\src\\cmd\\go\\testdata\\importcycle\\pkg\\windows_amd64\\selfimport.a",
  3658. "Root": "c:\\dev\\go\\src\\cmd\\go\\testdata\\importcycle",
  3659. "Stale": true,
  3660. "StaleReason": "stale dependency: selfimport",
  3661. "GoFiles": [
  3662. "selfimport.go"
  3663. ],
  3664. "Imports": [
  3665. "selfimport"
  3666. ],
  3667. "Deps": [
  3668. "selfimport"
  3669. ],
  3670. "Incomplete": true,
  3671. "Error": {
  3672. "ImportStack": [
  3673. "selfimport",
  3674. "selfimport"
  3675. ],
  3676. "Pos": "",
  3677. "Err": "import cycle not allowed"
  3678. },
  3679. "DepsErrors": [
  3680. {
  3681. "ImportStack": [
  3682. "selfimport",
  3683. "selfimport"
  3684. ],
  3685. "Pos": "",
  3686. "Err": "import cycle not allowed"
  3687. }
  3688. ]
  3689. }
  3690.  
  3691. === CONT TestProgramNameInCrashMessages
  3692. --- PASS: TestCaseCollisions (0.57s)
  3693. go_test.go:2360: running testgo [list -json example/a]
  3694. go_test.go:2360: standard output:
  3695. go_test.go:2360: {
  3696. "Dir": "C:\\Windows\\TEMP\\gotest506309011\\src\\example\\a",
  3697. "ImportPath": "example/a",
  3698. "Name": "p",
  3699. "Target": "C:\\Windows\\TEMP\\gotest506309011\\pkg\\windows_amd64\\example\\a.a",
  3700. "Root": "C:\\Windows\\TEMP\\gotest506309011",
  3701. "Stale": true,
  3702. "StaleReason": "stale dependency: example/a/Pkg",
  3703. "GoFiles": [
  3704. "a.go"
  3705. ],
  3706. "Imports": [
  3707. "example/a/Pkg",
  3708. "example/a/pkg"
  3709. ],
  3710. "Deps": [
  3711. "example/a/Pkg",
  3712. "example/a/pkg"
  3713. ],
  3714. "DepsErrors": [
  3715. {
  3716. "ImportStack": [
  3717. "example/a",
  3718. "example/a/pkg"
  3719. ],
  3720. "Pos": "C:\\Windows\\TEMP\\gotest506309011\\src\\example\\a\\a.go:5:2",
  3721. "Err": "case-insensitive import collision: \"example/a/pkg\" and \"example/a/Pkg\""
  3722. }
  3723. ]
  3724. }
  3725.  
  3726. go_test.go:2362: running testgo [build example/a]
  3727. go_test.go:2362: standard error:
  3728. go_test.go:2362: C:\Windows\TEMP\gotest506309011\src\example\a\a.go:5:2: case-insensitive import collision: "example/a/pkg" and "example/a/Pkg"
  3729.  
  3730. go_test.go:2362: testgo failed as expected: exit status 1
  3731. go_test.go:2379: running testgo [list C:\Windows\TEMP\gotest506309011\src\example\b\file.go C:\Windows\TEMP\gotest506309011\src\example\b\FILE.go]
  3732. go_test.go:2379: standard error:
  3733. go_test.go:2379: can't load package: package main: case-insensitive file name collision: "FILE.go" and "file.go"
  3734.  
  3735. go_test.go:2379: testgo failed as expected: exit status 1
  3736. go_test.go:2382: running testgo [list example/a/pkg example/a/Pkg]
  3737. go_test.go:2382: standard output:
  3738. go_test.go:2382: example/a/pkg
  3739.  
  3740. go_test.go:2382: standard error:
  3741. go_test.go:2382: can't load package: package example/a/Pkg: case-insensitive import collision: "example/a/Pkg" and "example/a/pkg"
  3742.  
  3743. go_test.go:2382: testgo failed as expected: exit status 1
  3744. go_test.go:2384: running testgo [list -json -e example/a/pkg example/a/Pkg]
  3745. go_test.go:2384: standard output:
  3746. go_test.go:2384: {
  3747. "Dir": "C:\\Windows\\TEMP\\gotest506309011\\src\\example\\a\\pkg",
  3748. "ImportPath": "example/a/pkg",
  3749. "Name": "pkg",
  3750. "Target": "C:\\Windows\\TEMP\\gotest506309011\\pkg\\windows_amd64\\example\\a\\pkg.a",
  3751. "Root": "C:\\Windows\\TEMP\\gotest506309011",
  3752. "Stale": true,
  3753. "StaleReason": "build ID mismatch",
  3754. "GoFiles": [
  3755. "pkg.go"
  3756. ]
  3757. }
  3758. {
  3759. "Dir": "C:\\Windows\\TEMP\\gotest506309011\\src\\example\\a\\Pkg",
  3760. "ImportPath": "example/a/Pkg",
  3761. "Name": "pkg",
  3762. "Target": "C:\\Windows\\TEMP\\gotest506309011\\pkg\\windows_amd64\\example\\a\\Pkg.a",
  3763. "Root": "C:\\Windows\\TEMP\\gotest506309011",
  3764. "Stale": true,
  3765. "StaleReason": "build ID mismatch",
  3766. "GoFiles": [
  3767. "pkg.go"
  3768. ],
  3769. "Error": {
  3770. "ImportStack": [
  3771. "example/a/Pkg"
  3772. ],
  3773. "Pos": "",
  3774. "Err": "case-insensitive import collision: \"example/a/Pkg\" and \"example/a/pkg\""
  3775. }
  3776. }
  3777.  
  3778. go_test.go:2386: running testgo [build example/a/pkg example/a/Pkg]
  3779. go_test.go:2386: standard error:
  3780. go_test.go:2386: can't load package: package example/a/Pkg: case-insensitive import collision: "example/a/Pkg" and "example/a/pkg"
  3781.  
  3782. go_test.go:2386: testgo failed as expected: exit status 1
  3783. === CONT TestFileLineInErrorMessages
  3784. --- PASS: TestGoInstallDetectsRemovedFiles (0.39s)
  3785. go_test.go:1037: running testgo [install mypkg]
  3786. go_test.go:1038: running testgo [list -f {{.Stale}}:{{.StaleReason}} mypkg]
  3787. go_test.go:1038: standard output:
  3788. go_test.go:1038: false:
  3789.  
  3790. go_test.go:1041: running testgo [list -f {{.Stale}}:{{.StaleReason}} mypkg]
  3791. go_test.go:1041: standard output:
  3792. go_test.go:1041: false:
  3793.  
  3794. go_test.go:1044: running testgo [list -f {{.Stale}}:{{.StaleReason}} mypkg]
  3795. go_test.go:1044: standard output:
  3796. go_test.go:1044: true:build ID mismatch
  3797.  
  3798. === CONT TestMentionGOPATHInFirstGOPATHEntry
  3799. --- PASS: TestMentionGOPATHInFirstGOPATHEntry (0.08s)
  3800. go_test.go:1994: running testgo [install foo/quxx]
  3801. go_test.go:1994: standard error:
  3802. go_test.go:1994: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
  3803. c:\dev\go\src\foo\quxx (from $GOROOT)
  3804. c:\dev\go\src\cmd\go\testdata\a\src\foo\quxx (from $GOPATH)
  3805. c:\dev\go\src\cmd\go\testdata\b\src\foo\quxx
  3806.  
  3807. go_test.go:1994: testgo failed as expected: exit status 1
  3808. === CONT TestListTemplateContextFunction/GOARCH
  3809. --- PASS: TestFileLineInErrorMessages (0.13s)
  3810. go_test.go:798: running testgo [run C:\Windows\TEMP\gotest131997048\err.go]
  3811. go_test.go:798: standard error:
  3812. go_test.go:798: C:\Windows\TEMP\gotest131997048\err.go:3:8: cannot find package "bar" in any of:
  3813. c:\dev\go\src\bar (from $GOROOT)
  3814. C:\Users\Lubo\go\src\bar (from $GOPATH)
  3815.  
  3816. go_test.go:798: testgo failed as expected: exit status 1
  3817. === CONT TestListTemplateContextFunction/UseAllFiles
  3818. --- PASS: TestProgramNameInCrashMessages (0.32s)
  3819. go_test.go:811: running testgo [build -ldflags -crash_for_testing C:\Windows\TEMP\gotest726217533\triv.go]
  3820. go_test.go:811: standard error:
  3821. go_test.go:811: c:\dev\go\pkg\tool\windows_amd64\link.exe: exit status 2
  3822.  
  3823. go_test.go:811: testgo failed as expected: exit status 1
  3824. === CONT TestListTemplateContextFunction/InstallSuffix
  3825. === CONT TestListTemplateContextFunction/ReleaseTags
  3826. === CONT TestListTemplateContextFunction/BuildTags
  3827. === CONT TestListTemplateContextFunction/Compiler
  3828. === CONT TestListTemplateContextFunction/GOPATH
  3829. === CONT TestListTemplateContextFunction/CgoEnabled
  3830. === CONT TestListTemplateContextFunction/GOROOT
  3831. === CONT TestListTemplateContextFunction/GOOS
  3832. --- PASS: TestListTemplateContextFunction (0.00s)
  3833. --- PASS: TestListTemplateContextFunction/UseAllFiles (0.38s)
  3834. go_test.go:3032: running testgo [list -f {{context.UseAllFiles}}]
  3835. go_test.go:3032: standard output:
  3836. go_test.go:3032: false
  3837.  
  3838. --- PASS: TestListTemplateContextFunction/GOARCH (0.40s)
  3839. go_test.go:3032: running testgo [list -f {{context.GOARCH}}]
  3840. go_test.go:3032: standard output:
  3841. go_test.go:3032: amd64
  3842.  
  3843. --- PASS: TestListTemplateContextFunction/InstallSuffix (0.35s)
  3844. go_test.go:3032: running testgo [list -f {{context.InstallSuffix}}]
  3845. --- PASS: TestListTemplateContextFunction/ReleaseTags (0.40s)
  3846. go_test.go:3032: running testgo [list -f {{context.ReleaseTags}}]
  3847. go_test.go:3032: standard output:
  3848. go_test.go:3032: [go1.1 go1.2 go1.3 go1.4 go1.5 go1.6 go1.7 go1.8 go1.9 go1.10 go1.11]
  3849.  
  3850. --- PASS: TestListTemplateContextFunction/BuildTags (0.39s)
  3851. go_test.go:3032: running testgo [list -f {{context.BuildTags}}]
  3852. go_test.go:3032: standard output:
  3853. go_test.go:3032: []
  3854.  
  3855. --- PASS: TestListTemplateContextFunction/Compiler (0.44s)
  3856. go_test.go:3032: running testgo [list -f {{context.Compiler}}]
  3857. go_test.go:3032: standard output:
  3858. go_test.go:3032: gc
  3859.  
  3860. --- PASS: TestListTemplateContextFunction/CgoEnabled (0.50s)
  3861. go_test.go:3032: running testgo [list -f {{context.CgoEnabled}}]
  3862. go_test.go:3032: standard output:
  3863. go_test.go:3032: true
  3864.  
  3865. --- PASS: TestListTemplateContextFunction/GOPATH (0.70s)
  3866. go_test.go:3032: running testgo [list -f {{context.GOPATH}}]
  3867. go_test.go:3032: standard output:
  3868. go_test.go:3032: C:\Users\Lubo\go
  3869.  
  3870. --- PASS: TestListTemplateContextFunction/GOROOT (0.66s)
  3871. go_test.go:3032: running testgo [list -f {{context.GOROOT}}]
  3872. go_test.go:3032: standard output:
  3873. go_test.go:3032: c:\dev\go
  3874.  
  3875. --- PASS: TestListTemplateContextFunction/GOOS (0.53s)
  3876. go_test.go:3032: running testgo [list -f {{context.GOOS}}]
  3877. go_test.go:3032: standard output:
  3878. go_test.go:3032: windows
  3879.  
  3880. --- PASS: TestCoverpkgAllRuntime (15.59s)
  3881. go_test.go:5887: running testgo [test -coverpkg=all x]
  3882. go_test.go:5887: standard output:
  3883. go_test.go:5887: ok x 0.031s coverage: 24.3% of statements in all
  3884.  
  3885. go_test.go:5889: running testgo [test -coverpkg=all -race x]
  3886. go_test.go:5889: standard output:
  3887. go_test.go:5889: ok x 1.041s coverage: 67.4% of statements in all
  3888.  
  3889. PASS
  3890. ok cmd/go 59.006s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement