2015-04-08 21:48:15 +02:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:30:55 +02:00
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
2015-04-08 21:48:15 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "BINARY"
|
|
|
|
|
|
|
|
def get_sub_type():
|
|
|
|
return "TEST"
|
|
|
|
|
2015-04-08 21:48:15 +02:00
|
|
|
def get_desc():
|
2015-06-16 21:52:38 +02:00
|
|
|
return "Basic audio types test"
|
2015-04-08 21:48:15 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def get_licence():
|
|
|
|
return "APACHE-2"
|
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "com"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "atria-soft"
|
|
|
|
|
|
|
|
def get_maintainer():
|
2016-09-12 21:06:37 +02:00
|
|
|
return "authors.txt"
|
2015-04-08 21:48:15 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def create(target, module_name):
|
|
|
|
my_module = module.Module(__file__, module_name, get_type())
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_src_file([
|
2015-04-08 21:48:15 +02:00
|
|
|
'test/base.cpp',
|
2015-04-09 23:20:58 +02:00
|
|
|
'test/main.cpp',
|
|
|
|
'test/test_double.cpp',
|
|
|
|
'test/test_float.cpp',
|
2015-04-08 21:48:15 +02:00
|
|
|
'test/test_int16_16.cpp',
|
|
|
|
'test/test_int16_32.cpp',
|
2015-04-09 23:20:58 +02:00
|
|
|
'test/test_int24_24.cpp',
|
|
|
|
'test/test_int24_32.cpp',
|
2015-04-08 23:37:08 +02:00
|
|
|
'test/test_int32_32.cpp',
|
|
|
|
'test/test_int32_64.cpp',
|
|
|
|
'test/test_int64_64.cpp',
|
2015-04-09 23:20:58 +02:00
|
|
|
'test/test_int8_16.cpp',
|
|
|
|
'test/test_int8_8.cpp'
|
2015-04-08 21:48:15 +02:00
|
|
|
])
|
2016-09-07 22:05:42 +02:00
|
|
|
my_module.add_depend(['audio', 'gtest', 'test-debug'])
|
2015-09-24 21:44:04 +02:00
|
|
|
return my_module
|
2015-04-08 21:48:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
|