Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
ParmEd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ATB-Dependencies
ParmEd
Commits
cf852715
Commit
cf852715
authored
Feb 11, 2016
by
Jason Swails
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests when Gromacs is not installed and for pypy
parent
efb23cb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
runtest.sh
devtools/travis-ci/runtest.sh
+1
-1
test_parmedtools_actions.py
test/test_parmedtools_actions.py
+1
-0
No files found.
devtools/travis-ci/runtest.sh
View file @
cf852715
...
@@ -17,13 +17,13 @@ fi
...
@@ -17,13 +17,13 @@ fi
sh devtools/travis-ci/pyflakes_check.sh
sh devtools/travis-ci/pyflakes_check.sh
cd test
cd test
echo
"Using nosetests...:"
echo
"Using nosetests...:"
./run_scripts.sh
if
[
"
$PYTHON_VERSION
"
=
"pypy"
]
;
then
if
[
"
$PYTHON_VERSION
"
=
"pypy"
]
;
then
# Disable coverage with pypy, since it multiplies the time taken by 6 or
# Disable coverage with pypy, since it multiplies the time taken by 6 or
# something ridiculous like that
# something ridiculous like that
nosetests
-vs
--with-timer
--timer-ok
=
5s
--timer-warning
=
12s
\
nosetests
-vs
--with-timer
--timer-ok
=
5s
--timer-warning
=
12s
\
--timer-filter
=
warning,error
.
--timer-filter
=
warning,error
.
else
else
./run_scripts.sh
# Run nose under coverage, since that allows getting the full flexibility of
# Run nose under coverage, since that allows getting the full flexibility of
# the coverage package without sacrificing nose functionality
# the coverage package without sacrificing nose functionality
test
-z
"
$MINIMAL_PACKAGES
"
&&
export
AMBERHOME
=
$HOME
/miniconda/envs/myenv
test
-z
"
$MINIMAL_PACKAGES
"
&&
export
AMBERHOME
=
$HOME
/miniconda/envs/myenv
...
...
test/test_parmedtools_actions.py
View file @
cf852715
...
@@ -3528,6 +3528,7 @@ class TestOtherParm(FileIOTestCase):
...
@@ -3528,6 +3528,7 @@ class TestOtherParm(FileIOTestCase):
repr
(
PT
.
printDihedrals
(
parm
,
':*'
,
':*'
,
':1'
))
repr
(
PT
.
printDihedrals
(
parm
,
':*'
,
':*'
,
':1'
))
repr
(
PT
.
printDihedrals
(
parm
,
':*'
,
':*'
,
':*'
,
':*'
))
repr
(
PT
.
printDihedrals
(
parm
,
':*'
,
':*'
,
':*'
,
':*'
))
@
unittest
.
skipUnless
(
HAS_GROMACS
,
'Cannot test without GROMACS'
)
def
test_parm
(
self
):
def
test_parm
(
self
):
""" Tests the parm action on a series of topology types and listParms """
""" Tests the parm action on a series of topology types and listParms """
parms
=
parmlist
.
ParmList
()
parms
=
parmlist
.
ParmList
()
...
...
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