Skip the tests that won't work for the current backend
Gbp-Pq: Name kdirwatch-tests-method-specific.patch
KDirWatch watch;
watch.addDir(dir.path(), KDirWatch::WatchSubDirs | KDirWatch:: WatchFiles);
+ auto method = qgetenv("KDIRWATCH_METHOD");
+ if ((method != "INotify") && (method != "QFSWatch")) {
+ QSKIP("Only works with the inotify and qfswatch backends", SkipSingle);
+ }
+
// now touch all the files repeatedly and wait for the dirty updates to come in
QSignalSpy spy(&watch, &KDirWatch::dirty);
QBENCHMARK {