@@ -1693,10 +1693,10 @@ if(PYTHON3_EXECUTABLE)
16931693 ecceutil ${XercesC_LIBRARIES} )
16941694 endif ()
16951695
1696- # tests/launch -- submit one real MOPAC job on localhost/Shell through
1697- # the real Launch class and assert it reaches "completed" (#107 A).
1698- # launchjob is a test driver and is not installed. The suite SKIPs
1699- # (exit 77) when MOPAC, csh or the data-server prerequisites are absent.
1696+ # tests/launch -- submit real jobs on localhost/Shell through the real
1697+ # Launch class and assert they reach "completed". launchjob is a test
1698+ # driver and is not installed. The suites SKIP (77) when a prerequisite
1699+ # is absent.
17001700 add_executable (launchjob tests/launch/launchjob.C )
17011701 target_include_directories (launchjob PRIVATE ${XercesC_INCLUDE_DIRS} )
17021702 target_link_libraries (launchjob PRIVATE
@@ -1708,4 +1708,13 @@ if(PYTHON3_EXECUTABLE)
17081708 --build ${CMAKE_BINARY_DIR }
17091709 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR } /tests/launch )
17101710 set_tests_properties (launch PROPERTIES TIMEOUT 900 SKIP_RETURN_CODE 77)
1711+
1712+ # tests/teaching -- introductory chemistry teaching calculations run end
1713+ # to end through Launch, with NWChem, and checked against known answers.
1714+ add_test (NAME teaching
1715+ COMMAND ${PYTHON3_EXECUTABLE}
1716+ ${CMAKE_CURRENT_SOURCE_DIR } /tests/teaching/run_tests.py
1717+ --build ${CMAKE_BINARY_DIR } --jobs 4
1718+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR } /tests/teaching )
1719+ set_tests_properties (teaching PROPERTIES TIMEOUT 7200 SKIP_RETURN_CODE 77)
17111720endif ()
0 commit comments