Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(853)

Unified Diff: mojo/go/tests/README.txt

Issue 647573004: -Add README for building go sample application (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: README modifications. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/go/sample_app/README.txt ('k') | third_party/libevent/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « mojo/go/sample_app/README.txt ('k') | third_party/libevent/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698