```bitbake
## Reminder:  Tabs should not be used (use spaces instead)  in : 	install -d ${D}${bindir}
## Reminder:  Tabs should not be used (use spaces instead)  in : 	for binary in `find . -perm 0755 -type f`
## Reminder:  Tabs should not be used (use spaces instead)  in : 	do
## Reminder:  Tabs should not be used (use spaces instead)  in : 		install -m 0755 $binary ${D}${bindir}
## Reminder:  Tabs should not be used (use spaces instead)  in : 	done
DESCRIPTION = "Real-time tests, such as cyclictest."
HOMEPAGE = "http://rt.wiki.kernel.org/index.php/Cyclictest"
LICENSE = "GPL"
PR = "r0"

SRC_URI = "http://www.kernel.org/pub/linux/kernel/people/tglx/rt-tests/rt-tests-${PV}.tar.bz2"

S = "${WORKDIR}/rt-tests"

do_install() {
        install -d ${D}${bindir}
        for binary in `find . -perm 0755 -type f`
        do
                install -m 0755 $binary ${D}${bindir}
        done
}
```

Fix detection of executables in do_install().
user
```bitbake
DESCRIPTION = "Real-time tests, such as cyclictest, for real-time linux PREEMPT RT kernels"
HOMEPAGE = "http://rt.wiki.kernel.org/index.php/Cyclictest"
LICENSE = "GPL"
PR = "r2"

SRC_URI = "http://www.kernel.org/pub/linux/kernel/people/tglx/rt-tests/rt-tests-${PV}.tar.bz2"

S = "${WORKDIR}/rt-tests"

# Limit to cyclictest only for non-real-time kernels.
# EXTRA_OEMAKE = "cyclictest"

do_install() {
  install -d ${D}${bindir}
  # any file that is executable by user and/or group
  for binary in `find . -perm /u+x,g+x -type f`
  do
    install -m 0755 $binary ${D}${bindir}
  done
}
```
assistant