| OLD | NEW |
| (Empty) | |
| 1 Setup instructions to run system_test |
| 2 |
| 3 1) Download/Install the Go compiler |
| 4 |
| 5 $ unset GOBIN GOPATH GOROOT |
| 6 $ hg clone https://code.google.com/p/go |
| 7 $ cd go/src |
| 8 $ ./all.bash |
| 9 $ ls ../bin |
| 10 |
| 11 3) Now, we switch to the Mojo workspace and build system_test |
| 12 |
| 13 $ cd mojo/src |
| 14 $ gn args <output_directory> |
| 15 |
| 16 mojo_use_go=true |
| 17 go_build_tool="<path_to_go_binary>" |
| 18 |
| 19 $ gn gen <output_directory> |
| 20 $ ninja -C <output_directory> system_test |
| 21 $ <output_directory>/obj/mojo/go/system_test -test.v |
| OLD | NEW |