selftests: check before install
authorBamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Fri, 14 Aug 2015 13:43:35 +0000 (21:43 +0800)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 27 Aug 2015 22:04:15 +0000 (16:04 -0600)
commita7d0f078892ee5e737cbe79541353c630bc71651
tree18b4fea0c3b264d4ecedcffa383879c9659a5db9
parentf21fb798fe38cf87b177d45820991f0e315c0ba8
selftests: check before install

When the test cases is not supported by the current architecture
the install files(TEST_PROGS, TEST_PROGS_EXTENDED and TEST_FILES)
will be empty. Check it before installation to dismiss a failure
reported by install program.

Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/Makefile
tools/testing/selftests/lib.mk