Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for skipIfNotELF (0.15 sec)

  1. src/debug/gosym/pclntab_test.go

    func endtest() {
    	if pclineTempDir != "" {
    		os.RemoveAll(pclineTempDir)
    		pclineTempDir = ""
    		pclinetestBinary = ""
    	}
    }
    
    // skipIfNotELF skips the test if we are not running on an ELF system.
    // These tests open and examine the test binary, and use elf.Open to do so.
    func skipIfNotELF(t *testing.T) {
    	switch runtime.GOOS {
    	case "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "solaris", "illumos":
    		// OK.
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 17:17:44 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top