tests: print an info message after building tests
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 8 Mar 2017 14:09:27 +0000 (15:09 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 8 Mar 2017 14:09:27 +0000 (15:09 +0100)
commit9dba18de42b0674396c5e2626331d3230532cb56
tree2b45b396972fc752b87ec28e3be1785cbef900fe
parent6876721f7407e15860c59b386669505c477a7850
tests: print an info message after building tests

We can't automatically run unit tests from 'make check' as the test
executable works together with the gpio-mockup kernel module. Without
any additional udev configuration /dev/gpiochipX files are only
accessible for superuser.

Print a message explaining what to do after the tests are built.

NOTE: the message says that linux kernel >=v4.11 is needed to run the
tests. This is not true currently, as we don't test events yet. Event
injecting over debugfs is a new feature of gpio-mockup and will be
available in the upcoming kernel release.

Once v4.11 is released and appropriate test cases implemented, we'll
make it a hard requirement for tests.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/unit/Makefile.am