Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GO_NMTEST_IS_NM (0.89 sec)

  1. src/cmd/nm/nm_test.go

    	"strings"
    	"sync"
    	"testing"
    	"text/template"
    )
    
    // TestMain executes the test binary as the nm command if
    // GO_NMTEST_IS_NM is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_NMTEST_IS_NM") != "" {
    		main()
    		os.Exit(0)
    	}
    
    	os.Setenv("GO_NMTEST_IS_NM", "1") // Set for subprocesses to inherit.
    	os.Exit(m.Run())
    }
    
    // nmPath returns the path to the "nm" binary to run.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 23:32:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top