| Index: mojo/go/tests/README.txt
|
| diff --git a/mojo/go/tests/README.txt b/mojo/go/tests/README.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c7b5f22a24e18eed46f3901b1bc99c98ac94e2e4
|
| --- /dev/null
|
| +++ b/mojo/go/tests/README.txt
|
| @@ -0,0 +1,21 @@
|
| +Setup instructions to run system_test
|
| +
|
| +1) Download/Install the Go compiler
|
| +
|
| +$ unset GOBIN GOPATH GOROOT
|
| +$ hg clone https://code.google.com/p/go
|
| +$ cd go/src
|
| +$ ./all.bash
|
| +$ ls ../bin
|
| +
|
| +3) Now, we switch to the Mojo workspace and build system_test
|
| +
|
| +$ cd mojo/src
|
| +$ gn args <output_directory>
|
| +
|
| +mojo_use_go=true
|
| +go_build_tool="<path_to_go_binary>"
|
| +
|
| +$ gn gen <output_directory>
|
| +$ ninja -C <output_directory> system_test
|
| +$ <output_directory>/obj/mojo/go/system_test -test.v
|
|
|