Signed-off-by: Li Ping 15396232681@163.com --- pkg/test-tools/PKGBUILD | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pkg/test-tools/PKGBUILD
diff --git a/pkg/test-tools/PKGBUILD b/pkg/test-tools/PKGBUILD new file mode 100644 index 00000000..6908c193 --- /dev/null +++ b/pkg/test-tools/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=test-tools +pkgver=git +pkgrel=1 +pkgdesc="smoke test" +url="https://gitee.com/openeuler/test-tools.git" +arch=aarch64 +license=('GPL') +source=("https://gitee.com/openeuler/test-tools.git" + "https://gitee.com/openeuler/integration-test.git" +) +md5sums=('SKIP' 'SKIP') + +package() { + test_tools_path="${pkgdir}/lkp/benchmarks/${pkgname}" + mkdir -p "${test_tools_path}" + cp -af "${srcdir}/test-tools/"* "${test_tools_path}" + cp -af "${srcdir}/integration-test/testcases"* "${test_tools_path}/mugen" + cp -af "${srcdir}/integration-test/suite2cases"* "${test_tools_path}/mugen" +}
On Mon, Oct 12, 2020 at 10:24:00AM +0800, Li Ping wrote:
Signed-off-by: Li Ping 15396232681@163.com
pkg/test-tools/PKGBUILD | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pkg/test-tools/PKGBUILD
diff --git a/pkg/test-tools/PKGBUILD b/pkg/test-tools/PKGBUILD new file mode 100644 index 00000000..6908c193 --- /dev/null +++ b/pkg/test-tools/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=test-tools +pkgver=git +pkgrel=1 +pkgdesc="smoke test" +url="https://gitee.com/openeuler/test-tools.git" +arch=aarch64 +license=('GPL') +source=("https://gitee.com/openeuler/test-tools.git"
"https://gitee.com/openeuler/integration-test.git"
+) +md5sums=('SKIP' 'SKIP')
+package() {
- test_tools_path="${pkgdir}/lkp/benchmarks/${pkgname}"
- mkdir -p "${test_tools_path}"
- cp -af "${srcdir}/test-tools/"* "${test_tools_path}"
- cp -af "${srcdir}/integration-test/testcases"* "${test_tools_path}/mugen"
- cp -af "${srcdir}/integration-test/suite2cases"* "${test_tools_path}/mugen"
'*' is not necessary here? No 2+ dirs starting with testcases and suite2cases:
wfg /c/openeuler/integration-test% ls License README.md suite2cases testcases
+}
2.23.0