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
dc880129
Commit
dc880129
authored
Jul 05, 2014
by
John Chodera (MSKCC)
Browse files
New testing strategy: Move tests into build.sh
parent
8e320f71
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
tools/conda-recipe/build.sh
tools/conda-recipe/build.sh
+7
-2
tools/conda-recipe/meta.yaml
tools/conda-recipe/meta.yaml
+0
-10
No files found.
tools/conda-recipe/build.sh
View file @
dc880129
...
@@ -33,8 +33,8 @@ cmake .. $CMAKE_FLAGS
...
@@ -33,8 +33,8 @@ cmake .. $CMAKE_FLAGS
make
-j4
make
-j4
make
install
make
install
#
Copy all tests to bin directory so they will be distributed with install package
.
#
Run C tests
.
#cp Test* $PREFIX/bin
ctest
-j2
-V
-E
"[A-Za-z]+OpenCL[A-Za-z]+"
# Install Python wrappers.
# Install Python wrappers.
export
OPENMM_INCLUDE_PATH
=
$PREFIX
/include
export
OPENMM_INCLUDE_PATH
=
$PREFIX
/include
...
@@ -42,7 +42,12 @@ export OPENMM_LIB_PATH=$PREFIX/lib
...
@@ -42,7 +42,12 @@ export OPENMM_LIB_PATH=$PREFIX/lib
cd
python
cd
python
$PYTHON
setup.py
install
$PYTHON
setup.py
install
# Run Python tests.
nosetests
-vv
--processes
=
-1
--process-timeout
=
200
# Remove one random file
# Remove one random file
#rm $PREFIX/bin/TestReferenceHarmonicBondForce
#rm $PREFIX/bin/TestReferenceHarmonicBondForce
# Copy all tests to bin directory so they will be distributed with install package.
#cp Test* $PREFIX/bin
tools/conda-recipe/meta.yaml
View file @
dc880129
...
@@ -12,16 +12,6 @@ requirements:
...
@@ -12,16 +12,6 @@ requirements:
-
python
-
python
-
fftw3f
-
fftw3f
test
:
requires
:
-
cmake
-
nose
commands
:
-
# Test excluding OpenCL tests
-
ctest -j2 -V -E "[A-Za-z]+OpenCL[A-Za-z]+"
-
nosetests -vv --processes=-1 --process-timeout=200
about
:
about
:
home
:
https://simtk.org/home/openmm
home
:
https://simtk.org/home/openmm
license
:
GPL
license
:
GPL
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