b50fc0be78
remove obsolete CONFIGURE_DEPENDS backward compatibility hack
2023-06-30 23:19:53 -04:00
71b48253e8
remove special case CMake code for versions before 3.16
2023-06-30 23:15:37 -04:00
378ef4b23e
require CMake version 3.16
2023-06-30 22:59:41 -04:00
3036f8d4c6
Conditionally support the CONFIGURE_DEPENDS flag for globbing of CMake 3.12 and later.
...
# Conflicts:
# cmake/Modules/Packages/COLVARS.cmake
2023-01-06 22:18:50 -05:00
336ec056de
use googletest aliased targets consistently
2022-10-26 22:37:24 -04:00
3ff203b705
add unit test for pair style list comparing it to pair lj/cut + harmonic/morse bonds
2022-10-04 07:03:13 -04:00
7b7237bdaf
try to suppress creating __pycache__ folders in the python source dirs
2022-09-24 22:27:22 -04:00
19a0747aeb
add unit test for MLIAP unified
2022-09-24 22:15:29 -04:00
42594bbbb7
Convert path to test inputs folder to native syntax on windows to make tests with file copying portable.
2022-08-06 22:46:52 -04:00
06e7bd8144
follow KOKKOS' advice about CPU binding of threads
2022-03-10 01:18:15 -05:00
579ac61b5b
refactor environment variable settings. make windows compatible
2022-01-30 16:47:52 -05:00
4bb7457d6e
add option to allow skipping tests by setting a no${CMAKE_SYSTEM_NAME} tag
2022-01-30 05:14:57 -05:00
d62e25decc
don't specify default working directory for tests explicitly
2022-01-29 11:10:23 -05:00
7978bf671d
use canonical syntax for adding tests
2022-01-28 21:12:13 -05:00
db4e69bf38
further simplification by making STUBS an interface and alias to MPI::MPI_CXX
2022-01-28 01:00:37 -05:00
62ff23abe7
simplify building serial executables by incorporating the STUBS/mpi.o object in LAMMPS library
2022-01-27 15:59:48 -05:00
4ac351eba6
Add tags to force-style tests
...
Adds an optional "tags" entry in the force style test YAML. This is a
comma-separated list of keywords, which are parsed by CMake and added as labels
for CTest. This allows more fine-grained filtering of tests. Any
newly-generated YAML file automatically adds the "generated" tag.
2021-11-19 09:23:31 -05:00
62fc7b6fa0
small tweaks to make replacing the CMakeLists.txt file work as expected
2021-11-03 14:44:16 -04:00
b95e12bb6c
add additional function argument where we can supply our own CMakeLists.txt file
2021-11-03 11:50:39 -04:00
7318aa49d8
set define for static linkage to avoid issues linking libyaml on windows
2021-10-22 12:12:20 -04:00
d7d1c84b35
only build a custom YAML lib, if not installed
2021-10-22 08:56:00 -04:00
ced96441ef
update hash after change in repo
2021-10-22 08:44:30 -04:00
b57c8bda51
build yaml library using custom CMakeLists.txt file
2021-10-21 23:39:56 -04:00
84c945f7fb
Use multi-config compatible way to integrate googletest for unit testing
2021-09-11 04:50:04 -04:00
a954ddac5a
add missing "private"
2021-09-09 18:03:17 -04:00
4e92c68244
allow skipping fix timestep tests when LAMMPS was compiled for static libs
2021-09-08 23:41:31 -04:00
09b0809d75
add template files for testing dipolar pair styles and kspace styles
2021-08-21 19:18:21 -04:00
58625d800e
also make CMake scripts in unittest tree consistent
2021-05-25 15:10:18 -04:00
ba854ec7c3
changes required to cross-compile unit tests for windows
2021-05-23 01:46:14 -04:00
57a7bd7186
adjust for changed CMake variable scope due to moving script code
2021-04-26 20:16:55 -04:00
3c41c12dbc
Add testcase for python/move
2021-03-24 18:58:46 -04:00
c45658f1c7
Merge branch 'master' into improper-tester
2021-02-24 17:08:34 -05:00
2f3cbfed13
add CMake code to download and compile libyaml if not found locally
2020-11-10 17:58:26 -05:00
051ab1f5c2
add test for dihedral style
2020-08-14 23:21:30 -04:00
194fe17263
merge conflicts in cmakelist
2020-08-14 22:33:10 -04:00
faac18ffd2
add tester tool for timestep related fixes: integrators, thermostats, force manipulations, constraints
2020-08-08 22:54:17 -04:00
a33c0081cd
setup a simple improper-harmonic test
2020-08-08 15:58:41 -04:00
ffb074e812
created an empty tester for improper style
2020-08-07 22:15:40 -04:00
cd31006006
add test for pair style python
2020-08-06 17:53:11 -04:00
896a08883b
add a custom python script to check the completeness of tests inputs
2020-08-03 00:12:51 -04:00
24b5cd7dec
rename test programs to be consistent with the other programs in the unittest tree
2020-07-12 19:22:14 -04:00
2eec6c7f65
exclude MSM tests when compiling with single precision
2020-07-04 18:26:00 -04:00
0461599d0a
reduce base precision as required when running tests with pppm and FFT_SINGLE
2020-07-04 18:13:55 -04:00
ffe8e1c0e9
add tests for kspace styles using the pair style tester tool
2020-07-04 17:22:27 -04:00
ee5be42026
avoid having to use external test runner script by parsing environment variables directly
2020-06-24 09:32:59 -04:00
e934f7bac3
try to work around linker issues with older CMake versions and using coverage or sanitizers
2020-06-19 00:20:20 -04:00
786473a189
allow sanitizers also be active for force style test codes
2020-06-18 12:39:23 -04:00
05319cae66
updates for using {fmt} and reordering of include statements exposing hidden includes
2020-06-15 16:55:38 -04:00
8739067593
implement method to pass command line flags to test programs when run through ctest
...
based on the suggestion at: https://stackoverflow.com/questions/28812533/how-to-pass-command-line-arguments-in-ctest-at-runtime
but customized for the force-style tests
2020-06-13 11:19:56 -04:00
0e708469b6
add unittest for ErrorStats class
2020-06-13 02:49:12 -04:00