summaryrefslogtreecommitdiff
path: root/gr-usrp2/src/run_tests.in
diff options
context:
space:
mode:
Diffstat (limited to 'gr-usrp2/src/run_tests.in')
-rw-r--r--gr-usrp2/src/run_tests.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/gr-usrp2/src/run_tests.in b/gr-usrp2/src/run_tests.in
new file mode 100644
index 000000000..99190b81b
--- /dev/null
+++ b/gr-usrp2/src/run_tests.in
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# 1st parameter is absolute path to component source directory
+# 2nd parameter is absolute path to component build directory
+# 3rd parameter is path to Python QA directory
+
+# For OS/X
+DYLD_LIBRARY_PATH=@abs_top_builddir@/usrp2/host/lib/legacy:@abs_top_builddir@/usrp2/host/lib/legacy/.libs:$DYLD_LIBRARY_PATH
+export DYLD_LIBRARY_PATH
+
+# For Win32
+PATH=@abs_top_builddir@/usrp2/host/lib/legacy:@abs_top_builddir@/usrp2/host/lib/legacy/.libs:$PATH
+
+@top_builddir@/run_tests.sh \
+ @abs_top_srcdir@/gr-usrp2 \
+ @abs_top_builddir@/gr-usrp2 \
+ @srcdir@