mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-17 11:04:00 +01:00
add missing test stuff back
This commit is contained in:
parent
ee9fbf10b6
commit
6c4743a8b8
@ -602,9 +602,9 @@ fi
|
|||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%attr(0755,root,root) %{_bindir}/%{name}-run-test
|
%attr(0755,root,root) %{_bindir}/%{name}-run-test
|
||||||
%{_javadir}/%{name}-test.jar
|
%{_javadir}/%{name}-test.jar
|
||||||
#%{_sharedstatedir}/%{name}/test/*
|
%{_sharedstatedir}/%{name}/test/*
|
||||||
#%{_libdir}/%{name}/test/*
|
%{_libdir}/%{name}/test/*
|
||||||
#%{_sysconfdir}/%{name}/test/*
|
%{_sysconfdir}/%{name}/test/*
|
||||||
|
|
||||||
#%if %{_premium}
|
#%if %{_premium}
|
||||||
#
|
#
|
||||||
|
|||||||
@ -360,6 +360,22 @@ def build_ovm():
|
|||||||
start_path = bld.path.find_dir("ovm/scripts")
|
start_path = bld.path.find_dir("ovm/scripts")
|
||||||
bld.substitute('**',"${AGENTLIBDIR}/scripts",chmod=0755, cwd=start_path)
|
bld.substitute('**',"${AGENTLIBDIR}/scripts",chmod=0755, cwd=start_path)
|
||||||
|
|
||||||
|
def build_test():
|
||||||
|
start_path = bld.path.find_dir("test/scripts")
|
||||||
|
bld.install_files('${LIBDIR}/${PACKAGE}/test', \
|
||||||
|
start_path.ant_glob("**",src=True,bld=False,dir=False,flat=True), \
|
||||||
|
cwd=start_path,relative_trick=True)
|
||||||
|
|
||||||
|
start_path = bld.path.find_dir("test/metadata")
|
||||||
|
bld.install_files('${SHAREDSTATEDIR}/${PACKAGE}/test', \
|
||||||
|
start_path.ant_glob("**",src=True,bld=False,dir=False,flat=True), \
|
||||||
|
cwd=start_path,relative_trick=True)
|
||||||
|
|
||||||
|
if not Options.options.PRESERVECONFIG:
|
||||||
|
start_path = bld.path.find_dir("test")
|
||||||
|
bld.install_files('${SYSCONFDIR}/${PACKAGE}/test','conf/*', cwd = start_path)
|
||||||
|
Utils.pprint ("GREEN", "Installed files of test/")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Get started to execute here
|
# Get started to execute here
|
||||||
@ -383,6 +399,7 @@ build_db_files ()
|
|||||||
build_plugins ()
|
build_plugins ()
|
||||||
build_xml_api_description ()
|
build_xml_api_description ()
|
||||||
build_ovm ()
|
build_ovm ()
|
||||||
|
build_test()
|
||||||
|
|
||||||
# ====================== Magic! =========================================
|
# ====================== Magic! =========================================
|
||||||
bld.use_the_magic()
|
bld.use_the_magic()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user