diff options
author | Sidath Senanayake <sidaths@google.com> | 2019-04-10 14:37:00 +0200 |
---|---|---|
committer | Sidath Senanayake <sidaths@google.com> | 2019-04-10 14:37:00 +0200 |
commit | e972f6531ef8c9d01eae567f52db4f0fd37d1428 (patch) | |
tree | 52df0c2e2665e00e4fe5822ddb50df1a72e24cd0 /mali_kbase/tests | |
parent | a970431fa55f99aba31ea4263fdc8e70019a9ccd (diff) | |
download | gpu-e972f6531ef8c9d01eae567f52db4f0fd37d1428.tar.gz |
Mali Bifrost DDK r17p0 KMD
Provenance:
789dfe7c7 (collaborate/EAC/b_r17p0)
BX304L01B-BU-00000-r17p0-01rel0
BX304L06A-BU-00000-r17p0-01rel0
BX304X07X-BU-00000-r17p0-01rel0
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: Iff5bea2d96207a6e72d5e533e772c24a7adbdc31
Diffstat (limited to 'mali_kbase/tests')
-rw-r--r-- | mali_kbase/tests/kutf/sconscript | 27 | ||||
-rw-r--r-- | mali_kbase/tests/mali_kutf_irq_test/sconscript | 36 | ||||
-rw-r--r-- | mali_kbase/tests/sconscript | 43 |
3 files changed, 0 insertions, 106 deletions
diff --git a/mali_kbase/tests/kutf/sconscript b/mali_kbase/tests/kutf/sconscript deleted file mode 100644 index 4590d1a..0000000 --- a/mali_kbase/tests/kutf/sconscript +++ /dev/null @@ -1,27 +0,0 @@ -# -# (C) COPYRIGHT 2014-2018 ARM Limited. All rights reserved. -# -# This program is free software and is provided to you under the terms of the -# GNU General Public License version 2 as published by the Free Software -# Foundation, and any use by you of this program is subject to the terms -# of such GNU licence. -# -# 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, you can access it online at -# http://www.gnu.org/licenses/gpl-2.0.html. -# -# SPDX-License-Identifier: GPL-2.0 -# -# - -Import('kutf_env') - -make_args = kutf_env.kernel_get_config_defines(ret_list = True, extra_cflags = ['-DCONFIG_MALI_KUTF'], extra_configs = ['CONFIG_MALI_KUTF=m']) - -mod = kutf_env.BuildKernelModule('$STATIC_LIB_PATH/kutf.ko', Glob('*.c'), make_args = make_args) -kutf_env.KernelObjTarget('kutf', mod) diff --git a/mali_kbase/tests/mali_kutf_irq_test/sconscript b/mali_kbase/tests/mali_kutf_irq_test/sconscript deleted file mode 100644 index cefac0b..0000000 --- a/mali_kbase/tests/mali_kutf_irq_test/sconscript +++ /dev/null @@ -1,36 +0,0 @@ -# -# (C) COPYRIGHT 2015-2018 ARM Limited. All rights reserved. -# -# This program is free software and is provided to you under the terms of the -# GNU General Public License version 2 as published by the Free Software -# Foundation, and any use by you of this program is subject to the terms -# of such GNU licence. -# -# 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, you can access it online at -# http://www.gnu.org/licenses/gpl-2.0.html. -# -# SPDX-License-Identifier: GPL-2.0 -# -# - -import os -Import('env') - -src = [Glob('#kernel/drivers/gpu/arm/midgard/tests/mali_kutf_irq_test/*.c'), Glob('#kernel/drivers/gpu/arm/midgard/tests/mali_kutf_irq_test/Makefile')] - -if env.GetOption('clean') : - env.Execute(Action("make clean", '[CLEAN] mali_kutf_irq_test')) - cmd = env.Command('$STATIC_LIB_PATH/mali_kutf_irq_test.ko', src, []) - env.KernelObjTarget('mali_kutf_irq_test', cmd) -else: - makeAction=Action("cd ${SOURCE.dir} && make MALI_UNIT_TEST=${unit} MALI_CUSTOMER_RELEASE=${release} MALI_USE_CSF=${csf} %s && ( ( [ -f mali_kutf_irq_test.ko ] && cp mali_kutf_irq_test.ko $STATIC_LIB_PATH/ ) || touch $STATIC_LIB_PATH/mali_kutf_irq_test.ko)" % env.kernel_get_config_defines(extra_cflags = ['-DCONFIG_MALI_IRQ_LATENCY'], extra_configs = ['CONFIG_MALI_IRQ_LATENCY=m']), '$MAKECOMSTR') - cmd = env.Command('$STATIC_LIB_PATH/mali_kutf_irq_test.ko', src, [makeAction]) - env.Depends('$STATIC_LIB_PATH/mali_kutf_irq_test.ko', '$STATIC_LIB_PATH/kutf.ko') - env.Depends('$STATIC_LIB_PATH/mali_kutf_irq_test.ko', '$STATIC_LIB_PATH/mali_kbase.ko') - env.KernelObjTarget('mali_kutf_irq_test', cmd) diff --git a/mali_kbase/tests/sconscript b/mali_kbase/tests/sconscript deleted file mode 100644 index ca64e83..0000000 --- a/mali_kbase/tests/sconscript +++ /dev/null @@ -1,43 +0,0 @@ -# -# (C) COPYRIGHT 2010-2011, 2013, 2017-2018 ARM Limited. All rights reserved. -# -# This program is free software and is provided to you under the terms of the -# GNU General Public License version 2 as published by the Free Software -# Foundation, and any use by you of this program is subject to the terms -# of such GNU licence. -# -# 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, you can access it online at -# http://www.gnu.org/licenses/gpl-2.0.html. -# -# SPDX-License-Identifier: GPL-2.0 -# -# - -Import ('env') - -kutf_env = env.Clone() -kutf_env.Append(CPPPATH = '#kernel/drivers/gpu/arm/midgard/tests/include') -Export('kutf_env') - -if Glob('internal/sconscript'): - SConscript('internal/sconscript') - -if kutf_env['debug'] == '1': - SConscript('kutf/sconscript') - SConscript('mali_kutf_irq_test/sconscript') - - if Glob('kutf_test/sconscript'): - SConscript('kutf_test/sconscript') - - if Glob('kutf_test_runner/sconscript'): - SConscript('kutf_test_runner/sconscript') - -if env['unit'] == '1': - SConscript('mali_kutf_ipa_unit_test/sconscript') - SConscript('mali_kutf_vinstr_test/sconscript') |