piotr | 437f546 | 2014-02-04 17:57:25 +0100 | [diff] [blame] | 1 | # Copyright 2011 Free Software Foundation, Inc. |
| 2 | # |
| 3 | # This file is part of GNU Radio |
| 4 | # |
| 5 | # GNU Radio is free software; you can redistribute it and/or modify |
| 6 | # it under the terms of the GNU General Public License as published by |
| 7 | # the Free Software Foundation; either version 3, or (at your option) |
| 8 | # any later version. |
| 9 | # |
| 10 | # GNU Radio is distributed in the hope that it will be useful, |
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | # GNU General Public License for more details. |
| 14 | # |
| 15 | # You should have received a copy of the GNU General Public License |
| 16 | # along with GNU Radio; see the file COPYING. If not, write to |
| 17 | # the Free Software Foundation, Inc., 51 Franklin Street, |
| 18 | # Boston, MA 02110-1301, USA. |
| 19 | |
| 20 | ######################################################################## |
| 21 | # Include python install macros |
| 22 | ######################################################################## |
| 23 | include(GrPython) |
| 24 | if(NOT PYTHONINTERP_FOUND) |
| 25 | return() |
| 26 | endif() |
| 27 | |
| 28 | ######################################################################## |
| 29 | # Install python sources |
| 30 | ######################################################################## |
| 31 | GR_PYTHON_INSTALL( |
| 32 | FILES |
| 33 | __init__.py |
Piotr Krysik | 773a194 | 2016-05-20 12:45:54 +0200 | [diff] [blame] | 34 | demapping/gsm_bcch_ccch_demapper.py |
| 35 | demapping/gsm_bcch_ccch_sdcch4_demapper.py |
| 36 | demapping/gsm_sdcch8_demapper.py |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 37 | receiver/gsm_input.py |
Piotr K | 66bb3cd | 2014-08-13 19:04:57 +0200 | [diff] [blame] | 38 | receiver/fcch_burst_tagger.py |
| 39 | receiver/sch_detector.py |
rpp | a49a4d2 | 2015-10-01 10:44:34 +0200 | [diff] [blame] | 40 | receiver/fcch_detector.py |
Piotr K | 66bb3cd | 2014-08-13 19:04:57 +0200 | [diff] [blame] | 41 | receiver/chirpz.py |
Roman Khassraf | 9144861 | 2015-08-21 11:14:51 +0200 | [diff] [blame] | 42 | misc_utils/arfcn.py |
Piotr Krysik | 0982673 | 2016-07-15 13:14:24 +0200 | [diff] [blame] | 43 | misc_utils/clock_offset_corrector_tagged.py |
Piotr Krysik | 8715da0 | 2016-01-06 22:21:09 +0100 | [diff] [blame] | 44 | misc_utils/hier_block.py DESTINATION ${GR_PYTHON_DIR}/grgsm |
piotr | 437f546 | 2014-02-04 17:57:25 +0100 | [diff] [blame] | 45 | ) |
| 46 | |
| 47 | ######################################################################## |
| 48 | # Handle the unit tests |
| 49 | ######################################################################## |
Roman Khassraf | 9f1cfce | 2015-07-21 10:57:07 +0200 | [diff] [blame] | 50 | include(GrTest) |
piotr | 437f546 | 2014-02-04 17:57:25 +0100 | [diff] [blame] | 51 | |
Roman Khassraf | 9f1cfce | 2015-07-21 10:57:07 +0200 | [diff] [blame] | 52 | set(GR_TEST_TARGET_DEPS gr-gsm) |
Roman Khassraf | fb772f8 | 2016-09-23 07:23:05 +0200 | [diff] [blame] | 53 | set(GR_TEST_PYTHON_DIRS ${CMAKE_BINARY_DIR}/swig:${CMAKE_BINARY_DIR}/python/misc_utils) |
Roman Khassraf | 9f1cfce | 2015-07-21 10:57:07 +0200 | [diff] [blame] | 54 | GR_ADD_TEST(qa_decryption ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_decryption.py) |
Roman Khassraf | 298700d | 2015-07-25 15:35:58 +0200 | [diff] [blame] | 55 | GR_ADD_TEST(qa_burst_printer ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_burst_printer.py) |
Roman Khassraf | fa92b61 | 2015-07-29 11:34:31 +0200 | [diff] [blame] | 56 | GR_ADD_TEST(qa_message_printer ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_message_printer.py) |
Roman Khassraf | dbc3a50 | 2015-08-03 23:20:20 +0200 | [diff] [blame] | 57 | GR_ADD_TEST(qa_burst_timeslot_splitter ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_burst_timeslot_splitter.py) |
Roman Khassraf | a1eb188 | 2015-08-05 12:30:29 +0200 | [diff] [blame] | 58 | GR_ADD_TEST(qa_burst_sdcch_subslot_splitter ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_burst_sdcch_subslot_splitter.py) |
Roman Khassraf | d7e3eec | 2015-08-06 11:54:22 +0200 | [diff] [blame] | 59 | GR_ADD_TEST(qa_burst_timeslot_filter ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_burst_timeslot_filter.py) |
Roman Khassraf | 8b64d87 | 2015-08-06 17:30:04 +0200 | [diff] [blame] | 60 | GR_ADD_TEST(qa_burst_sdcch_subslot_filter ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_burst_sdcch_subslot_filter.py) |
Roman Khassraf | 8e3b0ec | 2015-08-04 11:16:04 +0200 | [diff] [blame] | 61 | GR_ADD_TEST(qa_burst_fnr_filter ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_burst_fnr_filter.py) |
Roman Khassraf | 7cccb52 | 2015-08-04 12:26:54 +0200 | [diff] [blame] | 62 | GR_ADD_TEST(qa_dummy_burst_filter ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_dummy_burst_filter.py) |
Roman Khassraf | fb772f8 | 2016-09-23 07:23:05 +0200 | [diff] [blame] | 63 | GR_ADD_TEST(qa_arfcn ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_arfcn.py) |
Piotr Krysik | a693483 | 2016-07-15 13:46:43 +0200 | [diff] [blame] | 64 | #GR_ADD_TEST(qa_msg_to_tag ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_msg_to_tag.py) |
| 65 | #GR_ADD_TEST(qa_controlled_fractional_resampler_cc ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_controlled_fractional_resampler_cc.py) |
Piotr Krysik | a3405b2 | 2016-08-30 21:31:24 +0200 | [diff] [blame] | 66 | #GR_ADD_TEST(qa_uplink_downlink_splitter ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_uplink_downlink_splitter.py) |