[PATCH 0/2] selftests: installation fixes

From: tyler . baker
Date: Tue May 12 2015 - 17:59:23 EST


From: Tyler Baker <tyler.baker@xxxxxxxxxx>

This is a follow up series to address a simple lib.mk installation issue[1].
Essentially, install is being called without checking that there exists test
artifacts to install, which in turn causes 'make install' to fail. By creating
a simple loop we can avoid if/elif/else blocks to determine if install actually
needs to be called.

I've tested this series by building and deploying tests on x86[2], arm64[3], and arm[4]
platforms.

This series is based on next-20150512.

[1] https://lkml.org/lkml/2015/4/20/746
[2] http://lava.kernelci.org/scheduler/job/83448/log_file#L_40
[3] http://lava.kernelci.org/scheduler/job/83665/log_file#L_44
[4] http://lava.kernelci.org/scheduler/job/83442/log_file#L_65

Tyler Baker (2):
selftests/lib.mk: fix INSTALL_RULE
selftests/breakpoints: only set TEST_PROGS when built

tools/testing/selftests/breakpoints/Makefile | 3 +--
tools/testing/selftests/lib.mk | 6 ++++--
2 files changed, 5 insertions(+), 4 deletions(-)

--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/