summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMiklos Fazekas <mfazekas@szemafor.com>2016-04-08 21:16:56 +0200
committerMiklos Fazekas <mfazekas@szemafor.com>2016-04-08 22:40:06 +0200
commit5834936ffd1a4c1bc24673c94b73a9fdaa3f710b (patch)
tree492ae2f2ce6e896753d63da29016fdc26afd7032 /Rakefile
parent035f27c705aed4fbfd9bc66b3f8e99bbc4141cb3 (diff)
downloadnet-ssh-5834936ffd1a4c1bc24673c94b73a9fdaa3f710b.tar.gz
Added tests for Net::SSH::Test
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 32e17ec..37f884f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -75,5 +75,15 @@ Rake::TestTask.new do |t|
t.libs << "test/integration" if ENV['NET_SSH_RUN_INTEGRATION_TESTS']
test_files = FileList['test/**/test_*.rb']
test_files -= FileList['test/integration/**/test_*.rb'] unless ENV['NET_SSH_RUN_INTEGRATION_TESTS']
+ test_files -= FileList['test/test/**/test_*.rb']
+ t.test_files = test_files
+end
+
+desc "Run tests of Net::SSH:Test"
+Rake::TestTask.new do |t|
+ t.name = "test_test"
+ # we need to run test/test separatedly as it hacks io + other modules
+ t.libs = ["lib", "test"]
+ test_files = FileList['test/test/**/test_*.rb']
t.test_files = test_files
end