Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for runHello (0.25 sec)

  1. src/cmd/compile/internal/test/clobberdead_test.go

    `
    
    func TestClobberDead(t *testing.T) {
    	// Test that clobberdead mode generates correct program.
    	runHello(t, "-clobberdead")
    }
    
    func TestClobberDeadReg(t *testing.T) {
    	// Test that clobberdeadreg mode generates correct program.
    	runHello(t, "-clobberdeadreg")
    }
    
    func runHello(t *testing.T, flag string) {
    	if testing.Short() {
    		// This test rebuilds the runtime with a special flag, which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/go/scriptreadme_test.go

    The script begins with an actual command script to run
    followed by the content of zero or more supporting files to
    create in the script's temporary file system before it starts executing.
    
    As an example, run_hello.txt says:
    
    	# hello world
    	go run hello.go
    	stderr 'hello world'
    	! stdout .
    
    	-- hello.go --
    	package main
    	func main() { println("hello world") }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/README

    The script begins with an actual command script to run
    followed by the content of zero or more supporting files to
    create in the script's temporary file system before it starts executing.
    
    As an example, run_hello.txt says:
    
    	# hello world
    	go run hello.go
    	stderr 'hello world'
    	! stdout .
    
    	-- hello.go --
    	package main
    	func main() { println("hello world") }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top