summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye2010-11-29 18:02:07 -0700
committerRob Savoye2010-11-29 18:02:07 -0700
commit8976fdfda16729f433c74ed11b2f8f7ec7340210 (patch)
tree27e70b8191fc3b13f5d9a9665e045b836b0a88a6
parent99f4366b48d254051f68b10b2d43b83cc9fb2143 (diff)
downloadgnuradio-8976fdfda16729f433c74ed11b2f8f7ec7340210.tar.gz
gnuradio-8976fdfda16729f433c74ed11b2f8f7ec7340210.tar.bz2
gnuradio-8976fdfda16729f433c74ed11b2f8f7ec7340210.zip
improve xyzzy-search-load-path tests
-rw-r--r--gr-run-waveform/guile/simple.scm16
1 files changed, 13 insertions, 3 deletions
diff --git a/gr-run-waveform/guile/simple.scm b/gr-run-waveform/guile/simple.scm
index fc215c21a..eafef0e6c 100644
--- a/gr-run-waveform/guile/simple.scm
+++ b/gr-run-waveform/guile/simple.scm
@@ -43,8 +43,18 @@ path-with-xyzzy
(define result7 (xyzzy-primitive-load expected))
(define result8 (xyzzy-primitive-load-path expected))
+;; This should return the full name, or #f if it fails.
(define result9 (xyzzy-search-load-path filename))
-;;(if (string=? result9 expected)
-;; (display "PASSED: xyzzy-search-load-path from guile\n")
-;; (display "FAILED: xyzzy-search-load-path from guile\n"))
+(if (boolean? result9)
+ (display "XFAILED: xyzzy-search-load-path from guile\n")
+ (if (string=? result9 expected)
+ (display "XFAILED: xyzzy-search-load-path from guile\n")
+ (display "XPASSED: xyzzy-search-load-path from guile\n")))
+
+(define result10 (xyzzy-search-load-path expected))
+(if (boolean? result9)
+ (display "FAILED: xyzzy-search-load-path from guile\n")
+ (if (string=? result10 expected)
+ (display "PASSED: xyzzy-search-load-path from guile\n")
+ (display "FAILED: xyzzy-search-load-path from guile\n")))