Commit eb517ef0 authored by Yusei Tahara's avatar Yusei Tahara

Add faketime for tests.

parent b6a2be2c
......@@ -7,6 +7,7 @@ extends =
buildout.hash.cfg
../../component/cups/buildout.cfg
../../component/dbus/buildout.cfg
../../component/faketime/buildout.cfg
../../component/file/buildout.cfg
../../component/fonts/buildout.cfg
../../component/gcc/buildout.cfg
......@@ -76,6 +77,7 @@ parts +=
aspell-en-dictionary
apache
apache-antiloris
faketime
file
findutils
graphviz
......@@ -247,6 +249,7 @@ context =
key dcron_location dcron:location
key default_cloudooo_url erp5-defaults:cloudooo-connection-url
key erp5_location erp5:location
key faketime_location faketime:location
key file_location file:location
key findutils_location findutils:location
key fontconfig_location fontconfig:location
......
......@@ -66,7 +66,7 @@ md5sum = 0969fbb25b05c02ef3c2d437b2f4e1a0
[template]
filename = instance.cfg.in
md5sum = be1466bfce26211e1f0b9e5cee47fe44
md5sum = ad9d6ab78e3fcc5ebaed3531ecf1a573
[monitor-template-dummy]
filename = dummy.cfg
......@@ -82,7 +82,7 @@ md5sum = d8f70f5826315a402bf6d72744b80bd9
[template-zope]
filename = instance-zope.cfg.in
md5sum = 7415a758c1076888d675aca1d9440b22
md5sum = 5a1dd32d33a4aedd22246004344d7e1c
[template-balancer]
filename = instance-balancer.cfg.in
......
......@@ -424,7 +424,7 @@ context =
[{{ section('run-unit-test-userhosts-wrapper') }}]
<= userhosts-wrapper-base
wrapped-command-line = ${runUnitTest:wrapper-path}
wrapped-command-line = {{ parameter_dict['faketime'] }}/bin/faketime "2057/01/03 00:00:00" ${runUnitTest:wrapper-path}
wrapper-path = ${buildout:bin-directory}/runUnitTest
[{{ section('run-test-suite-userhosts-wrapper') }}]
......
......@@ -101,6 +101,7 @@ extra-path-list = {{ dumps(extra_path_list) }}
matplotlibrc = {{ matplotlibrc_location }}
erp5-location = {{ erp5_location }}
egg-interpreter = {{egg_interpreter}}
faketime = {{ faketime_location }}
[dynamic-template-zope]
<= jinja2-template-base
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment