summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/guile
diff options
context:
space:
mode:
authorEric Blossom2010-11-09 19:26:40 -0800
committerEric Blossom2010-11-10 12:17:58 -0800
commit15987345134793d3f6f0618bdf6b45ffc6609c0c (patch)
treeb12372be87c3aa85a0e30684aac3cd6ca8b2a4a5 /gnuradio-core/src/guile
parent5228dd1ba5de72642208404b29f8b876fe59f388 (diff)
downloadgnuradio-15987345134793d3f6f0618bdf6b45ffc6609c0c.tar.gz
gnuradio-15987345134793d3f6f0618bdf6b45ffc6609c0c.tar.bz2
gnuradio-15987345134793d3f6f0618bdf6b45ffc6609c0c.zip
Example of how to fix throw crashes
Diffstat (limited to 'gnuradio-core/src/guile')
-rw-r--r--gnuradio-core/src/guile/tests/general_ctors.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-core/src/guile/tests/general_ctors.test b/gnuradio-core/src/guile/tests/general_ctors.test
index 10ee9e9e8..0580d6382 100644
--- a/gnuradio-core/src/guile/tests/general_ctors.test
+++ b/gnuradio-core/src/guile/tests/general_ctors.test
@@ -55,7 +55,8 @@
(pass-if (true? (gr:agc-ff 0 0 0 0)))
;;; ./general/gr_align_on_samplenumbers_ss.h
-;; (pass-if (true? (gr:align-on-samplenumbers-ss 0 0))) FIXME: throws
+(pass-if (true? (gr:align-on-samplenumbers-ss 2 128)))
+(pass-if-throw "confirm throw gr:align-on-samplenumbers-ss" #t (true? (gr:align-on-samplenumbers-ss 0 0)))
;;; ./general/gr_bin_statistics_f.h
;; (pass-if (true? (gr:bin-statistics-f 0 0 0 0 0))) FIXME: not found