prettytest icon indicating copy to clipboard operation
prettytest copied to clipboard

Unable to install PrettyAutoTest

Open l3x opened this issue 10 years ago • 5 comments

$ go get -v github.com/remogatto/prettytest/pta/ github.com/remogatto/prettytest/pta

github.com/remogatto/prettytest/pta

github.com/remogatto/prettytest/pta/main.go:107: undefined: application.Fatal github.com/remogatto/prettytest/pta/main.go:147: undefined: application.Fatal github.com/remogatto/prettytest/pta/main.go:224: undefined: application.Fatal github.com/remogatto/prettytest/pta/main.go:236: too many arguments in call to application.Run

$ pta -bash: pta: command not found

I noticed this yesterday (2014-09-16).

l3x avatar Sep 17 '14 14:09 l3x

I got it working again by doing the following:

  1. Add the following function to src/github.com/remogatto/application/application.go

func Fatal(v ...interface{}) { fmt.Printf("v: %v\n", v) os.Exit(1) }

  1. Remove parameter from Run call in src/github.com/remogatto/prettytest/pta/main.go (on line 236)

// application.Run(exitCh) application.Run()

l3x avatar Sep 23 '14 13:09 l3x

Could you produce a pull request for that? Thanks.

remogatto avatar Sep 24 '14 13:09 remogatto

Sure. I have a couple other fixes to add, too. I'll get to that tomorrow (9/25) morning.

l3x avatar Sep 25 '14 00:09 l3x

Cool! Thanks!

remogatto avatar Sep 25 '14 08:09 remogatto

@l3x I used your changes and got pta to install and run, but I can't get it to quit, no matter how many times I hit ^C

ryanbillingsley avatar Mar 07 '15 21:03 ryanbillingsley