# Copyright (c) 2022-2022 Huawei Device Co., Ltd. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this list of # conditions and the following disclaimer. # # 2. Redistributions in binary form must reproduce the above copyright notice, this list # of conditions and the following disclaimer in the documentation and/or other materials # provided with the distribution. # # 3. Neither the name of the copyright holder nor the names of its contributors may be used # to endorse or promote products derived from this software without specific prior written # permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import("//kernel/liteos_a/testsuites/unittest/config.gni") vfat_include_dirs = [ "$TEST_UNITTEST_DIR/fs/vfat" ] vfat_sources_entry = [ "$TEST_UNITTEST_DIR/fs/vfat/VfsFatTest.cpp" ] vfat_sources_smoke = [ "$TEST_UNITTEST_DIR/fs/vfat/smoke/It_vfs_fat_026.cpp" ] vfat_sources_pressure = [ "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_001.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_002.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_003.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_004.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_005.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_006.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_007.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_008.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_013.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_014.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_015.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_performance_016.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_029.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_030.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_031.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_038.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_040.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_041.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_042.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_301.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_302.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_303.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_305.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_306.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_fs_fat_pressure_309.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_003.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_004.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_005.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_006.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_008.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_009.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_010.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_012.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_014.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_016.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_017.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_018.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_019.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_020.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_021.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_022.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_023.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_024.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_027.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_029.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_030.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_032.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_033.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_035.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_036.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_038.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_039.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_040.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_041.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_042.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_043.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_044.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_045.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_046.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_047.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_048.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_049.cpp", "$TEST_UNITTEST_DIR/fs/vfat/pressure/It_vfs_fat_mutipthread_050.cpp", ] vfat_sources_full = [ "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_066.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_068.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_072.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_073.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_074.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_496.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_497.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_498.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_499.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_500.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_501.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_502.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_503.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_504.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_506.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_507.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_508.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_509.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_510.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_511.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_512.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_513.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_514.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_515.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_516.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_517.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_518.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_519.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_662.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_663.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_664.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_665.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_666.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_667.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_668.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_669.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_670.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_671.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_672.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_673.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_674.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_675.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_676.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_677.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_678.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_679.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_680.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_681.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_682.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_683.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_684.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_685.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_686.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_687.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_692.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_693.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_694.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_870.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_872.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_873.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_874.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_875.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_902.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_903.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_904.cpp", "$TEST_UNITTEST_DIR/fs/vfat/full/It_vfs_fat_909.cpp", ]