From: Adam Sampson Date: Fri, 12 Jul 2013 12:38:57 +0000 (+0000) Subject: Run the rawdog-plugins test suite, if present. X-Git-Tag: v2.15rc2 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=9adce6b653d58cc2a527c32efe0b6ce56a5110aa;p=rawdog%2F.git Run the rawdog-plugins test suite, if present. --- 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