mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
feature #192: Tests have the same name for automatic test run
This commit is contained in:
parent
04e8a402a9
commit
063898c5e3
@ -59,6 +59,6 @@ main_env.Append(CPPFLAGS=[
|
||||
# Linking flags
|
||||
main_env.Append(LDFLAGS=["-g"])
|
||||
|
||||
main_env.Program('single_attribute.cc')
|
||||
main_env.Program('vector_attribute.cc')
|
||||
main_env.Program('action_manager.cc')
|
||||
main_env.Program('test_sa','single_attribute.cc')
|
||||
main_env.Program('test_va','vector_attribute.cc')
|
||||
main_env.Program('test_am','action_manager.cc')
|
||||
|
@ -60,7 +60,7 @@ main_env.Append(LIBS=[
|
||||
'mysqlclient',
|
||||
])
|
||||
|
||||
# MYSQL, puesto a mano
|
||||
# MYSQL
|
||||
main_env.Append(LIBPATH=["/usr/lib/mysql"])
|
||||
main_env.Append(CPPPATH=["/usr/include/mysql"])
|
||||
|
||||
@ -73,5 +73,5 @@ main_env.Append(CPPFLAGS=[
|
||||
# Linking flags
|
||||
main_env.Append(LDFLAGS=["-g "])
|
||||
|
||||
main_env.Program('HostPoolTest.cc')
|
||||
main_env.Program('test','HostPoolTest.cc')
|
||||
|
||||
|
@ -42,11 +42,13 @@ main_env.Append(LIBPATH=[
|
||||
cwd + '/src/common',
|
||||
cwd + '/src/pool',
|
||||
cwd + '/src/pool/test',
|
||||
cwd + '/src/nebula',
|
||||
])
|
||||
|
||||
main_env.Append(LIBS=[
|
||||
'nebula_pool',
|
||||
'nebula_common',
|
||||
'nebula_core',
|
||||
'cppunit',
|
||||
'dl',
|
||||
'pthread',
|
||||
@ -64,5 +66,5 @@ main_env.Append(CPPFLAGS=[
|
||||
main_env.Append(LDFLAGS=["-g "])
|
||||
|
||||
main_env.StaticLibrary('test_object', ['TestPoolSQL.cc', 'TestPoolSQL.h'])
|
||||
main_env.Program('pool.cc')
|
||||
main_env.Program('test','pool.cc')
|
||||
#
|
||||
|
@ -42,11 +42,13 @@ main_env.Append(CPPPATH=[
|
||||
main_env.Append(LIBPATH=[
|
||||
cwd + '/src/common',
|
||||
cwd + '/src/template',
|
||||
cwd + '/src/nebula',
|
||||
])
|
||||
|
||||
main_env.Append(LIBS=[
|
||||
'nebula_template',
|
||||
'nebula_common',
|
||||
'nebula_core',
|
||||
'cppunit',
|
||||
'dl',
|
||||
'pthread',
|
||||
@ -62,6 +64,6 @@ main_env.Append(CPPFLAGS=[
|
||||
# Linking flags
|
||||
main_env.Append(LDFLAGS=["-g "])
|
||||
|
||||
main_env.Program('template.cc')
|
||||
main_env.Program('template_sql.cc')
|
||||
main_env.Program('test','template.cc')
|
||||
main_env.Program('test_sql','template_sql.cc')
|
||||
#
|
||||
|
@ -68,7 +68,7 @@ main_env.Append(CPPFLAGS=[
|
||||
|
||||
# Linking flags
|
||||
main_env.Append(LDFLAGS=["-g "])
|
||||
main_env.Program('UserPoolTest.cc')
|
||||
main_env.Program('test','UserPoolTest.cc')
|
||||
|
||||
# MYSQL
|
||||
main_env.Append(LIBPATH=["/usr/lib/mysql"])
|
||||
|
@ -83,5 +83,5 @@ main_env.Append(CPPFLAGS=[
|
||||
# Linking flags
|
||||
main_env.Append(LDFLAGS=["-g "])
|
||||
|
||||
main_env.Program('VirtualMachinePoolTest.cc')
|
||||
main_env.Program('test','VirtualMachinePoolTest.cc')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user