about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-03-07 10:14:17 +0000
committerEric Wong <normalperson@yhbt.net>2012-03-07 10:14:17 +0000
commit2c2befb1caa47fe3bf2e6d31dd0733956d178c87 (patch)
tree0c1b8fde8b13dd618b9516de4f8c3eab21b97821
parent92dca5e5554e056f892fcb6cae20693b39b4044b (diff)
downloadkgio-2c2befb1caa47fe3bf2e6d31dd0733956d178c87.tar.gz
Unlike most Rubyists, I prefer GNU make to Rake.
-rw-r--r--HACKING15
1 files changed, 15 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 004bcbb..5d485be 100644
--- a/HACKING
+++ b/HACKING
@@ -61,3 +61,18 @@ Without RubyGems (via setup.rb):
 
 It is not at all recommended to mix a RubyGems installation with an
 installation done without RubyGems, however.
+
+=== Tests
+
+We use GNU make to run tests in parallel.  test/unit/parallel didn't
+exist for old versions of Ruby before 1.9.3.  Users of GNU-based systems
+(such as GNU/Linux) usually have GNU make installed as "make" instead of
+"gmake".
+
+Running the entire test suite with 4 tests in parallel:
+
+  gmake -j4 test
+
+Running just one unit test:
+
+  gmake test/test_poll.rb