summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMark J. Titorenko <mark.titorenko@alces-software.com>2012-01-21 19:57:23 +0000
committerMark J. Titorenko <mark.titorenko@alces-software.com>2012-01-21 19:57:23 +0000
commit5e53ab81a37c8c712d693f8d8dd91331e1b4bc65 (patch)
treeea9321f51ed8daf5f2d88068751c10928892c4b9 /Rakefile
parente53e015ba0c969585e7dea6127d5eee3a416a9f6 (diff)
downloadnet-dhcp-ruby-5e53ab81a37c8c712d693f8d8dd91331e1b4bc65.tar.gz
Replace incorrect equality check with assignment in Message#from_udp_payload to correct behaviour when an unrecognised option or message is encountered
Allow callers to disable the debug output emitted in Message#from_udp_payload for unrecognised options or messages Added rake test task Correct test_from_udp_payload test assertion Default to 00:00:00:00:00:00 in Message#initialize if local MAC address can't be read
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index f0d77b9..24d7d70 100644
--- a/Rakefile
+++ b/Rakefile
@@ -40,3 +40,10 @@ Rake::RDocTask.new do |rdoc|
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+
+require 'rake/testtask'
+Rake::TestTask.new do |t|
+ t.libs << "test"
+ t.test_files = FileList['test/test*.rb']
+ t.verbose = true
+end