Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestBinary (0.27 sec)

  1. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            project.testComponent.binaries.size() == 1
            def testBinary = project.testComponent.binaries[0]
            testBinary instanceof CppExecutable
            testBinary.name == 'testExecutable'
            testBinary.variantName == 'debug'
            testBinary.baseName == 'coreTest'
            testBinary.compilationDetails.sources.sourceFile as Set == [src1, src2] as Set
            testBinary.compilationDetails.headerDirs == [headerDir] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    		}
    
    		pkgsForBinary := map[string][]*load.Package{}
    
    		for _, p := range pkgs {
    			testBinary := testBinaryName(p)
    			pkgsForBinary[testBinary] = append(pkgsForBinary[testBinary], p)
    		}
    
    		for testBinary, pkgs := range pkgsForBinary {
    			if len(pkgs) > 1 {
    				var buf strings.Builder
    				for _, pkg := range pkgs {
    					buf.WriteString(pkg.ImportPath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. src/testing/testing.go

    	if !flag.Parsed() {
    		panic("testing: Short called before Parse")
    	}
    
    	return *short
    }
    
    // testBinary is set by cmd/go to "1" if this is a binary built by "go test".
    // The value is set to "1" by a -X option to cmd/link. We assume that
    // because this is possible, the compiler will not optimize testBinary
    // into a constant on the basis that it is an unexported package-scope
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/test.go

    		}
    		if pxtestNeedsPtest {
    			pxtest.Internal.Imports = append(pxtest.Internal.Imports, ptest)
    		}
    	}
    
    	// Arrange for testing.Testing to report true.
    	ldflags := append(p.Internal.Ldflags, "-X", "testing.testBinary=1")
    	gccgoflags := append(p.Internal.Gccgoflags, "-Wl,--defsym,testing.gccgoTestBinary=1")
    
    	// Build main package.
    	pmain = &Package{
    		PackagePublic: PackagePublic{
    			Name:       "main",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top