diff options
author | Kaizen <kaizen@arm.com> | 2017-10-12 14:26:51 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2017-10-12 15:42:58 +0100 |
commit | bf8b01dfbfdca124673ade33c5eac8f3748d7abd (patch) | |
tree | 9504f134ca292b988e7065b22229e9bbe0493d00 /tests/SConscript | |
parent | 8938bd3f40ea62ff56d6ed4e2db0a8aee34dd64a (diff) | |
download | armcl-bf8b01dfbfdca124673ade33c5eac8f3748d7abd.tar.gz armcl-bf8b01dfbfdca124673ade33c5eac8f3748d7abd.tar.bz2 armcl-bf8b01dfbfdca124673ade33c5eac8f3748d7abd.zip |
arm_compute v17.10
Change-Id: If1489af40eccd0219ede8946577afbf04db31b29
Diffstat (limited to 'tests/SConscript')
-rw-r--r-- | tests/SConscript | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/SConscript b/tests/SConscript index 6ed9e2c15..a1cb9f857 100644 --- a/tests/SConscript +++ b/tests/SConscript @@ -51,11 +51,12 @@ Help(new_options.GenerateHelpText(test_env)) if env['os'] in ['android', 'bare_metal'] or env['standalone']: Import("arm_compute_a") - test_env.Append(LIBS = [arm_compute_a]) + Import("arm_compute_core_a") + test_env.Append(LIBS = [arm_compute_a, arm_compute_core_a]) arm_compute_lib = arm_compute_a else: Import("arm_compute_so") - test_env.Append(LIBS = ["arm_compute"]) + test_env.Append(LIBS = ["arm_compute", "arm_compute_core"]) arm_compute_lib = arm_compute_so test_env.Append(CPPPATH = ["#3rdparty/include"]) @@ -72,9 +73,16 @@ common_objects = [test_env.StaticObject(f) for f in common_files] files_benchmark = Glob('benchmark/*.cpp') files_validation = Glob('validation/*.cpp') +# Add unit tests +files_validation += Glob('validation/UNIT/*.cpp') + # Always compile reference for validation files_validation += Glob('validation/CPP/*.cpp') +# Add unit tests +files_validation += Glob('validation/UNIT/*/*.cpp') +files_validation += Glob('validation/UNIT/*.cpp') + if env['opencl']: Import('opencl') |