summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block
diff options
context:
space:
mode:
authorDon Ward2010-05-16 09:30:31 -0700
committerJohnathan Corgan2010-05-16 09:30:31 -0700
commit1c22592ca05eff573b755e36a9685cfadf8a2723 (patch)
tree0c4093cd57aa3dd6e47ab0ae219b98d68402a663 /gr-howto-write-a-block
parent81133f7b37ba2cc1df65dc5704542fa758f32f23 (diff)
downloadgnuradio-1c22592ca05eff573b755e36a9685cfadf8a2723.tar.gz
gnuradio-1c22592ca05eff573b755e36a9685cfadf8a2723.tar.bz2
gnuradio-1c22592ca05eff573b755e36a9685cfadf8a2723.zip
howto: fix make check for win32, darwin (untested)
Diffstat (limited to 'gr-howto-write-a-block')
-rw-r--r--gr-howto-write-a-block/python/run_tests.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/gr-howto-write-a-block/python/run_tests.in b/gr-howto-write-a-block/python/run_tests.in
index 5b50509e1..2c32539c7 100644
--- a/gr-howto-write-a-block/python/run_tests.in
+++ b/gr-howto-write-a-block/python/run_tests.in
@@ -28,6 +28,30 @@ echo $PYTHONPATH
export PYTHONPATH
+case "@host_os@" in
+ darwin*)
+ # FIXME: Code for Darwin guessed but not tested
+ # Special Code for executing on Darwin / Mac OS X only
+ if [ "$DYLD_LIBRARY_PATH" = "" ]
+ then
+ DYLD_LIBRARY_PATH=$libbld/.libs
+ else
+ DYLD_LIBRARY_PATH=$libbld/.libs:$DYLD_LIBRARY_PATH
+ fi
+ export DYLD_LIBRARY_PATH
+ ;;
+ cygwin*|win*|mingw*)
+ # Special Code for executing on Win32 variants only
+ if [ "$PATH" = "" ]
+ then
+ PATH=$libbld/.libs
+ else
+ PATH=$libbld/.libs:$PATH
+ fi
+ export PATH
+ ;;
+esac
+
#
# This is the simple part...
# Run everything that matches qa_*.py and return the final result.