[oe-commits] org.oe.dev mtd-utils-tests: add package
cbrake commit
openembedded-commits at lists.openembedded.org
Mon Oct 1 20:06:51 UTC 2007
mtd-utils-tests: add package
It may make sense to add this to the main package, but because
so few people will use it I did not want to risk breakage at this
time.
Author: cbrake at openembedded.org
Branch: org.openembedded.dev
Revision: 70743353147a08503a9017cee4e94dd6388552d4
ViewMTN: http://monotone.openembedded.org/revision/info/70743353147a08503a9017cee4e94dd6388552d4
Files:
1
packages/mtd/mtd-utils-tests_1.0.0+git.bb
Diffs:
#
# mt diff -r5adbd160a3f917814c540bd524cdc002d28271f6 -r70743353147a08503a9017cee4e94dd6388552d4
#
#
#
# add_file "packages/mtd/mtd-utils-tests_1.0.0+git.bb"
# content [03523cf6fd286f903f70fec99e153ed50f356c6d]
#
============================================================
--- packages/mtd/mtd-utils-tests_1.0.0+git.bb 03523cf6fd286f903f70fec99e153ed50f356c6d
+++ packages/mtd/mtd-utils-tests_1.0.0+git.bb 03523cf6fd286f903f70fec99e153ed50f356c6d
@@ -0,0 +1,59 @@
+require mtd-utils_1.0.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
+}
+
+
More information about the Openembedded-commits
mailing list