[SCM] ci-tooling packaging branch, master, updated. 406fe619eec7efd5f55d059e5f6764e17a621cf3
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Mon Nov 30 11:24:45 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=f35d8e3
The following commit has been merged in the master branch:
commit f35d8e334b2928f58d052d6755137d1d2e32b738
Author: Harald Sitter <sitter at kde.org>
Date: Mon Nov 30 12:14:32 2015 +0100
detach test_static_ci from git.debian access
---
test/data/test_projects/test_static_ci/debian | 1 +
test/test_projects.rb | 11 ++++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/test/data/test_projects/test_static_ci/debian b/test/data/test_projects/test_static_ci/debian
new file mode 120000
index 0000000..fab57de
--- /dev/null
+++ b/test/data/test_projects/test_static_ci/debian
@@ -0,0 +1 @@
+../quilt/debian
\ No newline at end of file
diff --git a/test/test_projects.rb b/test/test_projects.rb
index e77761c..fc458db 100644
--- a/test/test_projects.rb
+++ b/test/test_projects.rb
@@ -195,6 +195,13 @@ class ProjectTest < TestCase
end
def test_static_ci
+ repo_base = "#{Dir.pwd}/repo"
+ git_init_commit(git_init_repo("#{repo_base}/qt/qtx11extras"),
+ %w(master experimental))
+
+ url = Project.default_url
+ Project.default_url = repo_base
+
assert_raise RuntimeError do
Projects.new(type: 'unstable', projects_file: data('invalid.json'))
end
@@ -206,9 +213,11 @@ class ProjectTest < TestCase
assert_equal('qtx11extras', pro.name)
assert_equal('qt', pro.component)
assert_equal('git', pro.packaging_scm_scm.type)
- assert_equal('git.debian.org:/git/pkg-kde/qt/qtx11extras', pro.packaging_scm_scm.url)
+ assert_equal("#{repo_base}/qt/qtx11extras", pro.packaging_scm_scm.url)
assert_equal('experimental', pro.packaging_scm_scm.branch)
assert_equal('tarball', pro.upstream_scm.type)
assert_equal('http://abc+dfsg.tar.xz', pro.upstream_scm.url)
+ ensure
+ Project.default_url = url
end
end
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list