From: "Chris Reffett" <geekboy72@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: net-misc/csync/files/, net-misc/csync/
Date: Fri, 30 Nov 2012 04:49:31 +0000 (UTC) [thread overview]
Message-ID: <1354250832.824b1a28d43b664a70fac0ed4bc555b1c9370eba.creffett@gentoo> (raw)
commit: 824b1a28d43b664a70fac0ed4bc555b1c9370eba
Author: Chris Reffett <creffett <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 30 04:47:12 2012 +0000
Commit: Chris Reffett <geekboy72 <AT> gmail <DOT> com>
CommitDate: Fri Nov 30 04:47:12 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=824b1a28
[net-misc/csync] Unrestrict tests with addition of cmocka. Add patch to remove one bad test.
Package-Manager: portage-2.2.0_alpha142
---
net-misc/csync/csync-0.60.2.ebuild | 9 ++-------
.../csync/files/csync-0.60.2-removebadtest.patch | 9 +++++++++
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/net-misc/csync/csync-0.60.2.ebuild b/net-misc/csync/csync-0.60.2.ebuild
index 4e9f5b8..d94e409 100644
--- a/net-misc/csync/csync-0.60.2.ebuild
+++ b/net-misc/csync/csync-0.60.2.ebuild
@@ -27,13 +27,12 @@ RDEPEND="
DEPEND="${DEPEND}
app-text/asciidoc
doc? ( app-doc/doxygen )
+ test? ( dev-util/cmocka )
"
-RESTRICT="test"
-#until we have an ebuild for cmocka at least
-
PATCHES=(
"${FILESDIR}/${PN}-0.60.2-automagicness.patch"
+ "${FILESDIR}/${PN}-0.60.2-removebadtest.patch"
)
S="${WORKDIR}/o${P}"
@@ -47,10 +46,6 @@ src_prepare() {
CMakeLists.txt || die
fi
- # punt owncloud test as it uses weird cmocka framework
- sed -i \
- -e 's:add_subdirectory(ownCloud)::' \
- tests/CMakeLists.txt || die
# proper docdir
sed -i \
-e "s:/doc/ocsync:/doc/${PF}:" \
diff --git a/net-misc/csync/files/csync-0.60.2-removebadtest.patch b/net-misc/csync/files/csync-0.60.2-removebadtest.patch
new file mode 100644
index 0000000..5b8a3a6
--- /dev/null
+++ b/net-misc/csync/files/csync-0.60.2-removebadtest.patch
@@ -0,0 +1,9 @@
+--- a/tests/vio_tests/check_vio.c
++++ b/tests/vio_tests/check_vio.c
+@@ -505,7 +505,6 @@
+ unit_test_setup_teardown(check_csync_vio_mkdirs_some_exist, setup_dir, teardown),
+ unit_test_setup_teardown(check_csync_vio_rmdir, setup, teardown),
+ unit_test_setup_teardown(check_csync_vio_opendir, setup_dir, teardown),
+- unit_test_setup_teardown(check_csync_vio_opendir_perm, setup, teardown),
+ unit_test(check_csync_vio_closedir_null),
+ unit_test_setup_teardown(check_csync_vio_readdir, setup_dir, teardown),
next reply other threads:[~2012-11-30 4:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-30 4:49 Chris Reffett [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-12-14 17:23 [gentoo-commits] proj/kde:master commit in: net-misc/csync/files/, net-misc/csync/ Chris Reffett
2012-11-29 16:30 Chris Reffett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1354250832.824b1a28d43b664a70fac0ed4bc555b1c9370eba.creffett@gentoo \
--to=geekboy72@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox