[DRE-commits] [ruby-packetfu] 09/16: Use rake to call the test suite
Jérémy Bobbio
lunar at alioth.debian.org
Sat Aug 24 17:27:55 UTC 2013
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository ruby-packetfu.
commit acec820efa24358fe7e26c458d09eb2ad057163a
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sat Aug 24 18:59:59 2013 +0200
Use rake to call the test suite
---
debian/control | 2 +-
debian/ruby-test-files.yaml | 22 ----------------------
debian/ruby-tests.rb | 5 +++++
3 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/debian/control b/debian/control
index 4ff3afb..3ce15d8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Jérémy Bobbio <lunar at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-pcaprub, ruby-rspec (>= 2.6.2)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-pcaprub, ruby-rspec (>= 2.6.2), rake
Standards-Version: 3.9.4
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-packetfu.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-packetfu.git;a=summary
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 42b12f5..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
----
-- spec/ethpacket_spec.rb
-- spec/packet_spec.rb
-- spec/packet_subclasses_spec.rb
-- spec/packetfu_spec.rb
-- spec/structfu_spec.rb
-- spec/tcp_spec.rb
-- test/test_arp.rb
-- test/test_capture.rb
-- test/test_eth.rb
-- test/test_hsrp.rb
-- test/test_icmp.rb
-- test/test_inject.rb
-- test/test_invalid.rb
-- test/test_ip.rb
-- test/test_ip6.rb
-- test/test_octets.rb
-- test/test_packet.rb
-- test/test_pcap.rb
-- test/test_structfu.rb
-- test/test_tcp.rb
-- test/test_udp.rb
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..40dbf0e
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,5 @@
+require 'rake'
+app = Rake.application
+app.init
+app.load_rakefile
+app['spec'].invoke
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-packetfu.git
More information about the Pkg-ruby-extras-commits
mailing list