[SCM] ci-tooling packaging branch, master, updated. 7e32e15ded6101c311d3b0ead6041ba3253c03d0

Rohan Garg rohangarg-guest at moszumanska.debian.org
Wed Dec 3 18:04:27 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=7e32e15

The following commit has been merged in the master branch:
commit 7e32e15ded6101c311d3b0ead6041ba3253c03d0
Author: Rohan Garg <rohan at kde.org>
Date:   Wed Dec 3 19:04:15 2014 +0100

    Update with autopkgtest tooling
---
 dci/autopkgtest.rb | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/dci/autopkgtest.rb b/dci/autopkgtest.rb
new file mode 100644
index 0000000..a95144c
--- /dev/null
+++ b/dci/autopkgtest.rb
@@ -0,0 +1,11 @@
+require 'logger'
+
+logger = Logger.new(STDOUT)
+
+if not ARGV[1].end_with? '.changes'
+    logger.fatal("#{ARGV[1]} is not an actual changes file. Abort!")
+else
+    logger.info("Starting autopkgtest")
+    autopkgtest_result = system("DEB_BUILD_OPTIONS=\"parallel=$(nproc)\" adt-run --changes #{ARGV[1]} --- null")
+    autopkgtest_result ? logger.info("Autopkg test passed!") : logger.error("Autopkg test failed!")
+end
\ No newline at end of file

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list