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
make -j4
make install
# Copy all tests to bin directory so they will be distributed with install package.
#cp Test* $PREFIX/bin
# Run C tests.
ctest -j2 -V -E "[A-Za-z]+OpenCL[A-Za-z]+"
# Install Python wrappers.
export OPENMM_INCLUDE_PATH=$PREFIX/include
......@@ -42,7 +42,12 @@ export OPENMM_LIB_PATH=$PREFIX/lib
cd python
$PYTHON setup.py install
# Run Python tests.
nosetests -vv --processes=-1 --process-timeout=200
# Remove one random file
#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:
- python
- 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:
home: https://simtk.org/home/openmm
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