update/add tests about starting up LAMMPS
- move the test checking the help message from the c++ library to running the executable and checking the output - add a command line test for errors on invalid command line flags - add a c++ library test checking if ntreads is set to 1 without OMP_NUM_THREADS
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
add_executable(test_lammps_class test_lammps_class.cpp)
|
||||
target_link_libraries(test_lammps_class PRIVATE lammps GTest::GMockMain GTest::GTest GTest::GMock)
|
||||
add_test(LammpsClass test_lammps_class)
|
||||
set_tests_properties(LammpsClass PROPERTIES ENVIRONMENT "OMP_NUM_THREADS=1")
|
||||
|
||||
add_executable(test_input_class test_input_class.cpp)
|
||||
target_link_libraries(test_input_class PRIVATE lammps GTest::GTest GTest::GTestMain)
|
||||
|
||||
Reference in New Issue
Block a user