From 7201d60fdd9eb6824b4203bc9f70158b5c5e81ee Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Fri, 12 Jul 2013 12:38:57 +0000 Subject: [PATCH] Run the rawdog-plugins test suite, if present. --- NEWS | 2 ++ test-rawdog | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 7706222..d97942a 100644 --- a/NEWS +++ b/NEWS @@ -25,6 +25,8 @@ fetch), and generally tidy it up. Add test-rawdog, a simple test suite for rawdog with a built-in webserver. You should be able to run this from the rawdog source directory to check that much of rawdog is working correctly. +(If you have the rawdog plugins repo in a subdirectory called +"rawdog-plugins", it'll run tests on some of the plugins too.) Add a -V option, which is like -v but appends the verbose output to a file. This is mostly useful for testing. diff --git a/test-rawdog b/test-rawdog index 2212bfe..9fdac24 100644 --- a/test-rawdog +++ b/test-rawdog @@ -1109,3 +1109,7 @@ add "feed 3h $httpurl/1.rss" add "feed 3h $httpurl/2.rss" rune "not in the config file" -r $httpurl/3.rss +# Run the plugins test suite if it's there. +if [ -e rawdog-plugins/test-plugins ]; then + . rawdog-plugins/test-plugins +fi -- 2.35.1