Commit a4dba495 authored by Gianfranco Costamagna's avatar Gianfranco Costamagna

Upload to unstable with a test disabled

parent 4d764212
link-grammar (5.5.1-2) unstable; urgency=medium
* QA upload
* Disable failing test that needs test stuff installed on the system
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 28 Nov 2018 11:51:08 +0100
link-grammar (5.5.1-1) unstable; urgency=medium link-grammar (5.5.1-1) unstable; urgency=medium
* QA upload * QA upload
......
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
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