Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
07a136ec
Commit
07a136ec
authored
Oct 07, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
we no longer need to setup bin/ and etc/ directories for unit tests.
parent
5d1fdb08
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
1192 deletions
+0
-1192
product/ERP5Type/tests/runUnitTest.py
product/ERP5Type/tests/runUnitTest.py
+0
-9
product/ERP5Type/tests/skel/bin/runzope.bat.in
product/ERP5Type/tests/skel/bin/runzope.bat.in
+0
-7
product/ERP5Type/tests/skel/bin/runzope.in
product/ERP5Type/tests/skel/bin/runzope.in
+0
-10
product/ERP5Type/tests/skel/bin/zopectl.bat.in
product/ERP5Type/tests/skel/bin/zopectl.bat.in
+0
-8
product/ERP5Type/tests/skel/bin/zopectl.in
product/ERP5Type/tests/skel/bin/zopectl.in
+0
-12
product/ERP5Type/tests/skel/etc/site.zcml
product/ERP5Type/tests/skel/etc/site.zcml
+0
-26
product/ERP5Type/tests/skel/etc/zope.conf.in
product/ERP5Type/tests/skel/etc/zope.conf.in
+0
-1120
No files found.
product/ERP5Type/tests/runUnitTest.py
View file @
07a136ec
...
...
@@ -215,15 +215,6 @@ def initializeInstanceHome(tests_framework_home,
os
.
symlink
(
src
,
d
)
finally
:
os
.
chdir
(
old_pwd
)
kw
=
{
"PYTHON"
:
sys
.
executable
,
"INSTANCE_HOME"
:
instance_home
,
"SOFTWARE_HOME"
:
software_home
,
}
from
Zope2.utilities
import
copyzopeskel
kw
[
'ZOPE_SCRIPTS'
]
=
os
.
environ
[
'ZOPE_SCRIPTS'
]
skelsrc
=
os
.
path
.
abspath
(
os
.
path
.
join
(
tests_framework_home
,
'skel'
))
copyzopeskel
.
copyskel
(
skelsrc
,
instance_home
,
None
,
None
,
**
kw
)
# site specific variables
tests_framework_home
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
...
...
product/ERP5Type/tests/skel/bin/runzope.bat.in
deleted
100644 → 0
View file @
5d1fdb08
@set INSTANCE_HOME=<<INSTANCE_HOME>>
@set CONFIG_FILE=%INSTANCE_HOME%\etc\zope.conf
@set ZOPE_RUN=<<ZOPE_SCRIPTS>>\runzope
@set erp5_load_data_fs=1
"%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7
product/ERP5Type/tests/skel/bin/runzope.in
deleted
100755 → 0
View file @
5d1fdb08
#! /bin/sh
INSTANCE_HOME
=
"<<INSTANCE_HOME>>"
CONFIG_FILE
=
"<<INSTANCE_HOME>>/etc/zope.conf"
ZOPE_RUN
=
"<<ZOPE_SCRIPTS>>/runzope"
export
INSTANCE_HOME
export
erp5_load_data_fs
=
"1"
exec
"
$ZOPE_RUN
"
-C
"
$CONFIG_FILE
"
"
$@
"
product/ERP5Type/tests/skel/bin/zopectl.bat.in
deleted
100644 → 0
View file @
5d1fdb08
@set PYTHON=<<PYTHON>>
@set INSTANCE_HOME=<<INSTANCE_HOME>>
@set CONFIG_FILE=%INSTANCE_HOME%\etc\zope.conf
@set ZDCTL=<<ZOPE_SCRIPTS>>\zopectl
@set export erp5_load_data_fs="1"
"%ZDCTL%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7
product/ERP5Type/tests/skel/bin/zopectl.in
deleted
100755 → 0
View file @
5d1fdb08
#! /bin/sh
PYTHON
=
"<<PYTHON>>"
INSTANCE_HOME
=
"<<INSTANCE_HOME>>"
CONFIG_FILE
=
"<<INSTANCE_HOME>>/etc/zope.conf"
ZDCTL
=
"<<ZOPE_SCRIPTS>>/zopectl"
export
INSTANCE_HOME
export
PYTHON
export
erp5_load_data_fs
=
"1"
exec
"
$ZDCTL
"
-C
"
$CONFIG_FILE
"
"
$@
"
product/ERP5Type/tests/skel/etc/site.zcml
deleted
100644 → 0
View file @
5d1fdb08
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta"
xmlns:five="http://namespaces.zope.org/five">
<include package="Products.Five" />
<meta:redefinePermission from="zope2.Public" to="zope.Public" />
<!-- Load the meta -->
<include files="package-includes/*-meta.zcml" />
<five:loadProducts file="meta.zcml"/>
<!-- Load the configuration -->
<include files="package-includes/*-configure.zcml" />
<five:loadProducts />
<!-- Load the configuration overrides-->
<includeOverrides files="package-includes/*-overrides.zcml" />
<five:loadProductsOverrides />
<securityPolicy
component="Products.Five.security.FiveSecurityPolicy" />
</configure>
product/ERP5Type/tests/skel/etc/zope.conf.in
deleted
100644 → 0
View file @
5d1fdb08
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment