[osmo-trx] 01/02: Added autotest during build as well

Ruben Undheim rubund-guest at moszumanska.debian.org
Tue Oct 13 20:58:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository osmo-trx.

commit a5cb821c02a1c7d7b635a40eb61bddb49ad1382d
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Tue Oct 13 22:56:37 2015 +0200

    Added autotest during build as well
---
 debian/autotest/autotest | 6 ++++++
 debian/rules             | 3 +++
 2 files changed, 9 insertions(+)

diff --git a/debian/autotest/autotest b/debian/autotest/autotest
new file mode 100755
index 0000000..691bf9f
--- /dev/null
+++ b/debian/autotest/autotest
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+
+./Transceiver52M/osmo-trx -h
+echo "run: OK"
diff --git a/debian/rules b/debian/rules
index 00d1d5f..3308dc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,6 @@ override_dh_auto_clean:
 	dh_auto_clean
 
 
+override_dh_auto_test:
+	dh_auto_test
+	./debian/autotest/autotest

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/osmo-trx.git



More information about the debian-science-commits mailing list