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