[med-svn] [sra-sdk] 01/01: We need to set absolute pathes also in the test

Andreas Tille tille at debian.org
Thu Sep 1 10:56:13 UTC 2016


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

tille pushed a commit to branch master
in repository sra-sdk.

commit 54d73add3c4a6dd1f5e8244bb6a3344099534bac
Author: Andreas Tille <tille at debian.org>
Date:   Thu Sep 1 12:55:57 2016 +0200

    We need to set absolute pathes also in the test
---
 debian/patches/absolute_vschema_path_in_test.patch       | 16 ++++++++++++++++
 debian/patches/ignore_failing_tests_for_the_moment.patch | 11 +++++++++++
 debian/patches/series                                    |  1 +
 3 files changed, 28 insertions(+)

diff --git a/debian/patches/absolute_vschema_path_in_test.patch b/debian/patches/absolute_vschema_path_in_test.patch
new file mode 100644
index 0000000..af858ca
--- /dev/null
+++ b/debian/patches/absolute_vschema_path_in_test.patch
@@ -0,0 +1,16 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 06 Jun 2016 11:24:46 +0200
+Description: We need to set absolute pathes also in the test
+ (test fails anyway for different reasons and is excluded later)
+
+--- a/test/vcf-loader/test-vcf-loader.cpp
++++ b/test/vcf-loader/test-vcf-loader.cpp
+@@ -669,7 +669,7 @@ protected:
+ const char VcfDatabaseFixture::schema_text[] =
+ "version 1; "
+ 
+-"include 'align/align.vschema';"
++"include '/usr/lib/ncbi-vdb/align/align.vschema';"
+ 
+ " table variant #1 { "
+ "     extern    column U32 ref_id = .ref_id;"
diff --git a/debian/patches/ignore_failing_tests_for_the_moment.patch b/debian/patches/ignore_failing_tests_for_the_moment.patch
index 914ecdc..e32e149 100644
--- a/debian/patches/ignore_failing_tests_for_the_moment.patch
+++ b/debian/patches/ignore_failing_tests_for_the_moment.patch
@@ -59,3 +59,14 @@ Description: Exclude failing tests
  #   newest Illumina tag line variation ("_" instead of " /")
  	$(SMALLRUN) 9.0 0 $(SRCDIR)/input/9.0.fastq --quality PHRED_33
  #   accepting ascii quality values up to 126
+--- a/test/Makefile
++++ b/test/Makefile
+@@ -36,7 +36,7 @@ include $(TOP)/build/Makefile.config
+ #
+ SUBDIRS =    \
+ 	fastq-loader    \
+-	vcf-loader      \
++	# vcf-loader      \
+ 	kget            \
+ 	general-loader  \
+ 	vschema         \
diff --git a/debian/patches/series b/debian/patches/series
index c0e8f6c..57d5639 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,4 +9,5 @@ link_debian_packaged_lmagic.patch
 dont_use_static_lib.patch
 fix_tests.patch
 set_explicit_path_to_schemata.patch
+absolute_vschema_path_in_test.patch
 ignore_failing_tests_for_the_moment.patch

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



More information about the debian-med-commit mailing list