Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for XTestGoFiles (0.13 sec)

  1. src/cmd/go/internal/list/list.go

            DefaultGODEBUG string  // default GODEBUG setting, for main packages
    
            // Source files
            GoFiles           []string   // .go source files (excluding CgoFiles, TestGoFiles, XTestGoFiles)
            CgoFiles          []string   // .go source files that import "C"
            CompiledGoFiles   []string   // .go files presented to compiler (when using -compiled)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    	} else {
    		ptest = p
    	}
    
    	// External test package.
    	if len(p.XTestGoFiles) > 0 {
    		pxtest = &Package{
    			PackagePublic: PackagePublic{
    				Name:       p.Name + "_test",
    				ImportPath: p.ImportPath + "_test",
    				Root:       p.Root,
    				Dir:        p.Dir,
    				Goroot:     p.Goroot,
    				GoFiles:    p.XTestGoFiles,
    				Imports:    p.XTestImports,
    				ForTest:    p.ImportPath,
    				Module:     p.Module,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/clean/clean.go

    		// The others are.
    		keep := func(list []string) {
    			for _, f := range list {
    				packageFile[f] = true
    			}
    		}
    		keep(p.GoFiles)
    		keep(p.CgoFiles)
    		keep(p.TestGoFiles)
    		keep(p.XTestGoFiles)
    	}
    
    	_, elem := filepath.Split(p.Dir)
    	var allRemove []string
    
    	// Remove dir-named executable only if this is package main.
    	if p.Name == "main" {
    		allRemove = append(allRemove,
    			elem,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modindex/read.go

    				embedMap = embedPos
    				directives = &p.Directives
    			} else {
    				// Ignore Imports and Embeds from cgo files if cgo is disabled.
    				fileList = &p.IgnoredGoFiles
    			}
    		case isXTest:
    			fileList = &p.XTestGoFiles
    			importMap = xTestImportPos
    			embedMap = xTestEmbedPos
    			directives = &p.XTestDirectives
    		case isTest:
    			fileList = &p.TestGoFiles
    			importMap = testImportPos
    			embedMap = testEmbedPos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top