Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for XTestEmbedFiles (0.37 sec)

  1. src/cmd/go/testdata/script/list_json_fields.txt

    # Test -json=<field> with *EmbedFiles fails due to broken file reference.
    ! go list -json=EmbedFiles
    stderr 'no matching files found'
    ! go list -json=TestEmbedFiles
    stderr 'no matching files found'
    ! go list -json=XTestEmbedFiles
    stderr 'no matching files found'
    cd ..
    
    [!git] skip
    
    # Test -json=<field> without Stale skips computing buildinfo
    cd repo
    exec git init
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 15:24:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/embed.txt

    go list -test -f '{{.TestEmbedPatterns}}'
    stdout '\[y\*t\*t\]'
    go list -test -f '{{.TestEmbedFiles}}'
    stdout '\[y.txt\]'
    go list -test -f '{{.XTestEmbedPatterns}}'
    stdout '\[z\*t\*t\]'
    go list -test -f '{{.XTestEmbedFiles}}'
    stdout '\[z.txt\]'
    
    # build embeds x.txt
    go build -x
    stderr 'x.txt'
    
    # build uses cache correctly
    go build -x
    ! stderr 'x.txt'
    cp x.txt2 x.txt
    go build -x
    stderr 'x.txt'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 18:03:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/load/test.go

    			pxtestIncomplete = true
    		}
    		if p1.ImportPath == p.ImportPath {
    			pxtestNeedsPtest = true
    		} else {
    			ximports = append(ximports, p1)
    		}
    		p.XTestImports[i] = p1.ImportPath
    	}
    	p.XTestEmbedFiles, xtestEmbed, err = resolveEmbed(p.Dir, p.XTestEmbedPatterns)
    	if err != nil && pxtestErr == nil {
    		pxtestErr = &PackageError{
    			ImportStack: stk.Copy(),
    			Err:         err,
    		}
    		embedErr := err.(*EmbedError)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/list/list.go

            TestEmbedFiles     []string // files matched by TestEmbedPatterns
            XTestEmbedPatterns []string // //go:embed patterns in XTestGoFiles
            XTestEmbedFiles    []string // files matched by XTestEmbedPatterns
    
            // Cgo directives
            CgoCFLAGS    []string // cgo: flags for C compiler
            CgoCPPFLAGS  []string // cgo: flags for C preprocessor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/load/pkg.go

    	XTestImports       []string `json:",omitempty"` // imports from XTestGoFiles
    	XTestEmbedPatterns []string `json:",omitempty"` // //go:embed patterns
    	XTestEmbedFiles    []string `json:",omitempty"` // files matched by XTestEmbedPatterns
    }
    
    // AllFiles returns the names of all the files considered for the package.
    // This is used for sanity and security checks, so we include all files,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  6. src/cmd/go/alldocs.go

    //	    TestEmbedPatterns  []string // //go:embed patterns in TestGoFiles
    //	    TestEmbedFiles     []string // files matched by TestEmbedPatterns
    //	    XTestEmbedPatterns []string // //go:embed patterns in XTestGoFiles
    //	    XTestEmbedFiles    []string // files matched by XTestEmbedPatterns
    //
    //	    // Cgo directives
    //	    CgoCFLAGS    []string // cgo: flags for C compiler
    //	    CgoCPPFLAGS  []string // cgo: flags for C preprocessor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top