summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/grc_gr_uhd.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/config/grc_gr_uhd.m4 b/config/grc_gr_uhd.m4
index a9404425a..80052bb50 100644
--- a/config/grc_gr_uhd.m4
+++ b/config/grc_gr_uhd.m4
@@ -44,7 +44,13 @@ AC_DEFUN([GRC_GR_UHD],[
gr-uhd/grc/Makefile \
gr-uhd/lib/Makefile \
gr-uhd/swig/Makefile \
+ gr-uhd/swig/run_tests \
+ gr-uhd/swig/run_guile_tests \
])
- GRC_BUILD_CONDITIONAL(gr-uhd)
+ GRC_BUILD_CONDITIONAL(gr-uhd,[
+ dnl run_tests is created from run_tests.in. Make it executable.
+ AC_CONFIG_COMMANDS([run_tests_uhd],
+ [chmod +x gr-uhd/swig/run_tests gr-uhd/swig/run_guile_tests])
+ ])
])