Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
RelaxSE
RelaxSE-Code
Commits
99a76ff6
Commit
99a76ff6
authored
Feb 28, 2022
by
Elisa Rebolini
Browse files
add some extra test for prop omp
parent
48cc423a
Pipeline
#12651
passed with stage
in 25 minutes and 9 seconds
Changes
6
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
99a76ff6
...
...
@@ -284,4 +284,3 @@ execute_process(COMMAND cp ${CMAKE_SOURCE_DIR}/test/runtest_v1.py ${CMAKE_BINARY
include
(
TestsRelaxSE
)
include
(
CTest
)
cmake/TestsRelaxSE.cmake
View file @
99a76ff6
...
...
@@ -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
)
...
...
test/CuO_02240/result/cuo.propout
0 → 100644
View file @
99a76ff6
This diff is collapsed.
Click to expand it.
test/CuO_02240/test_prop
0 → 100644
View file @
99a76ff6
#!/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
)
test/CuO_20204/result/cuo.propout
0 → 100644
View file @
99a76ff6
This diff is collapsed.
Click to expand it.
test/CuO_20204/test_prop
0 → 100644
View file @
99a76ff6
#!/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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment