Commit dc880129 authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

New testing strategy: Move tests into build.sh

parent 8e320f71
...@@ -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
...@@ -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
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