diff options
3 files changed, 14 insertions, 2 deletions
diff --git a/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc b/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc index 3dc6986d6f..26917a93c9 100644 --- a/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc +++ b/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | 8 | ||
| 9 | PTESTS_FAST_META_FILESYSTEMS = "\ | 9 | PTESTS_FAST_META_FILESYSTEMS = "\ |
| 10 | e2tools \ | 10 | e2tools \ |
| 11 | exfatprogs \ | ||
| 11 | unionfs-fuse \ | 12 | unionfs-fuse \ |
| 12 | " | 13 | " |
| 13 | 14 | ||
diff --git a/meta-filesystems/recipes-utils/exfatprogs/exfatprogs/run-ptest b/meta-filesystems/recipes-utils/exfatprogs/exfatprogs/run-ptest new file mode 100644 index 0000000000..337f2029dd --- /dev/null +++ b/meta-filesystems/recipes-utils/exfatprogs/exfatprogs/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | cd tests | ||
| 3 | ./test_fsck.sh | ||
diff --git a/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.6.bb b/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.6.bb index 39411b4cee..8e7d86f307 100644 --- a/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.6.bb +++ b/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.6.bb | |||
| @@ -11,14 +11,22 @@ SECTION = "universe/otherosfs" | |||
| 11 | LICENSE = "GPL-2.0-only" | 11 | LICENSE = "GPL-2.0-only" |
| 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 13 | 13 | ||
| 14 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz" | 14 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \ |
| 15 | file://run-ptest" | ||
| 15 | SRC_URI[sha256sum] = "89d05b7a9537f2413079b724ec8d02d7a2e291c29c52e7256303e9456200fb0f" | 16 | SRC_URI[sha256sum] = "89d05b7a9537f2413079b724ec8d02d7a2e291c29c52e7256303e9456200fb0f" |
| 16 | 17 | ||
| 17 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" | 18 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" |
| 18 | UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)" | 19 | UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)" |
| 19 | 20 | ||
| 20 | inherit autotools | 21 | inherit autotools ptest |
| 21 | 22 | ||
| 22 | RPROVIDES:${PN} = "exfat-utils" | 23 | RPROVIDES:${PN} = "exfat-utils" |
| 23 | RCONFLICTS:${PN} = "exfat-utils" | 24 | RCONFLICTS:${PN} = "exfat-utils" |
| 24 | RREPLACES:${PN} = "exfat-utils" | 25 | RREPLACES:${PN} = "exfat-utils" |
| 26 | RDEPENDS:${PN}-ptest += "bash xz" | ||
| 27 | |||
| 28 | do_install_ptest(){ | ||
| 29 | cp -r ${S}/tests ${D}${PTEST_PATH} | ||
| 30 | sed -i "s,Passed,PASS:," ${D}${PTEST_PATH}/tests/test_fsck.sh | ||
| 31 | sed -i "s,Failed,FAIL:," ${D}${PTEST_PATH}/tests/test_fsck.sh | ||
| 32 | } | ||
