Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestCachedInstall (3.89 sec)

  1. src/cmd/cgo/internal/testcshared/cshared_test.go

    			d = d[16:]
    		}
    		if tag == elf.DT_TEXTREL {
    			t.Fatalf("%s has DT_TEXTREL flag", libgoname)
    		}
    	}
    }
    
    // Test that installing a second time recreates the header file.
    func TestCachedInstall(t *testing.T) {
    	globalSkip(t)
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveBuildMode(t, "c-shared")
    
    	tmpdir, err := os.MkdirTemp("", "cshared")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcarchive/carchive_test.go

    		t.Logf("%v\n%s", binArgs, out)
    		expectSignal(t, err, syscall.SIGPIPE, 0)
    	}
    }
    
    // Test that installing a second time recreates the header file.
    func TestCachedInstall(t *testing.T) {
    	globalSkip(t)
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveBuildMode(t, "c-archive")
    
    	if !testWork {
    		defer os.RemoveAll(filepath.Join(GOPATH, "pkg"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
Back to top