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

Unified Diff: tests/ruby/README

Issue 440018: Ruby for NaCl. Please assign the appropriate reviewer. (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: '' Created 11 years, 1 month 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 | « tests/ruby/Makefile ('k') | tests/ruby/appendix/config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ruby/README
===================================================================
--- tests/ruby/README (revision 0)
+++ tests/ruby/README (revision 0)
@@ -0,0 +1,40 @@
+1. Change current directory to native_client/tests/ruby
+
+cd install_dir/build/native_client/tests/ruby
+
+2. From native_client/tests/ruby directory:
+
+make nacl download
+
+ It will download Ruby sources and will copy neccessary files from
+ native_client/tests/ruby/appendix to these sources.
+
+3. Build NaCl ruby from native_client/tests/ruby directory:
+
+make nacl debug
+
+or
+
+make nacl release
+
+4. Run golden tests:
+
+make nacl golden
+
+5. Start a webserver from native_client directory using:
+
+/usr/bin/python2.5 tools/httpd.py
+
+6. Goto http://localhost:5103/tests/ruby/ruby.html and wait until
+ "Ruby is loaded" message is appeared. 99% of time it require less
+ than a second to load.
+
+7. Try Ruby queries like:
+
+puts "Hello, world!"
+name = "Joe"
+puts "Hello, #{name}"
+puts 2+3
+10.times { puts "NaCl\n" }
+
+ Not everything works, you should expect some errors.
Property changes on: tests/ruby/README
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « tests/ruby/Makefile ('k') | tests/ruby/appendix/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698