Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
aadc7962
Commit
aadc7962
authored
Jul 05, 2014
by
John Chodera (MSKCC)
Browse files
Moved Python tests to be run after conda build/install.
parent
d094b356
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
.travis.yml
.travis.yml
+1
-4
tools/conda-recipe/build.sh
tools/conda-recipe/build.sh
+2
-2
tools/conda-recipe/meta.yaml
tools/conda-recipe/meta.yaml
+2
-3
No files found.
.travis.yml
View file @
aadc7962
...
@@ -14,10 +14,7 @@ script:
...
@@ -14,10 +14,7 @@ script:
-
source activate $python
-
source activate $python
-
conda install $HOME/miniconda/conda-bld/linux-64/openmm-dev-*
-
conda install $HOME/miniconda/conda-bld/linux-64/openmm-dev-*
-
conda list -e
-
conda list -e
-
# Run additional tests to make sure everything installed OK.
-
# Run the Python tests.
#- # run C tests (this doesn't work yet)
#- ctest -j2 -V -E "[A-Za-z]+OpenCL[A-Za-z]+"
-
# Run the Python tests (a second time)
-
pushd .
-
pushd .
-
cd wrappers/python/tests
-
cd wrappers/python/tests
-
nosetests -vv --processes=-1 --process-timeout=200
-
nosetests -vv --processes=-1 --process-timeout=200
...
...
tools/conda-recipe/build.sh
View file @
aadc7962
...
@@ -43,8 +43,8 @@ cd python
...
@@ -43,8 +43,8 @@ cd python
$PYTHON
setup.py
install
$PYTHON
setup.py
install
# Run Python tests.
# Run Python tests.
export
OPENMM_PLUGIN_DIR
=
$OPENMM_LIB_PATH
/plugins
#
export OPENMM_PLUGIN_DIR=$OPENMM_LIB_PATH/plugins
nosetests
-vv
--processes
=
-1
--process-timeout
=
200
#
nosetests -vv --processes=-1 --process-timeout=200
# Remove one random file
# Remove one random file
#rm $PREFIX/bin/TestReferenceHarmonicBondForce
#rm $PREFIX/bin/TestReferenceHarmonicBondForce
...
...
tools/conda-recipe/meta.yaml
View file @
aadc7962
...
@@ -7,9 +7,8 @@ requirements:
...
@@ -7,9 +7,8 @@ requirements:
-
cmake
-
cmake
-
python
-
python
-
fftw3f
-
fftw3f
# required for testing python install:
#- nose
-
nose
#- numpy
-
numpy
run
:
run
:
-
python
-
python
...
...
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