automake 1.13 enables portability warnings by default now, causing errors with gtk-doc 1.19: automake: warnings are treated as errors docs/gtk-doc.make:77: warning: GTK_DOC_V_SETUP_$(V: non-POSIX recursive variable expansion docs/reference/Makefile.am:90: 'docs/gtk-doc.make' included from here docs/gtk-doc.make:78: warning: GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion and so on. Disable the portability warnings so that autogen.sh works with these versions.
With this option you cannot generate the build system with older automake versions any more. Call the tests ourselves in "check-local", similarly to our already existing "check-installed" rule.
automake: warnings are treated as errors /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libumockdev-preload.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' Makefile.am:24: while processing Libtool library 'libumockdev.la' Makefile.am:61: warning: 'VALAFLAGS' is a user variable, you should not override it; Makefile.am:61: use 'AM_VALAFLAGS' instead
The UMockdevTestbed class is used to build a temporary sysfs file system. You can add a number of devices including arbitrary sysfs attributes and udev properties, and then run your software in that test bed that is independent of the actual hardware it is running on. With this you can simulate particular hardware in virtual environments up to some degree.