Commit 847f9037 authored by Gianfranco Costamagna's avatar Gianfranco Costamagna

Upload to unstable, disable patches, add build-deps to debian control, thanks...

Upload to unstable, disable patches, add build-deps to debian control, thanks Rene Engelhard for the hint!
parent 5e00f29a
link-grammar (5.5.1-4) unstable; urgency=medium
* QA upload
* Add libsqlite3 dependency, to fix testsuite
- Drop previous patch, the test now is good, thanks upstream for the hint
* Add builddeps in debian/tests/control, to finally have all the required
dependencies to run correctly testsuite (Closes: #915060)
- Thanks Rene Engelhard for the hint
-- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 30 Nov 2018 06:33:19 +0100
link-grammar (5.5.1-3) unstable; urgency=medium
* QA upload
......
......@@ -10,6 +10,7 @@ Build-Depends:
dh-python,
libedit-dev,
libhunspell-dev,
libsqlite3-dev,
minisat,
pkg-config,
python-dev,
......
Description: demo-sql is not installed on the system, so the test fails
see: https://github.com/opencog/link-grammar/issues/858
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Last-Update: 2018-11-28
--- link-grammar-5.5.1.orig/bindings/python-examples/tests.py
+++ link-grammar-5.5.1/bindings/python-examples/tests.py
@@ -730,24 +730,24 @@ class HEnglishLinkageTestCase(unittest.T
"\nLEFT-WALL we are.v from the planet.n Gorpon[!]"
"\n\n")
-class GSQLDictTestCase(unittest.TestCase):
- @classmethod
- def setUpClass(cls):
- #clg.parse_options_set_verbosity(clg.parse_options_create(), 3)
- cls.d, cls.po = Dictionary(lang='demo-sql'), ParseOptions()
-
- @classmethod
- def tearDownClass(cls):
- del cls.d, cls.po
-
- def test_getting_links(self):
- linkage_testfile(self, self.d, self.po)
-
- def test_getting_links_sat(self):
- sat_po = ParseOptions(use_sat=True)
- if sat_po.use_sat != True:
- raise unittest.SkipTest("Library not configured with SAT parser")
- linkage_testfile(self, self.d, sat_po)
+#class GSQLDictTestCase(unittest.TestCase):
+# @classmethod
+# def setUpClass(cls):
+# #clg.parse_options_set_verbosity(clg.parse_options_create(), 3)
+# cls.d, cls.po = Dictionary(lang='demo-sql'), ParseOptions()
+#
+# @classmethod
+# def tearDownClass(cls):
+# del cls.d, cls.po
+#
+# def test_getting_links(self):
+# linkage_testfile(self, self.d, self.po)
+#
+# def test_getting_links_sat(self):
+# sat_po = ParseOptions(use_sat=True)
+# if sat_po.use_sat != True:
+# raise unittest.SkipTest("Library not configured with SAT parser")
+# linkage_testfile(self, self.d, sat_po)
class IWordPositionTestCase(unittest.TestCase):
@classmethod
disable-failing-test.patch
Tests: unit-tests
Depends: @, python3-distutils, build-essential, hunspell-en-us, locales-all,
Depends: @, @builddeps@, python3-distutils, build-essential, hunspell-en-us, locales-all,
default-jdk [!hppa !hurd-i386 !m68k !sh4],
Restrictions: build-needed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment