| // |
| // Copyright (C) 2016 The Android Open Source Project |
| // |
| // This software is licensed under the terms of the GNU General Public |
| // License version 2, as published by the Free Software Foundation, and |
| // may be copied, distributed, and modified under those terms. |
| // |
| // This program is distributed in the hope that it will be useful, |
| // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| // GNU General Public License for more details. |
| // |
| |
| // This file is autogenerated by gen_android_build.sh |
| |
| cc_test { |
| name: "ltp_test10", |
| stem: "test10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test10.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test11", |
| stem: "test11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test11.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test12", |
| stem: "test12", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test12.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test13", |
| stem: "test13", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test13.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test14", |
| stem: "test14", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test14.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test15", |
| stem: "test15", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test15.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test16", |
| stem: "test16", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test16.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test17", |
| stem: "test17", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test17.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dio_append", |
| stem: "dio_append", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/ltp-aiodio/dio_append.c"], |
| cflags: ["-DAIO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_acct01", |
| stem: "acct01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/acct/acct01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_aiodio_sparse", |
| stem: "aiodio_sparse", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/ltp-aiodio/aiodio_sparse.c"], |
| cflags: ["-DAIO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_umount2_01", |
| stem: "umount2_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/umount2/umount2_01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid13", |
| stem: "waitpid13", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid13.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_umount2_03", |
| stem: "umount2_03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/umount2/umount2_03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_umount2_02", |
| stem: "umount2_02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/umount2/umount2_02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_overcommit_memory", |
| stem: "overcommit_memory", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/tunable/overcommit_memory.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_wait401", |
| stem: "wait401", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/wait4/wait401.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_support_numa", |
| stem: "support_numa", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/numa/support_numa.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_linkat02", |
| stem: "linkat02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/linkat/linkat02.c"], |
| cflags: ["-Wno-error"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_linkat01", |
| stem: "linkat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/linkat/linkat01.c"], |
| cflags: ["-Wno-error"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_utime06", |
| stem: "utime06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/utime/utime06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_asapi_01", |
| stem: "asapi_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/lib6/asapi_01.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_hackbench", |
| stem: "hackbench", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/sched/cfs-scheduler/hackbench.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_asapi_03", |
| stem: "asapi_03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/lib6/asapi_03.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_asapi_02", |
| stem: "asapi_02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/lib6/asapi_02.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_utimes01", |
| stem: "utimes01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/utimes/utimes01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_wait402", |
| stem: "wait402", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/wait4/wait402.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ioctl05", |
| stem: "ioctl05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ioctl/ioctl05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ioctl04", |
| stem: "ioctl04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ioctl/ioctl04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ioctl07", |
| stem: "ioctl07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ioctl/ioctl07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ioctl06", |
| stem: "ioctl06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ioctl/ioctl06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ioctl01", |
| stem: "ioctl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ioctl/ioctl01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_vmsplice02", |
| stem: "vmsplice02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/vmsplice/vmsplice02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ioctl03", |
| stem: "ioctl03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ioctl/ioctl03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getrandom04", |
| stem: "getrandom04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getrandom/getrandom04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_max_map_count", |
| stem: "max_map_count", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/tunable/max_map_count.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_tst_checkpoint_wake_timeout", |
| stem: "tst_checkpoint_wake_timeout", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_checkpoint_wake_timeout.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_futex_wait05", |
| stem: "futex_wait05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/futex/futex_wait05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_futex_wait03", |
| stem: "futex_wait03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/futex/futex_wait03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_futex_wait01", |
| stem: "futex_wait01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/futex/futex_wait01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getsockname01", |
| stem: "getsockname01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getsockname/getsockname01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_safe_fileops", |
| stem: "tst_safe_fileops", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/tst_safe_fileops.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_kcmp03", |
| stem: "kcmp03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kcmp/kcmp03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_kcmp02", |
| stem: "kcmp02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kcmp/kcmp02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_kcmp01", |
| stem: "kcmp01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kcmp/kcmp01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_test03", |
| stem: "cpuctl_test03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl/cpuctl_test03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_sched_setscheduler03", |
| stem: "sched_setscheduler03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_getparam03", |
| stem: "sched_getparam03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_getparam/sched_getparam03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_getparam02", |
| stem: "sched_getparam02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_getparam/sched_getparam02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_getparam01", |
| stem: "sched_getparam01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_getparam/sched_getparam01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setegid02", |
| stem: "setegid02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setegid/setegid02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_vma05_vdso", |
| stem: "vma05_vdso", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/vma/vma05_vdso.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_ptrace03", |
| stem: "ptrace03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ptrace/ptrace03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ptrace02", |
| stem: "ptrace02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ptrace/ptrace02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ptrace01", |
| stem: "ptrace01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ptrace/ptrace01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ptrace07", |
| stem: "ptrace07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ptrace/ptrace07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid10", |
| stem: "waitpid10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid10.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ptrace05", |
| stem: "ptrace05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ptrace/ptrace05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ptrace04", |
| stem: "ptrace04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ptrace/ptrace04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_can_rcv_own_msgs", |
| stem: "can_rcv_own_msgs", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/can/filter-tests/can_rcv_own_msgs.c"], |
| cflags: [ |
| "-DETH_P_CAN=0x000C", |
| "-DPF_CAN=29", |
| "-DAF_CAN=PF_CAN", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid11", |
| stem: "waitpid11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid11.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_prctl01", |
| stem: "prctl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/prctl/prctl01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execle01_child", |
| stem: "execle01_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execle/execle01_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_prctl02", |
| stem: "prctl02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/prctl/prctl02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_renameat201", |
| stem: "renameat201", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/renameat2/renameat201.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tomoyo_file_test", |
| stem: "tomoyo_file_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/tomoyo/tomoyo_file_test.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_copy_file_range01", |
| stem: "copy_file_range01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/copy_file_range/copy_file_range01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mc_send", |
| stem: "mc_send", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/multicast/mc_commo/mc_send.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_tee02", |
| stem: "tee02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/tee/tee02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuset01", |
| stem: "cpuset01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/cpuset/cpuset01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_sighold02", |
| stem: "sighold02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sighold/sighold02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_quotactl03", |
| stem: "quotactl03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/quotactl/quotactl03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cve-2016-4997", |
| stem: "cve-2016-4997", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/cve-2016-4997.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_quotactl02", |
| stem: "quotactl02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/quotactl/quotactl02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_bdflush01", |
| stem: "bdflush01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/bdflush/bdflush01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readdir02", |
| stem: "readdir02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readdir/readdir02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_unlink05", |
| stem: "unlink05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/unlink/unlink05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_float_bessel", |
| stem: "float_bessel", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/float_bessel.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readv01", |
| stem: "readv01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readv/readv01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setsid01", |
| stem: "setsid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setsid/setsid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_fs_fill_subdirs", |
| stem: "tst_fs_fill_subdirs", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_fs_fill_subdirs.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pec_listener", |
| stem: "pec_listener", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/connectors/pec/pec_listener.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stress_cd", |
| stem: "stress_cd", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/stress_cd/stress_cd.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_lstat01", |
| stem: "lstat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lstat/lstat01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/lstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_lstat03", |
| stem: "lstat03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lstat/lstat03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/lstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_lstat02", |
| stem: "lstat02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lstat/lstat02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/lstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_futex_wake01", |
| stem: "futex_wake01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/futex/futex_wake01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ltpServer", |
| stem: "ltpServer", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/sockets/ltpServer.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_futex_wake02", |
| stem: "futex_wake02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/futex/futex_wake02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_oom05", |
| stem: "oom05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/oom/oom05.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_futex_wake04", |
| stem: "futex_wake04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/futex/futex_wake04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_capset01", |
| stem: "capset01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/capset/capset01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_lftest", |
| stem: "lftest", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/lftest/lftest.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE_SOURCE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_capset02", |
| stem: "capset02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/capset/capset02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cve-2016-10044", |
| stem: "cve-2016-10044", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/cve-2016-10044.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readlink04", |
| stem: "readlink04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readlink/readlink04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readlink01", |
| stem: "readlink01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readlink/readlink01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuacct_task", |
| stem: "cpuacct_task", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuacct/cpuacct_task.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readlink03", |
| stem: "readlink03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readlink/readlink03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mem03", |
| stem: "mem03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/memmap/mem03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstatat01", |
| stem: "fstatat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstatat/fstatat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_exit_group01", |
| stem: "exit_group01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/exit_group/exit_group01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genfmod", |
| stem: "genfmod", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/power/genfmod.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_gentanh", |
| stem: "gentanh", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/iperb/gentanh.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_splice04", |
| stem: "splice04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/splice/splice04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_statfs03", |
| stem: "statfs03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/statfs/statfs03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/statfs", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execve01", |
| stem: "execve01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execve/execve01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execve03", |
| stem: "execve03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execve/execve03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execve02", |
| stem: "execve02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execve/execve02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execve05", |
| stem: "execve05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execve/execve05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cve-2014-0196", |
| stem: "cve-2014-0196", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/cve-2014-0196.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nice01", |
| stem: "nice01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/nice/nice01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tpci", |
| stem: "tpci", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/device-drivers/pci/tpci_user/tpci.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_time02", |
| stem: "time02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/time/time02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genatan", |
| stem: "genatan", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/trigo/genatan.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_execve01_child", |
| stem: "execve01_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execve/execve01_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cve-2012-0957", |
| stem: "cve-2012-0957", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/cve-2012-0957.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genlog", |
| stem: "genlog", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/exp_log/genlog.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile02", |
| stem: "sendfile02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/sendfile", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_f3", |
| stem: "f3", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/commands/nm/datafiles/f3.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_f2", |
| stem: "f2", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/commands/nm/datafiles/f2.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_f1", |
| stem: "f1", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/commands/nm/datafiles/f1.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_hangup01", |
| stem: "hangup01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/pty/hangup01.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_vma03", |
| stem: "vma03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/vma/vma03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_socket02", |
| stem: "socket02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/socket/socket02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_kill12", |
| stem: "kill12", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kill/kill12.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_dup205", |
| stem: "dup205", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup2/dup205.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup204", |
| stem: "dup204", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup2/dup204.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup203", |
| stem: "dup203", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup2/dup203.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup202", |
| stem: "dup202", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup2/dup202.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup201", |
| stem: "dup201", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup2/dup201.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_uname01", |
| stem: "uname01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/uname/uname01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_uname03", |
| stem: "uname03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/uname/uname03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_uname02", |
| stem: "uname02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/uname/uname02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_truncate01", |
| stem: "truncate01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/truncate/truncate01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/truncate", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_hugemmap01", |
| stem: "hugemmap01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/hugetlb/hugemmap/hugemmap01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/mem/hugetlb/lib", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_hugetlb", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_ima_measure", |
| stem: "ima_measure", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/integrity/ima/src/ima_measure.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| shared_libs: [ |
| "libdl", |
| "libcrypto", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_execle01", |
| stem: "execle01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execle/execle01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ext4_test_inode_version", |
| stem: "ext4_test_inode_version", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/ext4-new-features/ext4-inode-version/ext4_test_inode_version.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_acl_link_test", |
| stem: "acl_link_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/acls/acl_link_test.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_getpriority02", |
| stem: "getpriority02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getpriority/getpriority02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sigwait01", |
| stem: "sigwait01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c"], |
| cflags: ["-DTEST_SIGWAIT"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mkdirat01", |
| stem: "mkdirat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mkdirat/mkdirat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sigprocmask01", |
| stem: "sigprocmask01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigprocmask/sigprocmask01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mkdirat02", |
| stem: "mkdirat02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mkdirat/mkdirat02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_checkpoint", |
| stem: "tst_checkpoint", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/lib/tst_checkpoint.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inode01", |
| stem: "inode01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/inode/inode01.c"], |
| cflags: ["-DLINUX"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inode02", |
| stem: "inode02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/inode/inode02.c"], |
| cflags: ["-DLINUX"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_string01", |
| stem: "string01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/string/string01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_send01", |
| stem: "send01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/send/send01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dirtyc0w_child", |
| stem: "dirtyc0w_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/dirtyc0w/dirtyc0w_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ksm02", |
| stem: "ksm02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/ksm/ksm02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_tkill02", |
| stem: "tkill02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/tkill/tkill02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_meltdown", |
| stem: "meltdown", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/meltdown.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/realtime/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_vmsplice01", |
| stem: "vmsplice01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/vmsplice/vmsplice01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork12", |
| stem: "fork12", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork12.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork13", |
| stem: "fork13", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork13.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork10", |
| stem: "fork10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork10.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork11", |
| stem: "fork11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork11.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nanosleep01", |
| stem: "nanosleep01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/nanosleep/nanosleep01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork14", |
| stem: "fork14", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork14.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nanosleep02", |
| stem: "nanosleep02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/nanosleep/nanosleep02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_read01", |
| stem: "read01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/read/read01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execve_child", |
| stem: "execve_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execve/execve_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fsync01", |
| stem: "fsync01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fsync/fsync01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename08", |
| stem: "rename08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fsync03", |
| stem: "fsync03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fsync/fsync03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fsync02", |
| stem: "fsync02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fsync/fsync02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename05", |
| stem: "rename05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename04", |
| stem: "rename04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename07", |
| stem: "rename07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename06", |
| stem: "rename06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename01", |
| stem: "rename01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename03", |
| stem: "rename03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename02", |
| stem: "rename02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genasin", |
| stem: "genasin", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/trigo/genasin.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_get_priority_max02", |
| stem: "sched_get_priority_max02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_crash01", |
| stem: "crash01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/crash/crash01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_syslog12", |
| stem: "syslog12", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/syslog/syslog12.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_kvcmp", |
| stem: "tst_kvcmp", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/lib/tst_kvcmp.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dio_truncate", |
| stem: "dio_truncate", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/ltp-aiodio/dio_truncate.c"], |
| cflags: ["-DAIO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_modify_ldt03", |
| stem: "modify_ldt03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/modify_ldt/modify_ldt03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_modify_ldt02", |
| stem: "modify_ldt02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/modify_ldt/modify_ldt02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_modify_ldt01", |
| stem: "modify_ldt01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/modify_ldt/modify_ldt01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_timer_delete03", |
| stem: "timer_delete03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/timer_delete/timer_delete03.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rt_sigtimedwait01", |
| stem: "rt_sigtimedwait01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c"], |
| cflags: ["-DTEST_RT_SIGTIMEDWAIT"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getsid01", |
| stem: "getsid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getsid/getsid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getsid02", |
| stem: "getsid02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getsid/getsid02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getdomainname01", |
| stem: "getdomainname01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getdomainname/getdomainname01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_symlink03", |
| stem: "symlink03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/symlink/symlink03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_time01", |
| stem: "time01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/time/time01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_settimeofday01", |
| stem: "settimeofday01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/settimeofday/settimeofday01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getaddrinfo_01", |
| stem: "getaddrinfo_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/lib6/getaddrinfo_01.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pty01", |
| stem: "pty01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/pty/pty01.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_settimeofday02", |
| stem: "settimeofday02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/settimeofday/settimeofday02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_get_mempolicy01", |
| stem: "get_mempolicy01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/get_mempolicy/get_mempolicy01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_pm_get_sched_values", |
| stem: "pm_get_sched_values", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/power_management/pm_get_sched_values.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_truncate03", |
| stem: "truncate03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/truncate/truncate03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/truncate", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_truncate02", |
| stem: "truncate02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/truncate/truncate02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/truncate", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_openat02_child", |
| stem: "openat02_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/openat/openat02_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_brk01", |
| stem: "brk01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/brk/brk01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_futex_wait04", |
| stem: "futex_wait04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/futex/futex_wait04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_symlink04", |
| stem: "symlink04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/symlink/symlink04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fdatasync01", |
| stem: "fdatasync01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fdatasync/fdatasync01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cve-2017-6951", |
| stem: "cve-2017-6951", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/cve-2017-6951.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ext4_file_time", |
| stem: "ext4_file_time", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_file_time.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setpgid01", |
| stem: "setpgid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setpgid/setpgid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_setattr01", |
| stem: "sched_setattr01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_setattr/sched_setattr01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setpgid03", |
| stem: "setpgid03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setpgid/setpgid03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setpgid02", |
| stem: "setpgid02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setpgid/setpgid02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gettimeofday01", |
| stem: "gettimeofday01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/gettimeofday/gettimeofday01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_rr_get_interval03", |
| stem: "sched_rr_get_interval03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gettimeofday02", |
| stem: "gettimeofday02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/gettimeofday/gettimeofday02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_test04", |
| stem: "cpuctl_test04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl/cpuctl_test04.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_clock_settime03", |
| stem: "clock_settime03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/clock_settime/clock_settime03.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memctl_test01", |
| stem: "memctl_test01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/memctl/memctl_test01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_ksm06", |
| stem: "ksm06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/ksm/ksm06.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_fpathconf01", |
| stem: "fpathconf01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fpathconf/fpathconf01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_uaccess", |
| stem: "uaccess", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/device-drivers/uaccess/uaccess.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_geniperb", |
| stem: "geniperb", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/iperb/geniperb.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_getattr02", |
| stem: "sched_getattr02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_getattr/sched_getattr02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mincore01", |
| stem: "mincore01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mincore/mincore01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memcg_test_4", |
| stem: "memcg_test_4", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/memcg/regression/memcg_test_4.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_test02", |
| stem: "cpuctl_test02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl/cpuctl_test02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_rmdir05", |
| stem: "rmdir05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rmdir/rmdir05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rmdir04", |
| stem: "rmdir04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rmdir/rmdir04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rmdir01", |
| stem: "rmdir01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rmdir/rmdir01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_test01", |
| stem: "cpuctl_test01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl/cpuctl_test01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_rmdir02", |
| stem: "rmdir02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rmdir/rmdir02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tomoyo_policy_io_test", |
| stem: "tomoyo_policy_io_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/tomoyo/tomoyo_policy_io_test.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_rr_get_interval02", |
| stem: "sched_rr_get_interval02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getdtablesize01", |
| stem: "getdtablesize01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getdtablesize/getdtablesize01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genbessel", |
| stem: "genbessel", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/bessel/genbessel.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_frag", |
| stem: "frag", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/fs_di/frag.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE_SOURCE", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_mc_verify_opts", |
| stem: "mc_verify_opts", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/multicast/mc_opts/mc_verify_opts.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_process_vm_writev02", |
| stem: "process_vm_writev02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/cma/process_vm_writev02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_vma02", |
| stem: "vma02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/vma/vma02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_fanotify05", |
| stem: "fanotify05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fanotify/fanotify05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fanotify04", |
| stem: "fanotify04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fanotify/fanotify04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fanotify07", |
| stem: "fanotify07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fanotify/fanotify07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fanotify06", |
| stem: "fanotify06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fanotify/fanotify06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fanotify01", |
| stem: "fanotify01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fanotify/fanotify01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fanotify03", |
| stem: "fanotify03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fanotify/fanotify03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fanotify02", |
| stem: "fanotify02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fanotify/fanotify02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sockioctl01", |
| stem: "sockioctl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sockioctl/sockioctl01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fanotify08", |
| stem: "fanotify08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fanotify/fanotify08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_safe_macros", |
| stem: "tst_safe_macros", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_safe_macros.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memcg_test_2", |
| stem: "memcg_test_2", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/memcg/regression/memcg_test_2.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clock_gettime03", |
| stem: "clock_gettime03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/clock_gettime/clock_gettime03.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clock_gettime02", |
| stem: "clock_gettime02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/clock_gettime/clock_gettime02.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mc_member_test", |
| stem: "mc_member_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/multicast/mc_member/mc_member_test.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_timer_settime03", |
| stem: "timer_settime03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/timer_settime/timer_settime03.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execv01", |
| stem: "execv01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execv/execv01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clock_settime02", |
| stem: "clock_settime02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/clock_settime/clock_settime02.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_timerfd01", |
| stem: "timerfd01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/timerfd/timerfd01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_latency_test", |
| stem: "cpuctl_latency_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl/cpuctl_latency_test.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_timerfd03", |
| stem: "timerfd03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/timerfd/timerfd03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_timerfd02", |
| stem: "timerfd02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/timerfd/timerfd02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmstress_dummy", |
| stem: "mmstress_dummy", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mtest05/mmstress_dummy.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nfs01_open_files", |
| stem: "nfs01_open_files", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/nfs/nfs_stress/nfs01_open_files.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execv01_child", |
| stem: "execv01_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execv/execv01_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_timer_create02", |
| stem: "timer_create02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/timer_create/timer_create02.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setns01", |
| stem: "setns01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setns/setns01.c"], |
| cflags: ["-Wno-unused-function"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stack_clash", |
| stem: "stack_clash", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/stack_clash.c"], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-Wno-infinite-recursion", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mlock04", |
| stem: "mlock04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mlock/mlock04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmapstress01", |
| stem: "mmapstress01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmapstress01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mlock01", |
| stem: "mlock01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mlock/mlock01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmapstress06", |
| stem: "mmapstress06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmapstress06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mlock03", |
| stem: "mlock03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mlock/mlock03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mlock02", |
| stem: "mlock02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mlock/mlock02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmapstress09", |
| stem: "mmapstress09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmapstress09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mincore02", |
| stem: "mincore02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mincore/mincore02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_futimesat01", |
| stem: "futimesat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/futimesat/futimesat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_openfile", |
| stem: "openfile", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/openfile/openfile.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inotify05", |
| stem: "inotify05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/inotify/inotify05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inotify04", |
| stem: "inotify04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/inotify/inotify04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mknod03", |
| stem: "mknod03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknod/mknod03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_process_vm01", |
| stem: "process_vm01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/cma/process_vm01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inotify01", |
| stem: "inotify01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/inotify/inotify01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mknod04", |
| stem: "mknod04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknod/mknod04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inotify03", |
| stem: "inotify03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/inotify/inotify03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl31", |
| stem: "fcntl31", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl31.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mknod09", |
| stem: "mknod09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknod/mknod09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mknod08", |
| stem: "mknod08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknod/mknod08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cap_bounds_rw", |
| stem: "cap_bounds_rw", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/cap_bound/cap_bounds_rw.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_write05", |
| stem: "write05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/write/write05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl18", |
| stem: "fcntl18", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl18.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl19", |
| stem: "fcntl19", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl19.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inotify_init1_01", |
| stem: "inotify_init1_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/inotify_init/inotify_init1_01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inotify_init1_02", |
| stem: "inotify_init1_02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/inotify_init/inotify_init1_02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl12", |
| stem: "fcntl12", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl12.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl13", |
| stem: "fcntl13", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl13.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl10", |
| stem: "fcntl10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl10.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl11", |
| stem: "fcntl11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl11.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl16", |
| stem: "fcntl16", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl16.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl17", |
| stem: "fcntl17", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl17.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl14", |
| stem: "fcntl14", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl14.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl15", |
| stem: "fcntl15", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl15.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getpgrp01", |
| stem: "getpgrp01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getpgrp/getpgrp01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setegid01", |
| stem: "setegid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setegid/setegid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getresuid03", |
| stem: "getresuid03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getresuid/getresuid03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getresuid02", |
| stem: "getresuid02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getresuid/getresuid02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_swapoff01", |
| stem: "swapoff01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/swapoff/swapoff01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sigpending02", |
| stem: "sigpending02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigpending/sigpending02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_accept01", |
| stem: "accept01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/accept/accept01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_write01", |
| stem: "write01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/write/write01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readv03", |
| stem: "readv03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readv/readv03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readv02", |
| stem: "readv02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readv/readv02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_strerrno", |
| stem: "tst_strerrno", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_strerrno.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gensqrt", |
| stem: "gensqrt", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/power/gensqrt.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_capget01", |
| stem: "capget01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/capget/capget01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gensinh", |
| stem: "gensinh", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/iperb/gensinh.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_strstatus", |
| stem: "tst_strstatus", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/tst_strstatus.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_get_priority_min01", |
| stem: "sched_get_priority_min01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_get_priority_min02", |
| stem: "sched_get_priority_min02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getresgid01", |
| stem: "getresgid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getresgid/getresgid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getresgid03", |
| stem: "getresgid03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getresgid/getresgid03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getresgid02", |
| stem: "getresgid02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getresgid/getresgid02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_cleanup_once", |
| stem: "tst_cleanup_once", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_cleanup_once.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fdatasync02", |
| stem: "fdatasync02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fdatasync/fdatasync02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_device", |
| stem: "tst_device", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_device.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nice02", |
| stem: "nice02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/nice/nice02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_flock05", |
| stem: "flock05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/flock/flock05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_flock04", |
| stem: "flock04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/flock/flock04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_flock06", |
| stem: "flock06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/flock/flock06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_flock01", |
| stem: "flock01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/flock/flock01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_flock03", |
| stem: "flock03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/flock/flock03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_flock02", |
| stem: "flock02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/flock/flock02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_recvfrom01", |
| stem: "recvfrom01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/recvfrom/recvfrom01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mknodat01", |
| stem: "mknodat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknodat/mknodat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mknod06", |
| stem: "mknod06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknod/mknod06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mknodat02", |
| stem: "mknodat02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknodat/mknodat02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fallocate01", |
| stem: "fallocate01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fallocate/fallocate01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fallocate03", |
| stem: "fallocate03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fallocate/fallocate03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fallocate02", |
| stem: "fallocate02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fallocate/fallocate02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fallocate05", |
| stem: "fallocate05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fallocate/fallocate05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fallocate04", |
| stem: "fallocate04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fallocate/fallocate04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap3", |
| stem: "mmap3", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mtest06/mmap3.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap2", |
| stem: "mmap2", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mtest06/mmap2.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup01", |
| stem: "dup01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup/dup01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pathconf01", |
| stem: "pathconf01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pathconf/pathconf01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup03", |
| stem: "dup03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup/dup03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup02", |
| stem: "dup02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup/dup02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup05", |
| stem: "dup05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup/dup05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup04", |
| stem: "dup04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup/dup04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup07", |
| stem: "dup07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup/dup07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup06", |
| stem: "dup06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup/dup06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_connect01", |
| stem: "connect01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/connect/connect01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pth_str03", |
| stem: "pth_str03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/sched/pthreads/pth_str03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stat05", |
| stem: "stat05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/stat/stat05.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/stat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stat06", |
| stem: "stat06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/stat/stat06.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/stat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stat01", |
| stem: "stat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/stat/stat01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/stat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stat03", |
| stem: "stat03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/stat/stat03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/stat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stat02", |
| stem: "stat02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/stat/stat02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/stat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readahead01", |
| stem: "readahead01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readahead/readahead01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readahead02", |
| stem: "readahead02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readahead/readahead02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getxattr02", |
| stem: "getxattr02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getxattr/getxattr02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_newuname01", |
| stem: "newuname01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/newuname/newuname01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_read_checkzero", |
| stem: "read_checkzero", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/ltp-aiodio/read_checkzero.c"], |
| cflags: ["-DAIO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getxattr01", |
| stem: "getxattr01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getxattr/getxattr01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_page02", |
| stem: "page02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/page/page02.c"], |
| cflags: ["-DLINUX"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setpgrp01", |
| stem: "setpgrp01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setpgrp/setpgrp01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gettid01", |
| stem: "gettid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/gettid/gettid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setpgrp02", |
| stem: "setpgrp02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setpgrp/setpgrp02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mlockall03", |
| stem: "mlockall03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mlockall/mlockall03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mlockall02", |
| stem: "mlockall02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mlockall/mlockall02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mlockall01", |
| stem: "mlockall01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mlockall/mlockall01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_syslogtst", |
| stem: "syslogtst", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/syslog/syslogtst.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_set_robust_list01", |
| stem: "set_robust_list01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/set_robust_list/set_robust_list01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getdents01", |
| stem: "getdents01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getdents/getdents01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_timerfd_create01", |
| stem: "timerfd_create01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/timerfd/timerfd_create01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getdents02", |
| stem: "getdents02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getdents/getdents02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open09", |
| stem: "open09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open08", |
| stem: "open08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_quotactl01", |
| stem: "quotactl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/quotactl/quotactl01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_llseek01", |
| stem: "llseek01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/llseek/llseek01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open04", |
| stem: "open04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_llseek03", |
| stem: "llseek03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/llseek/llseek03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_llseek02", |
| stem: "llseek02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/llseek/llseek02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open01", |
| stem: "open01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_def_task01", |
| stem: "cpuctl_def_task01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl/cpuctl_def_task01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_open03", |
| stem: "open03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open02", |
| stem: "open02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getpgid01", |
| stem: "getpgid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getpgid/getpgid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_renameat01", |
| stem: "renameat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/renameat/renameat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getpgid02", |
| stem: "getpgid02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getpgid/getpgid02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rmdir03", |
| stem: "rmdir03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rmdir/rmdir03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ima_boot_aggregate", |
| stem: "ima_boot_aggregate", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/integrity/ima/src/ima_boot_aggregate.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| shared_libs: [ |
| "libdl", |
| "libcrypto", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_cgroup_fj_proc", |
| stem: "cgroup_fj_proc", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cgroup_fj/cgroup_fj_proc.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_personality01", |
| stem: "personality01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/personality/personality01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_personality02", |
| stem: "personality02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/personality/personality02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_timer_create03", |
| stem: "timer_create03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/timer_create/timer_create03.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setrlimit05", |
| stem: "setrlimit05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setrlimit/setrlimit05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setrlimit04", |
| stem: "setrlimit04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setrlimit/setrlimit04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setrlimit01", |
| stem: "setrlimit01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setrlimit/setrlimit01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_syslog11", |
| stem: "syslog11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/syslog/syslog11.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setrlimit03", |
| stem: "setrlimit03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setrlimit/setrlimit03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setrlimit02", |
| stem: "setrlimit02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setrlimit/setrlimit02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_symlink01", |
| stem: "symlink01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/symlink/symlink01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genhypot", |
| stem: "genhypot", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/exp_log/genhypot.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_mkdir01", |
| stem: "mkdir01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mkdir/mkdir01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_symlink05", |
| stem: "symlink05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/symlink/symlink05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendto01", |
| stem: "sendto01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendto/sendto01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_writetest", |
| stem: "writetest", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/writetest/writetest.c"], |
| cflags: [ |
| "-D_LARGEFILE_SOURCE", |
| "-D_LARGEFILE64_SOURCE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_setaffinity01", |
| stem: "sched_setaffinity01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_bind02", |
| stem: "bind02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/bind/bind02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_bind01", |
| stem: "bind01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/bind/bind01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_yield01", |
| stem: "sched_yield01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_yield/sched_yield01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_acl_file_test", |
| stem: "acl_file_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/acls/acl_file_test.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_request_key01", |
| stem: "request_key01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/request_key/request_key01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_latency_check_task", |
| stem: "cpuctl_latency_check_task", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl/cpuctl_latency_check_task.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_timer_create04", |
| stem: "timer_create04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/timer_create/timer_create04.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmapstress04", |
| stem: "mmapstress04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmapstress04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmapstress07", |
| stem: "mmapstress07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmapstress07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_delete_module02", |
| stem: "delete_module02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/module/delete_module/delete_module02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setpriority02", |
| stem: "setpriority02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setpriority/setpriority02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_acl1", |
| stem: "acl1", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/nfsv4/acl/acl1.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid05", |
| stem: "waitpid05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap09", |
| stem: "mmap09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap08", |
| stem: "mmap08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cve-2017-5669", |
| stem: "cve-2017-5669", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/cve-2017-5669.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap03", |
| stem: "mmap03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap02", |
| stem: "mmap02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap01", |
| stem: "mmap01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_oom01", |
| stem: "oom01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/oom/oom01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_mmap07", |
| stem: "mmap07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap06", |
| stem: "mmap06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap05", |
| stem: "mmap05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap04", |
| stem: "mmap04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rt_sigprocmask01", |
| stem: "rt_sigprocmask01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_select02", |
| stem: "select02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/select/select02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rt_sigprocmask02", |
| stem: "rt_sigprocmask02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readlinkat02", |
| stem: "readlinkat02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readlinkat/readlinkat02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readlinkat01", |
| stem: "readlinkat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readlinkat/readlinkat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_sleep", |
| stem: "tst_sleep", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/lib/tst_sleep.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sigaltstack01", |
| stem: "sigaltstack01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigaltstack/sigaltstack01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ssetmask01", |
| stem: "ssetmask01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ssetmask/ssetmask01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sigaltstack02", |
| stem: "sigaltstack02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigaltstack/sigaltstack02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getdelays", |
| stem: "getdelays", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cgroup/getdelays.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genfrexp", |
| stem: "genfrexp", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/exp_log/genfrexp.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_float_trigo", |
| stem: "float_trigo", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/float_trigo.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_request_key03", |
| stem: "request_key03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/request_key/request_key03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_vma04", |
| stem: "vma04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/vma/vma04.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_ltpClient", |
| stem: "ltpClient", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/sockets/ltpClient.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_test_6_2", |
| stem: "test_6_2", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cgroup/test_6_2.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchmodat01", |
| stem: "fchmodat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchmodat/fchmodat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tee01", |
| stem: "tee01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/tee/tee01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_epoll_ctl01", |
| stem: "epoll_ctl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/epoll_ctl/epoll_ctl01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_setscheduler01", |
| stem: "sched_setscheduler01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_epoll_ctl02", |
| stem: "epoll_ctl02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/epoll_ctl/epoll_ctl02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rtc01", |
| stem: "rtc01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/device-drivers/rtc/rtc01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pselect01", |
| stem: "pselect01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pselect/pselect01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pselect", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap1", |
| stem: "mmap1", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mtest06/mmap1.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_capget02", |
| stem: "capget02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/capget/capget02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_socketcall02", |
| stem: "socketcall02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/socketcall/socketcall02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ioperm01", |
| stem: "ioperm01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ioperm/ioperm01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mbind01", |
| stem: "mbind01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mbind/mbind01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_request_key02", |
| stem: "request_key02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/request_key/request_key02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pselect03", |
| stem: "pselect03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pselect/pselect03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pselect", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execlp01_child", |
| stem: "execlp01_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execlp/execlp01_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_futex_wait_bitset01", |
| stem: "futex_wait_bitset01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/futex/futex_wait_bitset01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genpower", |
| stem: "genpower", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/power/genpower.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_futex_wait_bitset02", |
| stem: "futex_wait_bitset02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/futex/futex_wait_bitset02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mount05", |
| stem: "mount05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mount/mount05.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mount04", |
| stem: "mount04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mount/mount04.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memcmp01", |
| stem: "memcmp01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/memcmp/memcmp01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mount06", |
| stem: "mount06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mount/mount06.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mount01", |
| stem: "mount01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mount/mount01.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_utime04", |
| stem: "utime04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/utime/utime04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mount03", |
| stem: "mount03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mount/mount03.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mount02", |
| stem: "mount02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mount/mount02.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clone01", |
| stem: "clone01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clone/clone01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl22", |
| stem: "fcntl22", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl22.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clone03", |
| stem: "clone03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clone/clone03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl20", |
| stem: "fcntl20", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl20.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clone05", |
| stem: "clone05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clone/clone05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clone04", |
| stem: "clone04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clone/clone04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl25", |
| stem: "fcntl25", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl25.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl24", |
| stem: "fcntl24", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl24.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clone09", |
| stem: "clone09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clone/clone09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clone08", |
| stem: "clone08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clone/clone08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl29", |
| stem: "fcntl29", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl29.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl28", |
| stem: "fcntl28", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl28.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execl01", |
| stem: "execl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execl/execl01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_thp03", |
| stem: "thp03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/thp/thp03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_pwritev01", |
| stem: "pwritev01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pwritev/pwritev01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pwritev", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_munlock01", |
| stem: "munlock01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/munlock/munlock01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pwritev02", |
| stem: "pwritev02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pwritev/pwritev02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pwritev", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gethostbyname_r01", |
| stem: "gethostbyname_r01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/gethostbyname_r/gethostbyname_r01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_listxattr03", |
| stem: "listxattr03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/listxattr/listxattr03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_listxattr02", |
| stem: "listxattr02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/listxattr/listxattr02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nptl01", |
| stem: "nptl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/sched/nptl/nptl01.c"], |
| cflags: ["-DUSING_NPTL"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genexp_log", |
| stem: "genexp_log", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/exp_log/genexp_log.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_sync_file_range01", |
| stem: "sync_file_range01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sync_file_range/sync_file_range01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitid01", |
| stem: "waitid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitid/waitid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_delete_module01", |
| stem: "delete_module01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/module/delete_module/delete_module01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitid02", |
| stem: "waitid02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitid/waitid02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tbio", |
| stem: "tbio", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/device-drivers/tbio/tbio_user/tbio.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_munlock02", |
| stem: "munlock02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/munlock/munlock02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork_exec_loop", |
| stem: "fork_exec_loop", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/freezer/fork_exec_loop.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cve-2017-2671", |
| stem: "cve-2017-2671", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/cve-2017-2671.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_vma01", |
| stem: "vma01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/vma/vma01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_rename14", |
| stem: "rename14", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename14.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename12", |
| stem: "rename12", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename12.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename13", |
| stem: "rename13", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename13.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename10", |
| stem: "rename10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename10.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename11", |
| stem: "rename11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename11.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_record_childstatus", |
| stem: "tst_record_childstatus", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_record_childstatus.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fw_load", |
| stem: "fw_load", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/firmware/fw_load_user/fw_load.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_unshare01", |
| stem: "unshare01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/unshare/unshare01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_signalfd4_02", |
| stem: "signalfd4_02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/signalfd4/signalfd4_02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_unshare02", |
| stem: "unshare02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/unshare/unshare02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fptest02", |
| stem: "fptest02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/fptests/fptest02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_smack_set_socket_labels", |
| stem: "smack_set_socket_labels", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/smack/smack_set_socket_labels.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_unlinkat01", |
| stem: "unlinkat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/unlinkat/unlinkat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_aio01", |
| stem: "aio01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/aio/aio01/aio01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sigwaitinfo01", |
| stem: "sigwaitinfo01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c"], |
| cflags: ["-DTEST_SIGWAITINFO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_oom02", |
| stem: "oom02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/oom/oom02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_clock_nanosleep01", |
| stem: "clock_nanosleep01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clock_nanosleep02", |
| stem: "clock_nanosleep02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readdir01", |
| stem: "readdir01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readdir/readdir01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_check_simple_capset", |
| stem: "check_simple_capset", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/filecaps/check_simple_capset.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_swapping01", |
| stem: "swapping01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/swapping/swapping01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_fj_simple_echo", |
| stem: "cpuctl_fj_simple_echo", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl_fj/cpuctl_fj_simple_echo.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_delete_module03", |
| stem: "delete_module03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/module/delete_module/delete_module03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inh_capped", |
| stem: "inh_capped", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/filecaps/inh_capped.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_fj_cpu-hog", |
| stem: "cpuctl_fj_cpu-hog", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl_fj/cpuctl_fj_cpu-hog.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_removexattr01", |
| stem: "removexattr01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/removexattr/removexattr01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_removexattr02", |
| stem: "removexattr02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/removexattr/removexattr02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_writev02", |
| stem: "writev02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/writev/writev02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_exit01", |
| stem: "exit01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/exit/exit01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_checkpoint_wait_timeout", |
| stem: "tst_checkpoint_wait_timeout", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_checkpoint_wait_timeout.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_socketpair01", |
| stem: "socketpair01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/socketpair/socketpair01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_exit02", |
| stem: "exit02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/exit/exit02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nfs04_create_file", |
| stem: "nfs04_create_file", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/nfs/nfs_stress/nfs04_create_file.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE_SOURCE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_writev01", |
| stem: "writev01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/writev/writev01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_strsig", |
| stem: "tst_strsig", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_strsig.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fptest01", |
| stem: "fptest01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/fptests/fptest01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_writev07", |
| stem: "writev07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/writev/writev07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_float_iperb", |
| stem: "float_iperb", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/float_iperb.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genexp", |
| stem: "genexp", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/exp_log/genexp.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_writev06", |
| stem: "writev06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/writev/writev06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_random-access", |
| stem: "random-access", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/fs-bench/random-access.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_writev05", |
| stem: "writev05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/writev/writev05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_get_priority_max01", |
| stem: "sched_get_priority_max01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rename09", |
| stem: "rename09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rename/rename09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpufreq_boost", |
| stem: "cpufreq_boost", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/device-drivers/cpufreq/cpufreq_boost.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_times01", |
| stem: "times01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/times/times01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_fs_fill_hardlinks", |
| stem: "tst_fs_fill_hardlinks", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_fs_fill_hardlinks.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_times03", |
| stem: "times03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/times/times03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getrandom01", |
| stem: "getrandom01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getrandom/getrandom01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getrandom03", |
| stem: "getrandom03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getrandom/getrandom03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getrandom02", |
| stem: "getrandom02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getrandom/getrandom02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_add_key01", |
| stem: "add_key01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/add_key/add_key01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memcg_process_stress", |
| stem: "memcg_process_stress", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/memcg/stress/memcg_process_stress.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_add_key03", |
| stem: "add_key03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/add_key/add_key03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_add_key02", |
| stem: "add_key02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/add_key/add_key02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_add_key04", |
| stem: "add_key04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/add_key/add_key04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_thp02", |
| stem: "thp02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/thp/thp02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_fs_perms", |
| stem: "fs_perms", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/fs_perms/fs_perms.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_exec_with_inh", |
| stem: "exec_with_inh", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/cap_bound/exec_with_inh.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_recv01", |
| stem: "recv01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/recv/recv01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fsx-linux", |
| stem: "fsx-linux", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/fsx-linux/fsx-linux.c"], |
| cflags: [ |
| "-DNO_XFS", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/fs/fsx-linux", |
| "include/old", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_utime01", |
| stem: "utime01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/utime/utime01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysconf01", |
| stem: "sysconf01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysconf/sysconf01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_page01", |
| stem: "page01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/page/page01.c"], |
| cflags: ["-DLINUX"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getitimer01", |
| stem: "getitimer01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getitimer/getitimer01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getitimer03", |
| stem: "getitimer03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getitimer/getitimer03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getitimer02", |
| stem: "getitimer02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getitimer/getitimer02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_select01", |
| stem: "select01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/select/select01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readdir21", |
| stem: "readdir21", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readdir/readdir21.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sethostname02", |
| stem: "sethostname02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sethostname/sethostname02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_can_filter", |
| stem: "can_filter", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/can/filter-tests/can_filter.c"], |
| cflags: [ |
| "-DETH_P_CAN=0x000C", |
| "-DPF_CAN=29", |
| "-DAF_CAN=PF_CAN", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_crash02", |
| stem: "crash02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/crash/crash02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tomoyo_new_test", |
| stem: "tomoyo_new_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/tomoyo/tomoyo_new_test.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chroot04", |
| stem: "chroot04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chroot/chroot04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chroot03", |
| stem: "chroot03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chroot/chroot03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chroot02", |
| stem: "chroot02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chroot/chroot02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chroot01", |
| stem: "chroot01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chroot/chroot01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_timer_delete02", |
| stem: "timer_delete02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/timer_delete/timer_delete02.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_adjtimex01", |
| stem: "adjtimex01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/adjtimex/adjtimex01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_keyctl08", |
| stem: "keyctl08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/keyctl/keyctl08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_adjtimex02", |
| stem: "adjtimex02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/adjtimex/adjtimex02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_umount01", |
| stem: "umount01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/umount/umount01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_keyctl01", |
| stem: "keyctl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/keyctl/keyctl01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_keyctl03", |
| stem: "keyctl03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/keyctl/keyctl03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_keyctl02", |
| stem: "keyctl02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/keyctl/keyctl02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_keyctl05", |
| stem: "keyctl05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/keyctl/keyctl05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_keyctl04", |
| stem: "keyctl04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/keyctl/keyctl04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_keyctl07", |
| stem: "keyctl07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/keyctl/keyctl07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_keyctl06", |
| stem: "keyctl06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/keyctl/keyctl06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mem01", |
| stem: "mem01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mem/mem01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setpgid03_child", |
| stem: "setpgid03_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setpgid/setpgid03_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open12_child", |
| stem: "open12_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open12_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_symlink02", |
| stem: "symlink02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/symlink/symlink02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cgroup_xattr", |
| stem: "cgroup_xattr", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cgroup_xattr/cgroup_xattr.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_oom03", |
| stem: "oom03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/oom/oom03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_mmapstress03", |
| stem: "mmapstress03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmapstress03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_print_caps", |
| stem: "print_caps", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/filecaps/print_caps.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mem02", |
| stem: "mem02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mem/mem02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmapstress02", |
| stem: "mmapstress02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmapstress02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pids_task1", |
| stem: "pids_task1", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/pids/pids_task1.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pselect02", |
| stem: "pselect02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pselect/pselect02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pselect", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pids_task2", |
| stem: "pids_task2", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/pids/pids_task2.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_umask01", |
| stem: "umask01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/umask/umask01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_oom04", |
| stem: "oom04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/oom/oom04.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_getxattr03", |
| stem: "getxattr03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getxattr/getxattr03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getsockopt02", |
| stem: "getsockopt02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getsockopt/getsockopt02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getsockopt01", |
| stem: "getsockopt01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getsockopt/getsockopt01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genatan2", |
| stem: "genatan2", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/trigo/genatan2.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_gensin", |
| stem: "gensin", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/trigo/gensin.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_getxattr04", |
| stem: "getxattr04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getxattr/getxattr04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getpid02", |
| stem: "getpid02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getpid/getpid02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getpid01", |
| stem: "getpid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getpid/getpid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysinfo02", |
| stem: "sysinfo02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysinfo/sysinfo02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setsockopt01", |
| stem: "setsockopt01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setsockopt/setsockopt01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_min_free_kbytes", |
| stem: "min_free_kbytes", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/tunable/min_free_kbytes.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_setxattr03", |
| stem: "setxattr03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setxattr/setxattr03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setxattr02", |
| stem: "setxattr02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setxattr/setxattr02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setxattr01", |
| stem: "setxattr01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setxattr/setxattr01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_utime02", |
| stem: "utime02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/utime/utime02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_preadv01", |
| stem: "preadv01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/preadv/preadv01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/preadv", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmapstress05", |
| stem: "mmapstress05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmapstress05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_preadv02", |
| stem: "preadv02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/preadv/preadv02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/preadv", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_utime05", |
| stem: "utime05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/utime/utime05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open05", |
| stem: "open05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getcpu01", |
| stem: "getcpu01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getcpu/getcpu01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dirtyc0w", |
| stem: "dirtyc0w", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/dirtyc0w/dirtyc0w.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_epoll_wait01", |
| stem: "epoll_wait01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/epoll_wait/epoll_wait01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_net_vars", |
| stem: "tst_net_vars", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/lib/tst_net_vars.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_epoll_wait03", |
| stem: "epoll_wait03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/epoll_wait/epoll_wait03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_epoll_wait02", |
| stem: "epoll_wait02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/epoll_wait/epoll_wait02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_madvise01", |
| stem: "madvise01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/madvise/madvise01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_event_generator", |
| stem: "event_generator", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/connectors/pec/event_generator.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_umount02", |
| stem: "umount02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/umount/umount02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe01", |
| stem: "pipe01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl23", |
| stem: "fcntl23", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl23.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe03", |
| stem: "pipe03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe02", |
| stem: "pipe02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe05", |
| stem: "pipe05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe04", |
| stem: "pipe04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe07", |
| stem: "pipe07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe06", |
| stem: "pipe06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe09", |
| stem: "pipe09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe08", |
| stem: "pipe08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl21", |
| stem: "fcntl21", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl21.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sigtimedwait01", |
| stem: "sigtimedwait01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c"], |
| cflags: ["-DTEST_SIGTIMEDWAIT"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sethostname01", |
| stem: "sethostname01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sethostname/sethostname01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ksm01", |
| stem: "ksm01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/ksm/ksm01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_sethostname03", |
| stem: "sethostname03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sethostname/sethostname03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clone02", |
| stem: "clone02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clone/clone02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memcg_test_3", |
| stem: "memcg_test_3", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/memcg/regression/memcg_test_3.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_flistxattr03", |
| stem: "flistxattr03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/flistxattr/flistxattr03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_flistxattr02", |
| stem: "flistxattr02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/flistxattr/flistxattr02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_flistxattr01", |
| stem: "flistxattr01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/flistxattr/flistxattr01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchdir01", |
| stem: "fchdir01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchdir/fchdir01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchdir03", |
| stem: "fchdir03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchdir/fchdir03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchdir02", |
| stem: "fchdir02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchdir/fchdir02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_munlockall01", |
| stem: "munlockall01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/munlockall/munlockall01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mknod01", |
| stem: "mknod01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknod/mknod01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_munlockall02", |
| stem: "munlockall02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/munlockall/munlockall02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clone07", |
| stem: "clone07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clone/clone07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open07", |
| stem: "open07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ksm03", |
| stem: "ksm03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/ksm/ksm03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_clone06", |
| stem: "clone06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clone/clone06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ksm04", |
| stem: "ksm04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/ksm/ksm04.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_signalfd4_01", |
| stem: "signalfd4_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/signalfd4/signalfd4_01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inotify06", |
| stem: "inotify06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/inotify/inotify06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysctl03", |
| stem: "sysctl03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysctl/sysctl03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genj0", |
| stem: "genj0", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/bessel/genj0.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap-corruption01", |
| stem: "mmap-corruption01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmap-corruption01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_create_datafile", |
| stem: "create_datafile", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/fs_di/create_datafile.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE_SOURCE", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_mknod05", |
| stem: "mknod05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknod/mknod05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_readlink02", |
| stem: "readlink02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/readlink/readlink02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_hugemmap04", |
| stem: "hugemmap04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/hugetlb/hugemmap/hugemmap04.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/mem/hugetlb/lib", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_hugetlb", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_timerfd_gettime01", |
| stem: "timerfd_gettime01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/timerfd/timerfd_gettime01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_hugemmap06", |
| stem: "hugemmap06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/hugetlb/hugemmap/hugemmap06.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/mem/hugetlb/lib", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_hugetlb", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_tomoyo_filesystem_test", |
| stem: "tomoyo_filesystem_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/tomoyo/tomoyo_filesystem_test.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_signal02", |
| stem: "signal02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/signal/signal02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mknod07", |
| stem: "mknod07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknod/mknod07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open06", |
| stem: "open06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_inotify02", |
| stem: "inotify02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/inotify/inotify02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_lseek01", |
| stem: "lseek01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lseek/lseek01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile08", |
| stem: "sendfile08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile08.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/sendfile", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gentan", |
| stem: "gentan", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/trigo/gentan.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_lseek02", |
| stem: "lseek02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lseek/lseek02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_epoll-ltp", |
| stem: "epoll-ltp", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/epoll/epoll-ltp.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_in", |
| stem: "in", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/commands/file/datafiles/in.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_lseek07", |
| stem: "lseek07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lseek/lseek07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl27", |
| stem: "fcntl27", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl27.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile03", |
| stem: "sendfile03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/sendfile", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cve-2017-2618", |
| stem: "cve-2017-2618", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/cve-2017-2618.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile05", |
| stem: "sendfile05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile05.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/sendfile", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execl01_child", |
| stem: "execl01_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execl/execl01_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile07", |
| stem: "sendfile07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile07.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/sendfile", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile06", |
| stem: "sendfile06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile06.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/sendfile", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_signal05", |
| stem: "signal05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/signal/signal05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memcg_test_1", |
| stem: "memcg_test_1", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/memcg/regression/memcg_test_1.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_smack_notroot", |
| stem: "smack_notroot", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/smack/smack_notroot.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open14", |
| stem: "open14", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open14.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genj1", |
| stem: "genj1", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/bessel/genj1.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_open13", |
| stem: "open13", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open13.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open10", |
| stem: "open10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open10.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_open11", |
| stem: "open11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/open/open11.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl26", |
| stem: "fcntl26", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl26.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_getaffinity01", |
| stem: "sched_getaffinity01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_getaffinity/sched_getaffinity01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getcwd04", |
| stem: "getcwd04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getcwd/getcwd04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_in6_02", |
| stem: "in6_02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/lib6/in6_02.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getcwd01", |
| stem: "getcwd01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getcwd/getcwd01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getcwd03", |
| stem: "getcwd03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getcwd/getcwd03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getcwd02", |
| stem: "getcwd02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getcwd/getcwd02.c"], |
| cflags: ["-U_FORTIFY_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_net_ip_prefix", |
| stem: "tst_net_ip_prefix", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/lib/tst_net_ip_prefix.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genacos", |
| stem: "genacos", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/trigo/genacos.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_timerfd_settime01", |
| stem: "timerfd_settime01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/timerfd/timerfd_settime01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_hugemmap02", |
| stem: "hugemmap02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/hugetlb/hugemmap/hugemmap02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/mem/hugetlb/lib", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_hugetlb", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_recvmsg01", |
| stem: "recvmsg01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/recvmsg/recvmsg01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_recvmsg03", |
| stem: "recvmsg03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/recvmsg/recvmsg03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_recvmsg02", |
| stem: "recvmsg02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/recvmsg/recvmsg02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mremap01", |
| stem: "mremap01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mremap/mremap01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_ltp_acpi", |
| stem: "ltp_acpi", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/device-drivers/acpi/ltp_acpi.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mremap03", |
| stem: "mremap03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mremap/mremap03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_mremap02", |
| stem: "mremap02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mremap/mremap02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_mremap05", |
| stem: "mremap05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mremap/mremap05.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_mmap001", |
| stem: "mmap001", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap001.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_lgetxattr01", |
| stem: "lgetxattr01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lgetxattr/lgetxattr01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pause03", |
| stem: "pause03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pause/pause03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_lgetxattr02", |
| stem: "lgetxattr02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lgetxattr/lgetxattr02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tomoyo_accept_test", |
| stem: "tomoyo_accept_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/tomoyo/tomoyo_accept_test.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysinfo01", |
| stem: "sysinfo01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysinfo/sysinfo01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap14", |
| stem: "mmap14", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap14.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap15", |
| stem: "mmap15", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap15.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap16", |
| stem: "mmap16", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap16.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap10", |
| stem: "mmap10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap10.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap11", |
| stem: "mmap11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap11.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap12", |
| stem: "mmap12", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap12.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmap13", |
| stem: "mmap13", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mmap/mmap13.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysctl05", |
| stem: "sysctl05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysctl/sysctl05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysctl04", |
| stem: "sysctl04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysctl/sysctl04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_utime03", |
| stem: "utime03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/utime/utime03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genpow", |
| stem: "genpow", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/power/genpow.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_getrlimit01", |
| stem: "getrlimit01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getrlimit/getrlimit01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_check_keepcaps", |
| stem: "check_keepcaps", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/securebits/check_keepcaps.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getrlimit02", |
| stem: "getrlimit02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getrlimit/getrlimit02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_utimensat01", |
| stem: "utimensat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/utimensat/utimensat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nice04", |
| stem: "nice04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/nice/nice04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_unlink07", |
| stem: "unlink07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/unlink/unlink07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gencos", |
| stem: "gencos", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/trigo/gencos.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_nice03", |
| stem: "nice03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/nice/nice03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cap_bounds_r", |
| stem: "cap_bounds_r", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/cap_bound/cap_bounds_r.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execve04", |
| stem: "execve04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execve/execve04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_iogen", |
| stem: "iogen", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/doio/iogen.c", |
| "testcases/kernel/fs/doio/dataascii.c", |
| "testcases/kernel/fs/doio/databin.c", |
| "testcases/kernel/fs/doio/file_lock.c", |
| "testcases/kernel/fs/doio/forker.c", |
| "testcases/kernel/fs/doio/open_flags.c", |
| "testcases/kernel/fs/doio/datapid.c", |
| "testcases/kernel/fs/doio/write_log.c", |
| "testcases/kernel/fs/doio/pattern.c", |
| "testcases/kernel/fs/doio/string_to_tokens.c", |
| "testcases/kernel/fs/doio/bytes_by_prefix.c", |
| ], |
| cflags: ["-D_LARGEFILE64_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/fs/doio/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fs_fill", |
| stem: "fs_fill", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/fs_fill/fs_fill.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_access04", |
| stem: "access04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/access/access04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ltp-diorh", |
| stem: "ltp-diorh", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/ltp-aiodio/ltp-diorh.c"], |
| cflags: ["-DAIO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_epoll_create1_01", |
| stem: "epoll_create1_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/epoll_create1/epoll_create1_01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_renameat202", |
| stem: "renameat202", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/renameat2/renameat202.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_unlink06", |
| stem: "unlink06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/unlink/unlink06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pwrite04", |
| stem: "pwrite04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pwrite/pwrite04.c"], |
| cflags: ["-Wno-error"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pwrite", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pwrite02", |
| stem: "pwrite02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pwrite/pwrite02.c"], |
| cflags: ["-Wno-error"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pwrite", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pwrite01", |
| stem: "pwrite01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pwrite/pwrite01.c"], |
| cflags: ["-Wno-error"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pwrite", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_splice05", |
| stem: "splice05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/splice/splice05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setitimer01", |
| stem: "setitimer01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setitimer/setitimer01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stack_space", |
| stem: "stack_space", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/vmtests/stack_space.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_splice01", |
| stem: "splice01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/splice/splice01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_splice03", |
| stem: "splice03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/splice/splice03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_splice02", |
| stem: "splice02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/splice/splice02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getresuid01", |
| stem: "getresuid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getresuid/getresuid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_socket01", |
| stem: "socket01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/socket/socket01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genfloor", |
| stem: "genfloor", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/power/genfloor.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_setitimer03", |
| stem: "setitimer03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setitimer/setitimer03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_time-schedule", |
| stem: "time-schedule", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/sched/tool/time-schedule.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_float_power", |
| stem: "float_power", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/float_power.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setitimer02", |
| stem: "setitimer02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setitimer/setitimer02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_process_state", |
| stem: "tst_process_state", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_process_state.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ioperm02", |
| stem: "ioperm02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ioperm/ioperm02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setdomainname02", |
| stem: "setdomainname02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setdomainname/setdomainname02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genmodf", |
| stem: "genmodf", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/exp_log/genmodf.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_timer_gettime01", |
| stem: "timer_gettime01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/timer_gettime/timer_gettime01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile09", |
| stem: "sendfile09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile09.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/sendfile", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ptem01", |
| stem: "ptem01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/pty/ptem01.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_swapoff02", |
| stem: "swapoff02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/swapoff/swapoff02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pth_str02", |
| stem: "pth_str02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/sched/pthreads/pth_str02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl30", |
| stem: "fcntl30", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl30.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getpeername01", |
| stem: "getpeername01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getpeername/getpeername01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl32", |
| stem: "fcntl32", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl32.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl33", |
| stem: "fcntl33", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl33.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl34", |
| stem: "fcntl34", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl34.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl35", |
| stem: "fcntl35", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl35.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl36", |
| stem: "fcntl36", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl36.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_process_vm_readv03", |
| stem: "process_vm_readv03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/cma/process_vm_readv03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_process_vm_readv02", |
| stem: "process_vm_readv02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/cma/process_vm_readv02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cve-2016-7117", |
| stem: "cve-2016-7117", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/cve-2016-7117.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test03", |
| stem: "test03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test02", |
| stem: "test02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test01", |
| stem: "test01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test07", |
| stem: "test07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test06", |
| stem: "test06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test05", |
| stem: "test05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test04", |
| stem: "test04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_accept4_01", |
| stem: "accept4_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/accept4/accept4_01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test09", |
| stem: "test09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_test08", |
| stem: "test08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/test08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_def_task04", |
| stem: "cpuctl_def_task04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl/cpuctl_def_task04.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_endian_switch01", |
| stem: "endian_switch01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/switch/endian_switch01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_socketcall03", |
| stem: "socketcall03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/socketcall/socketcall03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendto02", |
| stem: "sendto02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendto/sendto02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memcpy01", |
| stem: "memcpy01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/memcpy/memcpy01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_rr_get_interval01", |
| stem: "sched_rr_get_interval01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sigrelse01", |
| stem: "sigrelse01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigrelse/sigrelse01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid08", |
| stem: "waitpid08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysfs05", |
| stem: "sysfs05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysfs/sysfs05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid04", |
| stem: "waitpid04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid07", |
| stem: "waitpid07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid06", |
| stem: "waitpid06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid01", |
| stem: "waitpid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_iobw", |
| stem: "iobw", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/io-throttle/iobw.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid03", |
| stem: "waitpid03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid02", |
| stem: "waitpid02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_alarm01", |
| stem: "alarm01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/alarm/alarm01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_setscheduler02", |
| stem: "sched_setscheduler02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_alarm03", |
| stem: "alarm03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/alarm/alarm03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_alarm02", |
| stem: "alarm02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/alarm/alarm02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_alarm05", |
| stem: "alarm05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/alarm/alarm05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_netstress", |
| stem: "netstress", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/netstress/netstress.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_alarm07", |
| stem: "alarm07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/alarm/alarm07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_alarm06", |
| stem: "alarm06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/alarm/alarm06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_msync01", |
| stem: "msync01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/msync/msync01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_msync03", |
| stem: "msync03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/msync/msync03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_msync02", |
| stem: "msync02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/msync/msync02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_msync04", |
| stem: "msync04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/msync/msync04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile04", |
| stem: "sendfile04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile04.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/sendfile", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchownat01", |
| stem: "fchownat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchownat/fchownat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tomoyo_new_file_test", |
| stem: "tomoyo_new_file_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/tomoyo/tomoyo_new_file_test.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tomoyo_rewrite_test", |
| stem: "tomoyo_rewrite_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/tomoyo/tomoyo_rewrite_test.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchownat02", |
| stem: "fchownat02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchownat/fchownat02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sigaction01", |
| stem: "sigaction01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigaction/sigaction01.c"], |
| cflags: [ |
| "-DGLIBC_SIGACTION_BUG=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sigaction02", |
| stem: "sigaction02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sigaction/sigaction02.c"], |
| cflags: [ |
| "-DGLIBC_SIGACTION_BUG=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchmod03", |
| stem: "fchmod03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchmod/fchmod03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchmod02", |
| stem: "fchmod02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchmod/fchmod02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchmod01", |
| stem: "fchmod01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchmod/fchmod01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchmod07", |
| stem: "fchmod07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchmod/fchmod07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchmod06", |
| stem: "fchmod06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchmod/fchmod06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchmod05", |
| stem: "fchmod05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchmod/fchmod05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fchmod04", |
| stem: "fchmod04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fchmod/fchmod04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_aiodio_append", |
| stem: "aiodio_append", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/ltp-aiodio/aiodio_append.c"], |
| cflags: ["-DAIO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_trerrno", |
| stem: "trerrno", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/trerrno.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_socketcall01", |
| stem: "socketcall01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/socketcall/socketcall01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe2_01", |
| stem: "pipe2_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe2/pipe2_01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe2_02", |
| stem: "pipe2_02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe2/pipe2_02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_signal01", |
| stem: "signal01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/signal/signal01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_symlinkat01", |
| stem: "symlinkat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/symlinkat/symlinkat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_geny1", |
| stem: "geny1", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/bessel/geny1.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_iopl01", |
| stem: "iopl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/iopl/iopl01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mprotect01", |
| stem: "mprotect01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mprotect/mprotect01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_geny0", |
| stem: "geny0", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/bessel/geny0.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_signal03", |
| stem: "signal03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/signal/signal03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ppoll01", |
| stem: "ppoll01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ppoll/ppoll01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stream04", |
| stem: "stream04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/stream/stream04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_read03", |
| stem: "read03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/read/read03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_read02", |
| stem: "read02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/read/read02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_read04", |
| stem: "read04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/read/read04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_unlink08", |
| stem: "unlink08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/unlink/unlink08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork_processes", |
| stem: "fork_processes", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cgroup/fork_processes.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_signalfd01", |
| stem: "signalfd01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/signalfd/signalfd01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_timer_getoverrun01", |
| stem: "timer_getoverrun01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/timer_getoverrun/timer_getoverrun01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mknod02", |
| stem: "mknod02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mknod/mknod02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysfs06", |
| stem: "sysfs06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysfs/sysfs06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_aiocp", |
| stem: "aiocp", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/ltp-aiodio/aiocp.c"], |
| cflags: ["-DAIO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_openat03", |
| stem: "openat03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/openat/openat03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_openat01", |
| stem: "openat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/openat/openat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_kill10", |
| stem: "kill10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kill/kill10.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_setdomainname03", |
| stem: "setdomainname03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setdomainname/setdomainname03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_perf_event_open01", |
| stem: "perf_event_open01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/perf_event_open/perf_event_open01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genfabs", |
| stem: "genfabs", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/power/genfabs.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_kill11", |
| stem: "kill11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kill/kill11.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_stream02", |
| stem: "stream02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/stream/stream02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_vfork", |
| stem: "vfork", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/freezer/vfork.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tkill01", |
| stem: "tkill01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/tkill/tkill01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getpagesize01", |
| stem: "getpagesize01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getpagesize/getpagesize01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_res_hexd", |
| stem: "tst_res_hexd", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/newlib_tests/tst_res_hexd.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stream03", |
| stem: "stream03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/stream/stream03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setsockopt02", |
| stem: "setsockopt02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setsockopt/setsockopt02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysfs01", |
| stem: "sysfs01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysfs/sysfs01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysfs04", |
| stem: "sysfs04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysfs/sysfs04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getppid01", |
| stem: "getppid01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getppid/getppid01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_creat08", |
| stem: "creat08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/creat/creat08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysfs03", |
| stem: "sysfs03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysfs/sysfs03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getppid02", |
| stem: "getppid02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getppid/getppid02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_creat05", |
| stem: "creat05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/creat/creat05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_creat04", |
| stem: "creat04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/creat/creat04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_creat07", |
| stem: "creat07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/creat/creat07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_creat01", |
| stem: "creat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/creat/creat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_signal04", |
| stem: "signal04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/signal/signal04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_creat03", |
| stem: "creat03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/creat/creat03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_signal06", |
| stem: "signal06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/signal/signal06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genldexp", |
| stem: "genldexp", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/exp_log/genldexp.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_link08", |
| stem: "link08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/link/link08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_write03", |
| stem: "write03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/write/write03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gethostname01", |
| stem: "gethostname01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/gethostname/gethostname01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_link04", |
| stem: "link04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/link/link04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_link07", |
| stem: "link07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/link/link07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_clock_nanosleep2_01", |
| stem: "clock_nanosleep2_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clock_nanosleep2/clock_nanosleep2_01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_link03", |
| stem: "link03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/link/link03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_link02", |
| stem: "link02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/link/link02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstatfs01", |
| stem: "fstatfs01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstatfs/fstatfs01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fstatfs", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_link05", |
| stem: "link05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/link/link05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstatfs02", |
| stem: "fstatfs02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstatfs/fstatfs02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fstatfs", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dio_sparse", |
| stem: "dio_sparse", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/ltp-aiodio/dio_sparse.c"], |
| cflags: ["-DAIO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_timer_settime02", |
| stem: "timer_settime02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/timers/timer_settime/timer_settime02.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/timers/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_testsf_c", |
| stem: "testsf_c", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/tcp_cmds/sendfile/testsf_c.c"], |
| local_include_dirs: [ |
| "testcases/network/tcp_cmds/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_autogroup01", |
| stem: "autogroup01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/sched/autogroup/autogroup01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_def_task02", |
| stem: "cpuctl_def_task02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl/cpuctl_def_task02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_link06", |
| stem: "link06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/link/link06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid12", |
| stem: "waitpid12", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid12.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_getattr01", |
| stem: "sched_getattr01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_getattr/sched_getattr01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_float_exp_log", |
| stem: "float_exp_log", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/float_exp_log.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execlp01", |
| stem: "execlp01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execlp/execlp01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ima_mmap", |
| stem: "ima_mmap", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/integrity/ima/src/ima_mmap.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| shared_libs: [ |
| "libdl", |
| "libcrypto", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_block_dev", |
| stem: "block_dev", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/device-drivers/block/block_dev_user/block_dev.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_dataroot02", |
| stem: "tst_dataroot02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_dataroot02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_dataroot03", |
| stem: "tst_dataroot03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_dataroot03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstat03", |
| stem: "fstat03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstat/fstat03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_dataroot01", |
| stem: "tst_dataroot01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_dataroot01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstat05", |
| stem: "fstat05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstat/fstat05.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cpuctl_def_task03", |
| stem: "cpuctl_def_task03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/cpuctl/cpuctl_def_task03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_controllers", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_mem_process", |
| stem: "mem_process", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/memcg/control/mem_process.c"], |
| local_include_dirs: [ |
| "testcases/kernel/controllers/libcontrollers", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_socketcall04", |
| stem: "socketcall04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/socketcall/socketcall04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mtest01", |
| stem: "mtest01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mtest01/mtest01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_create_long_dirs", |
| stem: "create_long_dirs", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/create_long_dirs.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getpriority01", |
| stem: "getpriority01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getpriority/getpriority01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysfs02", |
| stem: "sysfs02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysfs/sysfs02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_kmsg01", |
| stem: "kmsg01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/logging/kmsg/kmsg01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_statfs02", |
| stem: "statfs02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/statfs/statfs02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/statfs", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_statfs01", |
| stem: "statfs01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/statfs/statfs01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/statfs", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_madvise02", |
| stem: "madvise02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/madvise/madvise02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_madvise05", |
| stem: "madvise05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/madvise/madvise05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_close08", |
| stem: "close08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/close/close08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_madvise07", |
| stem: "madvise07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/madvise/madvise07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_madvise06", |
| stem: "madvise06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/madvise/madvise06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_madvise09", |
| stem: "madvise09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/madvise/madvise09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_madvise08", |
| stem: "madvise08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/madvise/madvise08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_iopl02", |
| stem: "iopl02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/iopl/iopl02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_close01", |
| stem: "close01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/close/close01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_close02", |
| stem: "close02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/close/close02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_kill09", |
| stem: "kill09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kill/kill09.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_kill08", |
| stem: "kill08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kill/kill08.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_rt_sigaction01", |
| stem: "rt_sigaction01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rt_sigaction/rt_sigaction01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genceil", |
| stem: "genceil", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/power/genceil.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_rt_sigaction03", |
| stem: "rt_sigaction03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rt_sigaction/rt_sigaction03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rt_sigaction02", |
| stem: "rt_sigaction02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rt_sigaction/rt_sigaction02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_kill01", |
| stem: "kill01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kill/kill01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_kill03", |
| stem: "kill03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kill/kill03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_kill02", |
| stem: "kill02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kill/kill02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_kill04", |
| stem: "kill04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kill/kill04.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_clock_getres01", |
| stem: "clock_getres01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/clock_getres/clock_getres01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_kill06", |
| stem: "kill06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/kill/kill06.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ipc/lib", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_ipc", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_munmap01", |
| stem: "munmap01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/munmap/munmap01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_munmap03", |
| stem: "munmap03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/munmap/munmap03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_munmap02", |
| stem: "munmap02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/munmap/munmap02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe10", |
| stem: "pipe10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe10.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pipe11", |
| stem: "pipe11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pipe/pipe11.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup3_01", |
| stem: "dup3_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup3/dup3_01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_exec_without_inh", |
| stem: "exec_without_inh", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/cap_bound/exec_without_inh.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dup3_02", |
| stem: "dup3_02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/dup3/dup3_02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_getscheduler02", |
| stem: "sched_getscheduler02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_getscheduler01", |
| stem: "sched_getscheduler01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execvp01_child", |
| stem: "execvp01_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execvp/execvp01_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mount03_setuid_test", |
| stem: "mount03_setuid_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mount/mount03_setuid_test.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_proc01", |
| stem: "proc01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/proc/proc01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_creat07_child", |
| stem: "creat07_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/creat/creat07_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sbrk01", |
| stem: "sbrk01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sbrk/sbrk01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sbrk03", |
| stem: "sbrk03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sbrk/sbrk03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sbrk02", |
| stem: "sbrk02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sbrk/sbrk02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pread01", |
| stem: "pread01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pread/pread01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pread", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sgetmask01", |
| stem: "sgetmask01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sgetmask/sgetmask01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pread03", |
| stem: "pread03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pread/pread03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pread", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pread02", |
| stem: "pread02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pread/pread02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pread", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork09", |
| stem: "fork09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork08", |
| stem: "fork08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_asyncio02", |
| stem: "asyncio02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/asyncio/asyncio02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dirty", |
| stem: "dirty", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/ltp-aiodio/dirty.c"], |
| cflags: ["-DAIO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_zram03", |
| stem: "zram03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/device-drivers/zram/zram03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork01", |
| stem: "fork01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_write04", |
| stem: "write04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/write/write04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork03", |
| stem: "fork03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork02", |
| stem: "fork02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork05", |
| stem: "fork05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork04", |
| stem: "fork04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork07", |
| stem: "fork07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fork06", |
| stem: "fork06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fork/fork06.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_faccessat01", |
| stem: "faccessat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/faccessat/faccessat01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_thp01", |
| stem: "thp01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/thp/thp01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/mem/include", |
| "testcases/kernel/include", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_mem", |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_socketpair02", |
| stem: "socketpair02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/socketpair/socketpair02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pth_str01", |
| stem: "pth_str01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/sched/pthreads/pth_str01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmapstress08", |
| stem: "mmapstress08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmapstress08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_wait02", |
| stem: "wait02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/wait/wait02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_wait01", |
| stem: "wait01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/wait/wait01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cacheflush01", |
| stem: "cacheflush01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/cacheflush/cacheflush01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_random", |
| stem: "tst_random", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/lib/tst_random.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_eventfd2_01", |
| stem: "eventfd2_01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/eventfd2/eventfd2_01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_poll02", |
| stem: "poll02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/poll/poll02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_eventfd2_03", |
| stem: "eventfd2_03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/eventfd2/eventfd2_03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_eventfd2_02", |
| stem: "eventfd2_02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/eventfd2/eventfd2_02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_abort01", |
| stem: "abort01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/abort/abort01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftruncate01", |
| stem: "ftruncate01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ftruncate/ftruncate01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ftruncate", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pause01", |
| stem: "pause01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pause/pause01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftruncate03", |
| stem: "ftruncate03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ftruncate/ftruncate03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ftruncate", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftruncate02", |
| stem: "ftruncate02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ftruncate/ftruncate02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ftruncate", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftruncate04", |
| stem: "ftruncate04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ftruncate/ftruncate04.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/ftruncate", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_lseek11", |
| stem: "lseek11", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lseek/lseek11.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_posix_fadvise03", |
| stem: "posix_fadvise03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fadvise/posix_fadvise03.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fadvise", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_posix_fadvise02", |
| stem: "posix_fadvise02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fadvise/posix_fadvise02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fadvise", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_posix_fadvise01", |
| stem: "posix_fadvise01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fadvise/posix_fadvise01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fadvise", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getrusage03_child", |
| stem: "getrusage03_child", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getrusage/getrusage03_child.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_timed_forkbomb", |
| stem: "timed_forkbomb", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/controllers/freezer/timed_forkbomb.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_posix_fadvise04", |
| stem: "posix_fadvise04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fadvise/posix_fadvise04.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fadvise", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_perf_event_open02", |
| stem: "perf_event_open02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/perf_event_open/perf_event_open02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_setdomainname01", |
| stem: "setdomainname01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/setdomainname/setdomainname01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mc_recv", |
| stem: "mc_recv", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/multicast/mc_commo/mc_recv.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_pause02", |
| stem: "pause02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pause/pause02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nsclone", |
| stem: "nsclone", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/fs_bind/bin/nsclone.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_select04", |
| stem: "select04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/select/select04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_listxattr01", |
| stem: "listxattr01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/listxattr/listxattr01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_select03", |
| stem: "select03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/select/select03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_set_tid_address01", |
| stem: "set_tid_address01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/set_tid_address/set_tid_address01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_reboot02", |
| stem: "reboot02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/reboot/reboot02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_reboot01", |
| stem: "reboot01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/reboot/reboot01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_setparam03", |
| stem: "sched_setparam03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_setparam/sched_setparam03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_setparam02", |
| stem: "sched_setparam02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_setparam/sched_setparam02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_setparam01", |
| stem: "sched_setparam01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_setparam/sched_setparam01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gentrigo", |
| stem: "gentrigo", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/trigo/gentrigo.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_mc_verify_opts_error", |
| stem: "mc_verify_opts_error", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/multicast/mc_opts/mc_verify_opts_error.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_setparam05", |
| stem: "sched_setparam05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_setparam/sched_setparam05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_setparam04", |
| stem: "sched_setparam04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sched_setparam/sched_setparam04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chmod05", |
| stem: "chmod05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chmod/chmod05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chmod04", |
| stem: "chmod04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chmod/chmod04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chmod07", |
| stem: "chmod07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chmod/chmod07.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chmod01", |
| stem: "chmod01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chmod/chmod01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chmod03", |
| stem: "chmod03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chmod/chmod03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chmod02", |
| stem: "chmod02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chmod/chmod02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendmsg01", |
| stem: "sendmsg01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendmsg/sendmsg01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_newns", |
| stem: "newns", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/tomoyo/newns.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_tmpdir_test", |
| stem: "tst_tmpdir_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["lib/tests/tst_tmpdir_test.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmstress", |
| stem: "mmstress", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mtest05/mmstress.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_waitpid09", |
| stem: "waitpid09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/waitpid/waitpid09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mprotect03", |
| stem: "mprotect03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mprotect/mprotect03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_data_space", |
| stem: "data_space", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/vmtests/data_space.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_get_robust_list01", |
| stem: "get_robust_list01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/get_robust_list/get_robust_list01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstat01", |
| stem: "fstat01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstat/fstat01.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mprotect02", |
| stem: "mprotect02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mprotect/mprotect02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_access01", |
| stem: "access01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/access/access01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_access03", |
| stem: "access03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/access/access03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_access02", |
| stem: "access02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/access/access02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sync02", |
| stem: "sync02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sync/sync02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sync01", |
| stem: "sync01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sync/sync01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mprotect04", |
| stem: "mprotect04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mprotect/mprotect04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_vfork01", |
| stem: "vfork01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/vfork/vfork01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstat02", |
| stem: "fstat02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstat/fstat02.c"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mkdir09", |
| stem: "mkdir09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mkdir/mkdir09.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mkdir08", |
| stem: "mkdir08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mkdir/mkdir08.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_smount", |
| stem: "smount", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/fs_bind/bin/smount.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mkdir05", |
| stem: "mkdir05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mkdir/mkdir05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mkdir04", |
| stem: "mkdir04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mkdir/mkdir04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mkdir03", |
| stem: "mkdir03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mkdir/mkdir03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mkdir02", |
| stem: "mkdir02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/mkdir/mkdir02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stream05", |
| stem: "stream05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/stream/stream05.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_vfork02", |
| stem: "vfork02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/vfork/vfork02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stream01", |
| stem: "stream01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/stream/stream01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_listen01", |
| stem: "listen01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/listen/listen01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nanosleep04", |
| stem: "nanosleep04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/nanosleep/nanosleep04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_create_short_dirs", |
| stem: "create_short_dirs", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/create_short_dirs.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chdir01", |
| stem: "chdir01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chdir/chdir01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_rt_sigqueueinfo01", |
| stem: "rt_sigqueueinfo01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/rt_sigqueueinfo/rt_sigqueueinfo01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chdir03", |
| stem: "chdir03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chdir/chdir03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chdir02", |
| stem: "chdir02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chdir/chdir02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_syscall01", |
| stem: "syscall01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/syscall/syscall01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_chdir04", |
| stem: "chdir04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/chdir/chdir04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cap_bset_inh_bounds", |
| stem: "cap_bset_inh_bounds", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/cap_bound/cap_bset_inh_bounds.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_testsf_s", |
| stem: "testsf_s", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/tcp_cmds/sendfile/testsf_s.c"], |
| local_include_dirs: [ |
| "testcases/network/tcp_cmds/include", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sysctl01", |
| stem: "sysctl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sysctl/sysctl01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_gencosh", |
| stem: "gencosh", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/iperb/gencosh.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_aio-stress", |
| stem: "aio-stress", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/io/ltp-aiodio/aio-stress.c"], |
| cflags: ["-DAIO"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_mmapstress10", |
| stem: "mmapstress10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/mem/mmapstress/mmapstress10.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_cve-2016-7042", |
| stem: "cve-2016-7042", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/cve/cve-2016-7042.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genlog10", |
| stem: "genlog10", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/exp_log/genlog10.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_nanosleep03", |
| stem: "nanosleep03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/nanosleep/nanosleep03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_umount03", |
| stem: "umount03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/umount/umount03.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_net_iface_prefix", |
| stem: "tst_net_iface_prefix", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/lib/tst_net_iface_prefix.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_rod", |
| stem: "tst_rod", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/lib/tst_rod.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_check_pe", |
| stem: "check_pe", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/cap_bound/check_pe.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_execvp01", |
| stem: "execvp01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/execvp/execvp01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tomoyo_policy_memory_test", |
| stem: "tomoyo_policy_memory_test", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/security/tomoyo/tomoyo_policy_memory_test.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_genlgamma", |
| stem: "genlgamma", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/misc/math/float/bessel/genlgamma.c"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_poll01", |
| stem: "poll01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/poll/poll01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getrusage04", |
| stem: "getrusage04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getrusage/getrusage04.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getrusage01", |
| stem: "getrusage01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getrusage/getrusage01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memset01", |
| stem: "memset01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/memset/memset01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_getrusage02", |
| stem: "getrusage02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/getrusage/getrusage02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_statvfs01", |
| stem: "statvfs01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/statvfs/statvfs01.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_statvfs02", |
| stem: "statvfs02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/statvfs/statvfs02.c"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl09", |
| stem: "fcntl09", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl09.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl08", |
| stem: "fcntl08", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl08.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl05", |
| stem: "fcntl05", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl05.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl04", |
| stem: "fcntl04", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl04.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl07", |
| stem: "fcntl07", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl07.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl06", |
| stem: "fcntl06", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl06.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl01", |
| stem: "fcntl01", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl01.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl03", |
| stem: "fcntl03", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl03.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl02", |
| stem: "fcntl02", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl02.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fcntl", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pread03_64", |
| stem: "pread03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pread/pread03.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/pread", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl03_64", |
| stem: "fcntl03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl03.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_brkm", |
| stem: "tst_brkm", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pread02_64", |
| stem: "pread02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pread/pread02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/pread", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl36_64", |
| stem: "fcntl36_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl36.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_res", |
| stem: "tst_res", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pselect02_64", |
| stem: "pselect02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pselect/pselect02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pselect", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-udpclient", |
| stem: "ns-udpclient", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-common.c", |
| "testcases/network/stress/ns-tools/ns-udpclient.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_exit", |
| stem: "tst_exit", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl32_64", |
| stem: "fcntl32_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl32.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_diotest2", |
| stem: "diotest2", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/io/direct_io/diotest_routines.c", |
| "testcases/kernel/io/direct_io/diotest2.c", |
| ], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-DSHARED_OFILE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftruncate02_64", |
| stem: "ftruncate02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ftruncate/ftruncate02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/ftruncate", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stat03_64", |
| stem: "stat03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/stat/stat03.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/stat", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstat05_64", |
| stem: "fstat05_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstat/fstat05.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl02_64", |
| stem: "fcntl02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftruncate01_64", |
| stem: "ftruncate01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ftruncate/ftruncate01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/ftruncate", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftest03", |
| stem: "ftest03", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/ftest/libftest.c", |
| "testcases/kernel/fs/ftest/ftest03.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl13_64", |
| stem: "fcntl13_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl13.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl35_64", |
| stem: "fcntl35_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl35.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl14_64", |
| stem: "fcntl14_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl14.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl19_64", |
| stem: "fcntl19_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl19.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_dma_thread_diotest", |
| stem: "dma_thread_diotest", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/io/direct_io/diotest_routines.c", |
| "testcases/kernel/io/direct_io/dma_thread_diotest.c", |
| ], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-DSHARED_OFILE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_flush", |
| stem: "tst_flush", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_swapon01", |
| stem: "swapon01", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/swapon/swapon01.c", |
| "testcases/kernel/syscalls/swapon/libswapon.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_testsf_c6", |
| stem: "testsf_c6", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/tcp_cmds/sendfile/testsf_c.c"], |
| cflags: ["-DINET6"], |
| local_include_dirs: [ |
| "include/old", |
| "testcases/network/tcp_cmds/include", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl12_64", |
| stem: "fcntl12_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl12.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_swapon02", |
| stem: "swapon02", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/swapon/libswapon.c", |
| "testcases/kernel/syscalls/swapon/swapon02.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_posix_fadvise02_64", |
| stem: "posix_fadvise02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fadvise/posix_fadvise02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fadvise", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_lstat01_64", |
| stem: "lstat01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lstat/lstat01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/lstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile05_64", |
| stem: "sendfile05_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile05.c"], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-DOFF_T=off64_t", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/sendfile", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-icmpv4_sender", |
| stem: "ns-icmpv4_sender", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-common.c", |
| "testcases/network/stress/ns-tools/ns-icmpv4_sender.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_pwritev01_64", |
| stem: "pwritev01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pwritev/pwritev01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| "testcases/kernel/syscalls/pwritev", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_migrate_pages01", |
| stem: "migrate_pages01", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/migrate_pages/migrate_pages01.c", |
| "testcases/kernel/syscalls/migrate_pages/migrate_pages_common.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_migrate_pages02", |
| stem: "migrate_pages02", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/migrate_pages/migrate_pages02.c", |
| "testcases/kernel/syscalls/migrate_pages/migrate_pages_common.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl23_64", |
| stem: "fcntl23_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl23.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl08_64", |
| stem: "fcntl08_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl08.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pthserv", |
| stem: "pthserv", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/clisrv/writen.c", |
| "testcases/kernel/sched/clisrv/readline.c", |
| "testcases/kernel/sched/clisrv/pthserv.c", |
| ], |
| cflags: ["-D_LINUX"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_fstatfs02_64", |
| stem: "fstatfs02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstatfs/fstatfs02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fstatfs", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftruncate03_64", |
| stem: "ftruncate03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ftruncate/ftruncate03.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/ftruncate", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-mcast_join", |
| stem: "ns-mcast_join", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-common.c", |
| "testcases/network/stress/ns-tools/ns-mcast_join.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_statfs02_64", |
| stem: "statfs02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/statfs/statfs02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| "testcases/kernel/syscalls/statfs", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memtoy", |
| stem: "memtoy", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/hotplug/memory_hotplug/commands.c", |
| "testcases/kernel/hotplug/memory_hotplug/memtoy.c", |
| "testcases/kernel/hotplug/memory_hotplug/segment.c", |
| ], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: [ |
| "testcases/kernel/hotplug/memory_hotplug", |
| "include/old", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_pselect03_64", |
| stem: "pselect03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pselect/pselect03.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pselect", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nfs_flock_dgen", |
| stem: "nfs_flock_dgen", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/nfs/nfslock01/nfs_flock_func.c", |
| "testcases/network/nfs/nfslock01/nfs_flock_dgen.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl17_64", |
| stem: "fcntl17_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl17.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl09_64", |
| stem: "fcntl09_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl09.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl07_64", |
| stem: "fcntl07_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl07.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_aio_tio", |
| stem: "aio_tio", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/io/aio/aio02/aio_tio.c", |
| "testcases/kernel/io/aio/aio02/main.c", |
| ], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-tcpclient", |
| stem: "ns-tcpclient", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-common.c", |
| "testcases/network/stress/ns-tools/ns-tcpclient.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_ftest07", |
| stem: "ftest07", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/ftest/ftest07.c", |
| "testcases/kernel/fs/ftest/libftest.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile08_64", |
| stem: "sendfile08_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile08.c"], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-DOFF_T=off64_t", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/sendfile", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftruncate04_64", |
| stem: "ftruncate04_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/ftruncate/ftruncate04.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/ftruncate", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stat02_64", |
| stem: "stat02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/stat/stat02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/stat", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-igmp_querier", |
| stem: "ns-igmp_querier", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-common.c", |
| "testcases/network/stress/ns-tools/ns-igmp_querier.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_pthcli", |
| stem: "pthcli", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/clisrv/writen.c", |
| "testcases/kernel/sched/clisrv/readline.c", |
| "testcases/kernel/sched/clisrv/pthcli.c", |
| ], |
| cflags: ["-D_LINUX"], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_pread01_64", |
| stem: "pread01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pread/pread01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/pread", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages05", |
| stem: "move_pages05", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| "testcases/kernel/syscalls/move_pages/move_pages05.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl33_64", |
| stem: "fcntl33_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl33.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_create-files", |
| stem: "create-files", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/fs-bench/create-files.c", |
| "testcases/kernel/fs/fs-bench/boxmuler.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_posix_fadvise03_64", |
| stem: "posix_fadvise03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fadvise/posix_fadvise03.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fadvise", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-icmp_redirector", |
| stem: "ns-icmp_redirector", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-icmp_redirector.c", |
| "testcases/network/stress/ns-tools/ns-common.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages07", |
| stem: "move_pages07", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| "testcases/kernel/syscalls/move_pages/move_pages07.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_pwrite04_64", |
| stem: "pwrite04_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pwrite/pwrite04.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-Wno-error", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pwrite", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nftw01", |
| stem: "nftw01", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/nftw/tools.c", |
| "testcases/kernel/syscalls/nftw/lib.c", |
| "testcases/kernel/syscalls/nftw/test.c", |
| "testcases/kernel/syscalls/nftw/nftw.c", |
| "testcases/kernel/syscalls/nftw/test_func.c", |
| ], |
| cflags: [ |
| "-D_LARGEFILE_SOURCE", |
| "-D_XOPEN_SOURCE_EXTENDED", |
| "-D_XOPEN_SOURCE=500", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_testsf_s6", |
| stem: "testsf_s6", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/network/tcp_cmds/sendfile/testsf_s.c"], |
| cflags: ["-DINET6"], |
| local_include_dirs: [ |
| "include/old", |
| "testcases/network/tcp_cmds/include", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_disktest", |
| stem: "disktest", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/io/disktest/Getopt.c", |
| "testcases/kernel/io/disktest/sfunc.c", |
| "testcases/kernel/io/disktest/dump.c", |
| "testcases/kernel/io/disktest/parse.c", |
| "testcases/kernel/io/disktest/stats.c", |
| "testcases/kernel/io/disktest/usage.c", |
| "testcases/kernel/io/disktest/threading.c", |
| "testcases/kernel/io/disktest/globals.c", |
| "testcases/kernel/io/disktest/io.c", |
| "testcases/kernel/io/disktest/childmain.c", |
| "testcases/kernel/io/disktest/main.c", |
| "testcases/kernel/io/disktest/timer.c", |
| "testcases/kernel/io/disktest/signals.c", |
| ], |
| cflags: [ |
| "-DLINUX", |
| "-D_FILE_OFFSET_BITS=64", |
| "-D_LARGEFILE64_SOURCE", |
| "-D_GNU_SOURCE", |
| "-D_THREAD_SAFE", |
| "-D_LARGE_FILES", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile03_64", |
| stem: "sendfile03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile03.c"], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-DOFF_T=off64_t", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/sendfile", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ht_interrupt", |
| stem: "ht_interrupt", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/hyperthreading/ht_interrupt/ht_utils.c", |
| "testcases/kernel/sched/hyperthreading/ht_interrupt/ht_interrupt.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl26_64", |
| stem: "fcntl26_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl26.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_ncpus", |
| stem: "tst_ncpus", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl22_64", |
| stem: "fcntl22_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl22.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_posix_fadvise04_64", |
| stem: "posix_fadvise04_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fadvise/posix_fadvise04.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fadvise", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-icmpv6_sender", |
| stem: "ns-icmpv6_sender", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-common.c", |
| "testcases/network/stress/ns-tools/ns-icmpv6_sender.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_lstat03_64", |
| stem: "lstat03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lstat/lstat03.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/lstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages09", |
| stem: "move_pages09", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages09.c", |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl16_64", |
| stem: "fcntl16_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl16.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stat06_64", |
| stem: "stat06_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/stat/stat06.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/stat", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl05_64", |
| stem: "fcntl05_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl05.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl27_64", |
| stem: "fcntl27_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl27.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl29_64", |
| stem: "fcntl29_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl29.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl06_64", |
| stem: "fcntl06_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl06.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ht_enabled", |
| stem: "ht_enabled", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/hyperthreading/ht_enabled/ht_enabled.c", |
| "testcases/kernel/sched/hyperthreading/ht_enabled/ht_utils.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages04", |
| stem: "move_pages04", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages04.c", |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages06", |
| stem: "move_pages06", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages06.c", |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages01", |
| stem: "move_pages01", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages01.c", |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages03", |
| stem: "move_pages03", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages03.c", |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages02", |
| stem: "move_pages02", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| "testcases/kernel/syscalls/move_pages/move_pages02.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_sched_tc6", |
| stem: "sched_tc6", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/sched_stress/sched_tc6.c", |
| "testcases/kernel/sched/sched_stress/sched.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_nftw6401", |
| stem: "nftw6401", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/nftw/tools64.c", |
| "testcases/kernel/syscalls/nftw/nftw64.c", |
| "testcases/kernel/syscalls/nftw/lib64.c", |
| "testcases/kernel/syscalls/nftw/test64.c", |
| "testcases/kernel/syscalls/nftw/test_func64.c", |
| ], |
| cflags: [ |
| "-D_LARGEFILE64_SOURCE", |
| "-D_XOPEN_SOURCE_EXTENDED", |
| "-D_XOPEN_SOURCE=500", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_posix_fadvise01_64", |
| stem: "posix_fadvise01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fadvise/posix_fadvise01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fadvise", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages08", |
| stem: "move_pages08", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| "testcases/kernel/syscalls/move_pages/move_pages08.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_tst_resm", |
| stem: "tst_resm", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile07_64", |
| stem: "sendfile07_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile07.c"], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-DOFF_T=off64_t", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/sendfile", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-tcpserver", |
| stem: "ns-tcpserver", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-common.c", |
| "testcases/network/stress/ns-tools/ns-tcpserver.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_fs_has_free", |
| stem: "tst_fs_has_free", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_brk", |
| stem: "tst_brk", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_input05", |
| stem: "input05", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/input/input_helper.c", |
| "testcases/kernel/input/input05.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_input04", |
| stem: "input04", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/input/input04.c", |
| "testcases/kernel/input/input_helper.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_input03", |
| stem: "input03", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/input/input_helper.c", |
| "testcases/kernel/input/input03.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl31_64", |
| stem: "fcntl31_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl31.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_input01", |
| stem: "input01", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/input/input_helper.c", |
| "testcases/kernel/input/input01.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile04_64", |
| stem: "sendfile04_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile04.c"], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-DOFF_T=off64_t", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/sendfile", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_tc5", |
| stem: "sched_tc5", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/sched_stress/sched.c", |
| "testcases/kernel/sched/sched_stress/sched_tc5.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftest06", |
| stem: "ftest06", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/ftest/libftest.c", |
| "testcases/kernel/fs/ftest/ftest06.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memfd_create01", |
| stem: "memfd_create01", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/memfd_create/memfd_create_common.c", |
| "testcases/kernel/syscalls/memfd_create/memfd_create01.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_tc0", |
| stem: "sched_tc0", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/sched_stress/sched.c", |
| "testcases/kernel/sched/sched_stress/sched_tc0.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_tc3", |
| stem: "sched_tc3", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/sched_stress/sched_tc3.c", |
| "testcases/kernel/sched/sched_stress/sched.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl15_64", |
| stem: "fcntl15_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl15.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ht_affinity", |
| stem: "ht_affinity", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/hyperthreading/ht_affinity/ht_affinity.c", |
| "testcases/kernel/sched/hyperthreading/ht_affinity/ht_utils.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_random-access-del-create", |
| stem: "random-access-del-create", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/fs-bench/boxmuler.c", |
| "testcases/kernel/fs/fs-bench/random-access-del-create.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_locktests", |
| stem: "locktests", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/nfsv4/locks/locktests.c", |
| "testcases/network/nfsv4/locks/netsync.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstatfs01_64", |
| stem: "fstatfs01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstatfs/fstatfs01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fstatfs", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftest04", |
| stem: "ftest04", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/ftest/libftest.c", |
| "testcases/kernel/fs/ftest/ftest04.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftest05", |
| stem: "ftest05", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/ftest/libftest.c", |
| "testcases/kernel/fs/ftest/ftest05.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl34_64", |
| stem: "fcntl34_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl34.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftest01", |
| stem: "ftest01", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/ftest/libftest.c", |
| "testcases/kernel/fs/ftest/ftest01.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftest02", |
| stem: "ftest02", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/ftest/ftest02.c", |
| "testcases/kernel/fs/ftest/libftest.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_diotest1", |
| stem: "diotest1", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/io/direct_io/diotest1.c", |
| "testcases/kernel/io/direct_io/diotest_routines.c", |
| ], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-DSHARED_OFILE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl11_64", |
| stem: "fcntl11_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl11.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ftest08", |
| stem: "ftest08", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/fs/ftest/libftest.c", |
| "testcases/kernel/fs/ftest/ftest08.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_diotest5", |
| stem: "diotest5", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/io/direct_io/diotest_routines.c", |
| "testcases/kernel/io/direct_io/diotest5.c", |
| ], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-DSHARED_OFILE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_diotest6", |
| stem: "diotest6", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/io/direct_io/diotest6.c", |
| "testcases/kernel/io/direct_io/diotest_routines.c", |
| ], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-DSHARED_OFILE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stat01_64", |
| stem: "stat01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/stat/stat01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/stat", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile06_64", |
| stem: "sendfile06_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile06.c"], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-DOFF_T=off64_t", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/sendfile", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages12", |
| stem: "move_pages12", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages12.c", |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_sched_tc2", |
| stem: "sched_tc2", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/sched_stress/sched.c", |
| "testcases/kernel/sched/sched_stress/sched_tc2.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages10", |
| stem: "move_pages10", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages10.c", |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_move_pages11", |
| stem: "move_pages11", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/move_pages/move_pages_support.c", |
| "testcases/kernel/syscalls/move_pages/move_pages11.c", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: [ |
| "libltp_kerntest", |
| "libltp_ltp", |
| ], |
| } |
| |
| cc_test { |
| name: "ltp_nfs_flock", |
| stem: "nfs_flock", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/nfs/nfslock01/nfs_flock_func.c", |
| "testcases/network/nfs/nfslock01/nfs_flock.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_input06", |
| stem: "input06", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/input/input_helper.c", |
| "testcases/kernel/input/input06.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_input02", |
| stem: "input02", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/input/input_helper.c", |
| "testcases/kernel/input/input02.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_statfs01_64", |
| stem: "statfs01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/statfs/statfs01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| "testcases/kernel/syscalls/statfs", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstat03_64", |
| stem: "fstat03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstat/fstat03.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_stat05_64", |
| stem: "stat05_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/stat/stat05.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/stat", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstat02_64", |
| stem: "fstat02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstat/fstat02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_truncate01_64", |
| stem: "truncate01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/truncate/truncate01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/truncate", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_truncate03_64", |
| stem: "truncate03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/truncate/truncate03.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/truncate", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl20_64", |
| stem: "fcntl20_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl20.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_tc4", |
| stem: "sched_tc4", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/sched_stress/sched_tc4.c", |
| "testcases/kernel/sched/sched_stress/sched.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pwrite01_64", |
| stem: "pwrite01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pwrite/pwrite01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-Wno-error", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pwrite", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile09_64", |
| stem: "sendfile09_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile09.c"], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-DOFF_T=off64_t", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/sendfile", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_ncpus_conf", |
| stem: "tst_ncpus_conf", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_tc1", |
| stem: "sched_tc1", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/sched_stress/sched.c", |
| "testcases/kernel/sched/sched_stress/sched_tc1.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl28_64", |
| stem: "fcntl28_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl28.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl18_64", |
| stem: "fcntl18_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl18.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pwrite02_64", |
| stem: "pwrite02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pwrite/pwrite02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-Wno-error", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pwrite", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sendfile02_64", |
| stem: "sendfile02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/sendfile/sendfile02.c"], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-DOFF_T=off64_t", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/sendfile", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_memfd_create02", |
| stem: "memfd_create02", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/memfd_create/memfd_create_common.c", |
| "testcases/kernel/syscalls/memfd_create/memfd_create02.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl24_64", |
| stem: "fcntl24_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl24.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl30_64", |
| stem: "fcntl30_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl30.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-mcast_receiver", |
| stem: "ns-mcast_receiver", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-common.c", |
| "testcases/network/stress/ns-tools/ns-mcast_receiver.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_preadv02_64", |
| stem: "preadv02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/preadv/preadv02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| "testcases/kernel/syscalls/preadv", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_statfs03_64", |
| stem: "statfs03_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/statfs/statfs03.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| "testcases/kernel/syscalls/statfs", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl25_64", |
| stem: "fcntl25_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl25.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl01_64", |
| stem: "fcntl01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_ncpus_max", |
| stem: "tst_ncpus_max", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_sched_driver", |
| stem: "sched_driver", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/sched/sched_stress/sched_driver.c", |
| "testcases/kernel/sched/sched_stress/sched.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl10_64", |
| stem: "fcntl10_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl10.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_swapon03", |
| stem: "swapon03", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/syscalls/swapon/swapon03.c", |
| "testcases/kernel/syscalls/swapon/libswapon.c", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pselect01_64", |
| stem: "pselect01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pselect/pselect01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/pselect", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-udpsender", |
| stem: "ns-udpsender", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-udpsender.c", |
| "testcases/network/stress/ns-tools/ns-common.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl21_64", |
| stem: "fcntl21_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl21.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_preadv01_64", |
| stem: "preadv01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/preadv/preadv01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| "testcases/kernel/syscalls/preadv", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_fstat01_64", |
| stem: "fstat01_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fstat/fstat01.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/fstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_lstat02_64", |
| stem: "lstat02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/lstat/lstat02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/lstat", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_pwritev02_64", |
| stem: "pwritev02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/pwritev/pwritev02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| "testcases/kernel/syscalls/pwritev", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_ns-udpserver", |
| stem: "ns-udpserver", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/network/stress/ns-tools/ns-common.c", |
| "testcases/network/stress/ns-tools/ns-udpserver.c", |
| ], |
| local_include_dirs: ["include/old"], |
| } |
| |
| cc_test { |
| name: "ltp_fcntl04_64", |
| stem: "fcntl04_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/fcntl/fcntl04.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| "-D_GNU_SOURCE", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/utils", |
| "testcases/kernel/syscalls/fcntl", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_diotest3", |
| stem: "diotest3", |
| defaults: ["ltp_test_defaults"], |
| srcs: [ |
| "testcases/kernel/io/direct_io/diotest3.c", |
| "testcases/kernel/io/direct_io/diotest_routines.c", |
| ], |
| cflags: [ |
| "-D_GNU_SOURCE", |
| "-DSHARED_OFILE", |
| ], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_truncate02_64", |
| stem: "truncate02_64", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["testcases/kernel/syscalls/truncate/truncate02.c"], |
| cflags: [ |
| "-D_FILE_OFFSET_BITS=64", |
| "-DTST_USE_NEWER64_SYSCALL=1", |
| ], |
| local_include_dirs: [ |
| "testcases/kernel/syscalls/truncate", |
| "testcases/kernel/syscalls/utils", |
| "include/old", |
| ], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_test { |
| name: "ltp_tst_get_unused_port", |
| stem: "tst_get_unused_port", |
| defaults: ["ltp_test_defaults"], |
| srcs: ["tools/apicmds/ltpapicmd.c"], |
| cflags: ["-D_GNU_SOURCE"], |
| local_include_dirs: ["include/old"], |
| static_libs: ["libltp_ltp"], |
| } |
| |
| cc_library_static { |
| name: "libltp_kerntest", |
| defaults: ["ltp_defaults"], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "include", |
| "include/old", |
| ], |
| cflags: [ |
| "-DNUMA_VERSION1_COMPATIBILITY", |
| ], |
| srcs: [ |
| "testcases/kernel/lib/numa_helper.c", |
| ], |
| } |
| |
| cc_library_static { |
| name: "libltp_controllers", |
| defaults: ["ltp_defaults"], |
| local_include_dirs: [ |
| "include", |
| "include/old", |
| ], |
| srcs: [ |
| "testcases/kernel/controllers/libcontrollers/libcontrollers.c", |
| ], |
| } |
| |
| cc_library_static { |
| name: "libltp_ipc", |
| defaults: ["ltp_defaults"], |
| local_include_dirs: [ |
| "include", |
| "include/old", |
| ], |
| srcs: [ |
| "testcases/kernel/syscalls/ipc/lib/libipc.c", |
| "testcases/kernel/syscalls/ipc/lib/libmsgctl.c", |
| ], |
| } |
| |
| cc_library_static { |
| name: "libltp_mem", |
| defaults: ["ltp_defaults"], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "include", |
| "include/old", |
| "testcases/kernel/mem/include", |
| ], |
| srcs: [ |
| "testcases/kernel/mem/lib/mem.c", |
| ], |
| } |
| |
| cc_library_static { |
| name: "libltp_hugetlb", |
| defaults: ["ltp_defaults"], |
| local_include_dirs: [ |
| "testcases/kernel/include", |
| "include", |
| "include/old", |
| "testcases/kernel/mem/include", |
| ], |
| srcs: [ |
| "testcases/kernel/mem/hugetlb/lib/hugetlb.c", |
| ], |
| } |
| |
| cc_library_static { |
| name: "libltp_ltp", |
| defaults: ["ltp_defaults"], |
| local_include_dirs: [ |
| "include", |
| "include/old", |
| "lib", |
| ], |
| cflags: [ |
| "-DLTPLIB", |
| ], |
| srcs: [ |
| "lib/tst_safe_sysv_ipc.c", |
| "lib/tst_mkfs.c", |
| "lib/tst_path_has_mnt_flags.c", |
| "lib/tst_process_state.c", |
| "lib/tst_fs_type.c", |
| "lib/tst_fill_fs.c", |
| "lib/tst_sig.c", |
| "lib/tst_net.c", |
| "lib/tst_timer_test.c", |
| "lib/tst_ansi_color.c", |
| "lib/safe_pthread.c", |
| "lib/tst_timer.c", |
| "lib/safe_file_ops.c", |
| "lib/safe_stdio.c", |
| "lib/tst_pid.c", |
| "lib/tst_device.c", |
| "lib/tst_safe_macros.c", |
| "lib/tst_tmpdir.c", |
| "lib/random_range.c", |
| "lib/get_path.c", |
| "lib/tst_virt.c", |
| "lib/tst_checkpoint.c", |
| "lib/tst_kvercmp.c", |
| "lib/self_exec.c", |
| "lib/tst_supported_fs_types.c", |
| "lib/tst_run_cmd.c", |
| "lib/tst_res.c", |
| "lib/parse_opts.c", |
| "lib/get_high_address.c", |
| "lib/tst_clocks.c", |
| "lib/safe_macros.c", |
| "lib/tst_kernel.c", |
| "lib/tst_test.c", |
| "lib/tlibio.c", |
| "lib/tst_dir_is_empty.c", |
| "lib/tst_parse_opts.c", |
| "lib/tst_cpu.c", |
| "lib/safe_net.c", |
| "lib/tst_resource.c", |
| "lib/tst_fs_link_count.c", |
| "lib/tst_module.c", |
| "lib/tst_fs_has_free.c", |
| "lib/tst_fill_file.c", |
| "lib/cloner.c", |
| "lib/tst_sig_proc.c", |
| "lib/tst_status.c", |
| ], |
| } |