diff options
author | Josh Morman <jmorman@perspectalabs.com> | 2019-07-02 11:54:35 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2019-12-04 12:10:33 -0500 |
commit | 6be01747e08f5446f4c69b5a3e41f33cc372630e (patch) | |
tree | 663f461ebdcb90ace60c499935de7a5f8fca7725 /gr-utils/python | |
parent | 1b85d1a7875c8ae3491009225e5134ca5734ca2e (diff) |
modtool: c++ qa tests cmake error
C++ QA tests were not being added to the correct spot in the
lib/CMakeLists
Fixes #2559
Diffstat (limited to 'gr-utils/python')
-rw-r--r-- | gr-utils/python/modtool/core/add.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-utils/python/modtool/core/add.py b/gr-utils/python/modtool/core/add.py index 5396cead27..a011b594f3 100644 --- a/gr-utils/python/modtool/core/add.py +++ b/gr-utils/python/modtool/core/add.py @@ -161,8 +161,8 @@ class ModToolAdd(ModTool): return try: append_re_line_sequence(self._file['cmlib'], - '\$\{CMAKE_CURRENT_SOURCE_DIR\}/qa_%s.cc.*\n' % self.info['modname'], - ' ${CMAKE_CURRENT_SOURCE_DIR}/qa_%s.cc' % self.info['blockname']) + 'list\(APPEND test_{}_sources.*\n'.format(self.info['modname']), + 'qa_{}.cc'.format(self.info['blockname'])) append_re_line_sequence(self._file['qalib'], '#include.*\n', '#include "{}"'.format(fname_qa_h)) |