]> arthur.barton.de Git - bup.git/blobdiff - wvtest.py
Don't even test for Linux xattrs if platform.system() doesn't include Linux.
[bup.git] / wvtest.py
index 833cfc403c6fddef36a3ff8dca2f7a94f2f9551c..4c4b4b99d0469e668c8241f8007230ac41a6a3f5 100755 (executable)
--- a/wvtest.py
+++ b/wvtest.py
@@ -73,6 +73,10 @@ if __name__ != '__main__':   # we're imported as a module
         return text
 
 
+    def WVMSG(message):
+        ''' Issues a notification. '''
+        return _result(message, traceback.extract_stack()[-3], 'ok')
+
     def WVPASS(cond = True):
         ''' Counts a test failure unless cond is true. '''
         return _check(cond, _code())