diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2009-03-19 03:00:16 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2009-11-10 13:23:27 +0100 |
commit | c048337850312205320ab0600177fbee4921db66 (patch) | |
tree | 199dfaaba38653718d9be792fd66e63e3eb6041f /recipes/mtd/mtd-utils-tests_1.2.0+git.bb | |
parent | 6d418da29226cf7998c89641e101a149b4fb81b5 (diff) | |
download | openembedded-c048337850312205320ab0600177fbee4921db66.tar.gz |
mtd-utils-tests: update to 1.2.0+git
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'recipes/mtd/mtd-utils-tests_1.2.0+git.bb')
-rw-r--r-- | recipes/mtd/mtd-utils-tests_1.2.0+git.bb | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/recipes/mtd/mtd-utils-tests_1.2.0+git.bb b/recipes/mtd/mtd-utils-tests_1.2.0+git.bb new file mode 100644 index 0000000000..7787c51f89 --- /dev/null +++ b/recipes/mtd/mtd-utils-tests_1.2.0+git.bb @@ -0,0 +1,59 @@ +require mtd-utils_1.2.0+git.bb + +# this can probably be integrated into the main mtd-utils package +# but I did not want to risk breakage -- but would be glad to +# integrate them if that is best -- cbrake + +SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=${TAG}" + +PR = "r1" + +S = "${WORKDIR}/git/tests/fs-tests" + +FILES_${PN} = "${datadir}/mtd-utils" + +do_compile () { + make || die "Make failed" +} + +do_stage () { +} + +INHIBIT_PACKAGE_STRIP = "1" + +mtd_utils_tests = " \ + help_all.sh \ + run_all.sh \ + integrity/integck \ + simple/ftrunc \ + simple/test_1 \ + simple/test_2 \ + stress/stress00.sh \ + stress/stress01.sh \ + stress/atoms/fwrite00 \ + stress/atoms/gcd_hupper \ + stress/atoms/pdfrun \ + stress/atoms/rmdir00 \ + stress/atoms/rndrm00 \ + stress/atoms/rndrm99 \ + stress/atoms/rndwrite00 \ + stress/atoms/stress_1 \ + stress/atoms/stress_2 \ + stress/atoms/stress_3 \ + utils/free_space \ + utils/fstest_monitor \ + " + +do_install () { + install -d ${D}${datadir}/mtd-utils/tests + install -d ${D}${datadir}/mtd-utils/tests/integrity + install -d ${D}${datadir}/mtd-utils/tests/simple + install -d ${D}${datadir}/mtd-utils/tests/stress + install -d ${D}${datadir}/mtd-utils/tests/stress/atoms + install -d ${D}${datadir}/mtd-utils/tests/utils + for app in ${mtd_utils_tests}; do + install -m 0755 $app ${D}${datadir}/mtd-utils/tests/$app + done +} + + |