Text file src/cmd/go/testdata/script/test_profile.txt

     1  [compiler:gccgo] skip 'gccgo has no standard packages'
     2  [short] skip
     3  
     4  # Check go test -cpuprofile creates errors.test
     5  go test -cpuprofile errors.prof errors
     6  exists -exec errors.test$GOEXE
     7  
     8  # Check go test -cpuprofile -o myerrors.test creates errors.test
     9  go test -cpuprofile errors.prof -o myerrors.test$GOEXE errors
    10  exists -exec myerrors.test$GOEXE
    11  
    12  # Check go test -mutexprofile creates errors.test
    13  go test -mutexprofile errors.prof errors
    14  exists -exec errors.test$GOEXE
    15  
    16  # Check go test -mutexprofile -o myerrors.test creates errors.test
    17  go test -mutexprofile errors.prof -o myerrors.test$GOEXE errors
    18  exists -exec myerrors.test$GOEXE
    19  
    20  

View as plain text