Commit 99a76ff6 authored by Elisa Rebolini's avatar Elisa Rebolini
Browse files

add some extra test for prop omp

parent 48cc423a
Pipeline #12651 passed with stage
in 25 minutes and 9 seconds
......@@ -284,4 +284,3 @@ execute_process(COMMAND cp ${CMAKE_SOURCE_DIR}/test/runtest_v1.py ${CMAKE_BINARY
include(TestsRelaxSE)
include(CTest)
......@@ -73,6 +73,18 @@ if(ENABLE_DEV)
set_tests_properties(prop_CuO_02204 PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/test/CuO_02204)
add_test(
NAME prop_CuO_20204
COMMAND python3 ${CMAKE_SOURCE_DIR}/test/CuO_20204/test_prop --binary-dir=${CMAKE_BINARY_DIR} --work-dir=${CMAKE_BINARY_DIR}/test/CuO_20204 --verbose --log=${CMAKE_BINARY_DIR}/test/CuO_20204/runtest.stderr.logprop)
set_tests_properties(prop_CuO_20204 PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/test/CuO_20204)
add_test(
NAME prop_CuO_02240
COMMAND python3 ${CMAKE_SOURCE_DIR}/test/CuO_02240/test_prop --binary-dir=${CMAKE_BINARY_DIR} --work-dir=${CMAKE_BINARY_DIR}/test/CuO_02240 --verbose --log=${CMAKE_BINARY_DIR}/test/CuO_02240/runtest.stderr.logprop)
set_tests_properties(prop_CuO_02240 PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/test/CuO_02240)
add_test(
NAME prop_CuO_03450
COMMAND python3 ${CMAKE_SOURCE_DIR}/test/CuO_03450/test_prop --binary-dir=${CMAKE_BINARY_DIR} --work-dir=${CMAKE_BINARY_DIR}/test/CuO_03450 --verbose --log=${CMAKE_BINARY_DIR}/test/CuO_03450/runtest.stderr.logprop)
......
This diff is collapsed.
#!/usr/bin/env python
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..'))
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from runtest_relaxse import Filter, TestRun
test = TestRun(__file__, sys.argv)
f = Filter()
f.add(string = ' 41 41',
abs_tolerance = 1.0e-12)
f.add(string = ' 43 44',
abs_tolerance = 1.0e-12)
f.add(string = ' 44 44',
abs_tolerance = 1.0e-12)
f.add(string = '45 42',
abs_tolerance = 1.0e-12)
f.add(string = '45 47',
abs_tolerance = 1.0e-12)
test.run(['cuo.input'], {'propout': f}, prop=True)
sys.exit(test.return_code)
This diff is collapsed.
#!/usr/bin/env python
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..'))
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from runtest_relaxse import Filter, TestRun
test = TestRun(__file__, sys.argv)
f = Filter()
f.add(string = ' 41 41',
abs_tolerance = 1.0e-12)
f.add(string = ' 43 44',
abs_tolerance = 1.0e-12)
f.add(string = ' 44 44',
abs_tolerance = 1.0e-12)
f.add(string = '45 42',
abs_tolerance = 1.0e-12)
f.add(string = '45 47',
abs_tolerance = 1.0e-12)
test.run(['cuo.input'], {'propout': f}, prop=True)
sys.exit(test.return_code)
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