xref: /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/sconscript (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# (C) COPYRIGHT 2010-2011, 2013, 2017 ARM Limited. All rights reserved.
3*4882a593Smuzhiyun#
4*4882a593Smuzhiyun# This program is free software and is provided to you under the terms of the
5*4882a593Smuzhiyun# GNU General Public License version 2 as published by the Free Software
6*4882a593Smuzhiyun# Foundation, and any use by you of this program is subject to the terms
7*4882a593Smuzhiyun# of such GNU licence.
8*4882a593Smuzhiyun#
9*4882a593Smuzhiyun# A copy of the licence is included with the program, and can also be obtained
10*4882a593Smuzhiyun# from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
11*4882a593Smuzhiyun# Boston, MA  02110-1301, USA.
12*4882a593Smuzhiyun#
13*4882a593Smuzhiyun#
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunImport ('env')
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunkutf_env = env.Clone()
19*4882a593Smuzhiyunkutf_env.Append(CPPPATH = '#kernel/drivers/gpu/arm/midgard/tests/include')
20*4882a593SmuzhiyunExport('kutf_env')
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunif Glob('internal/sconscript'):
23*4882a593Smuzhiyun	SConscript('internal/sconscript')
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunif kutf_env['debug'] == '1':
26*4882a593Smuzhiyun	SConscript('kutf/sconscript')
27*4882a593Smuzhiyun	SConscript('mali_kutf_irq_test/sconscript')
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun	if Glob('kutf_test/sconscript'):
30*4882a593Smuzhiyun		SConscript('kutf_test/sconscript')
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun	if Glob('kutf_test_runner/sconscript'):
33*4882a593Smuzhiyun		SConscript('kutf_test_runner/sconscript')
34*4882a593Smuzhiyun
35*4882a593Smuzhiyunif env['unit'] == '1':
36*4882a593Smuzhiyun	SConscript('mali_kutf_ipa_test/sconscript')
37*4882a593Smuzhiyun	SConscript('mali_kutf_vinstr_test/sconscript')
38