2013-07-11 11:23:25 +02:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:40:35 +02:00
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
2013-07-11 11:23:25 +02:00
|
|
|
import datetime
|
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "BINARY"
|
|
|
|
|
|
|
|
def get_sub_type():
|
|
|
|
return "TEST"
|
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
def get_desc():
|
|
|
|
return "e-tk test software"
|
|
|
|
|
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"
|
2013-12-23 22:38:46 +01: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-10-14 21:21:03 +02:00
|
|
|
'test/main.cpp'
|
|
|
|
])
|
2016-09-08 21:35:02 +02:00
|
|
|
my_module.add_depend(['etk', 'gtest', 'test-debug'])
|
2015-09-24 21:44:04 +02:00
|
|
|
return my_module
|
2013-07-11 11:23:25 +02:00
|
|
|
|