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

Now try to install OpenMM tests as well (though these may need to be placed in...

Now try to install OpenMM tests as well (though these may need to be placed in a subdirectory or have `OpenMM` inserted into their names).
Also try to get more debug information to make C tests run.
parent ec43cdcc
......@@ -14,9 +14,14 @@ script:
- conda list -e
- # run C tests
- pushd .
- cd tools/conda-recipe/build
- cd /home/travis/build/SimTk/openmm/tools/conda-recipe/build
- pwd
- ls -1
- ctest -j2 -V -E "[A-Za-z]+OpenCL[A-Za-z]+"
- popd
- # DEBUG
- ls -1 $python
- ls -1 $python/bin/
- # run the python tests too
- pushd .
- cd wrappers/python/tests
......
......@@ -33,11 +33,16 @@ 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
# Install Python wrappers.
export OPENMM_INCLUDE_PATH=$PREFIX/include
export OPENMM_LIB_PATH=$PREFIX/lib
cd python
$PYTHON setup.py install
# Remove one random file
rm $PREFIX/bin/TestReferenceHarmonicBondForce
#rm $PREFIX/bin/TestReferenceHarmonicBondForce
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