summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/core/disable.py
diff options
context:
space:
mode:
authorAnders Kalør <anders@kaloer.com>2019-08-10 18:20:32 +0200
committermormj <34754695+mormj@users.noreply.github.com>2019-12-04 12:10:33 -0500
commitdf14dfd1f12605ae5dcf3a395059e255a7fcd73f (patch)
treebbb0b66313145f9ff6ff0f162a4bb6d3787af802 /gr-utils/python/modtool/core/disable.py
parent6be01747e08f5446f4c69b5a3e41f33cc372630e (diff)
modtool: use Boost UTF for 3.8 OOT blocks
modtool was adding CppUnit qa code for gnuradio 3.8. Boost UTF support was already implemented in #2080, but for some reason not in add.py. This commit adds the code from #2080, adapted to the new modtool. Note that it is based on #2592. Fixes #2722, fixes #2697.
Diffstat (limited to 'gr-utils/python/modtool/core/disable.py')
-rw-r--r--gr-utils/python/modtool/core/disable.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-utils/python/modtool/core/disable.py b/gr-utils/python/modtool/core/disable.py
index d9b3188c67..1fb8d4a830 100644
--- a/gr-utils/python/modtool/core/disable.py
+++ b/gr-utils/python/modtool/core/disable.py
@@ -1,5 +1,5 @@
#
-# Copyright 2013, 2018 Free Software Foundation, Inc.
+# Copyright 2013, 2018, 2019 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -82,7 +82,7 @@ class ModToolDisable(ModTool):
ed.write()
self.scm.mark_file_updated(self._file['qalib'])
elif self.info['version'] == '38':
- fname_qa_cc = 'qa_{}.cc'.format(self._info['blockname'])
+ fname_qa_cc = 'qa_{}.cc'.format(self.info['blockname'])
cmake.comment_out_lines(fname_qa_cc)
elif self.info['version'] == '36':
cmake.comment_out_lines('add_executable.*'+fname)