1 Star 0 Fork 1

gaoxuelong / third_tools

forked from HoperunHarmony / third_tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
aio-stress内容说明.md 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
董森浩 提交于 2022-05-10 16:22 . 添加aio-stress相关

aio-stress内容说明

一、介绍

aio-stress相关内容位于https://gitee.com/halley5/ltp.git

基于https://github.com/linux-test-project/ltp.git

该仓为ltp仓,其中包含fsstress和aio,当前二者均已完成

二、主要修改

主要修改了一个BUILD.gn文件,添加config.h文件

BUILD.gn内容:

import("//build/ohos.gni")

executable("fsstress"){
    sources =[
        "testcases/kernel/fs/fsstress/fsstress.c"
    ]

    include_dirs = [
        "testcases/kernel/fs/fsstress",
        "include"
    ]

    deps = [
        "//third_party/musl:musl_all"
    ]
}
executable("aio"){
    sources =[
        "testcases/kernel/io/ltp-aiodio/aio-stress.c",
    ]

    include_dirs = [
        "//third_party/third_tools/libaio_0.3.113/src",
        "lib",
        "include",
        "include/old",
    ]

    deps = [
        "//third_party/musl:musl_all",
        "//third_party/third_tools/libaio_0.3.113:libaio"
    ]
}

对比视图:https://gitee.com/halley5/ltp/commit/5d82c9e9b6d6bba2b3c12ef2c753559c3e2e74ab

1
https://gitee.com/gaoxuelong/third_tools.git
git@gitee.com:gaoxuelong/third_tools.git
gaoxuelong
third_tools
third_tools
master

搜索帮助