[med-svn] [opensurgsim] 01/02: Disables two sensitive unit tests

Paul Novotny paulnovo-guest at moszumanska.debian.org
Thu Nov 19 01:41:14 UTC 2015


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

paulnovo-guest pushed a commit to branch master
in repository opensurgsim.

commit c6150e0b9227a79426cc4cb76c5b4386a107781d
Author: Paul Novotny <paul at paulnovo.us>
Date:   Tue Nov 17 19:54:19 2015 -0500

    Disables two sensitive unit tests
    
    A couple of unit tests fail sporatically due to being overly sensitive,
    and probably not giving useful information. This disables the two tests.
---
 debian/patches/disable-sensitive-tests.patch | 28 ++++++++++++++++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 29 insertions(+)

diff --git a/debian/patches/disable-sensitive-tests.patch b/debian/patches/disable-sensitive-tests.patch
new file mode 100644
index 0000000..0f62e2e
--- /dev/null
+++ b/debian/patches/disable-sensitive-tests.patch
@@ -0,0 +1,28 @@
+Description: Disables two sensitive unit tests
+ A couple of unit tests fail sporatically due to being overly sensitive, and
+ probably not giving useful information. This disables the two tests.
+Author: Paul Novotny <paul at paulnovo.us>
+Last-Update: 2015-11-17
+
+--- a/SurgSim/Framework/UnitTests/BasicThreadTests.cpp
++++ b/SurgSim/Framework/UnitTests/BasicThreadTests.cpp
+@@ -151,7 +151,7 @@
+ 	m.stop();
+ }
+ 
+-TEST(BasicThreadTest, PauseResumeUpdateTest)
++TEST(BasicThreadTest, DISABLED_PauseResumeUpdateTest)
+ {
+ 	MockThread m(100000000);
+ 	int previousCount = m.count;
+--- a/SurgSim/Framework/UnitTests/TimerTest.cpp
++++ b/SurgSim/Framework/UnitTests/TimerTest.cpp
+@@ -56,7 +56,7 @@
+ 	EXPECT_EQ(timer->getCurrentNumberOfFrames(), 2);
+ }
+ 
+-TEST(TimerTest, Comparison)
++TEST(TimerTest, DISABLED_Comparison)
+ {
+ 	std::shared_ptr<Timer> timer1 = std::make_shared<Timer>();
+ 	std::shared_ptr<Timer> timer2 = std::make_shared<Timer>();
diff --git a/debian/patches/series b/debian/patches/series
index bbe42c6..1d14f80 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@ fix-epsilon-for-tests.patch
 fix-fem-ply-reading.patch
 fix-build-with-eigen-3-3.patch
 backport-b9584d8c1.patch
+disable-sensitive-tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/opensurgsim.git



More information about the debian-med-commit mailing list