[glib test utils] Cannot run test family with '-p' option
Hello GLib guys,
first, I would like to thank you all for this amazing library that I used every day and which makes my developer life easier.
I have test suites constructed thanks to glib test facility and I would like to run all tests that come under a path, but it seems not feasible (tested that on glib master under ubuntu 20.04.01). Let me explain with an example taken from glib test itself:
Below are the tests for file monitor (test binary is testfilemonitor):
/monitor/atomic-replace
/monitor/file-changes
/monitor/dir-monitor
/monitor/dir-not-existent
/monitor/cross-dir-moves
/monitor/file/hard-links
What I ran is "testfilemonitor -p /monitor" which gave me:
/monitor/atomic-replace: OK
/monitor/file-changes: OK
/monitor/dir-monitor: OK
/monitor/dir-not-existent: OK
/monitor/cross-dir-moves: OK
But I expected "/monitor/file/hard-links" to be run also since it belongs to "/monitor" family. Is this behavior expected ? If yes, can you tell me how I can manage to run tests under what I called a "test family" ?
Thank you very much for all the insights you may be able to provide.