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
c42c6285
Commit
c42c6285
authored
Feb 04, 2022
by
Elisa Rebolini
Browse files
update test sans omp
parent
94285bc1
Pipeline
#12421
passed with stage
in 24 minutes and 44 seconds
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
cmake/TestsRelaxSE.cmake
View file @
c42c6285
...
@@ -72,5 +72,11 @@ if(ENABLE_DEV)
...
@@ -72,5 +72,11 @@ if(ENABLE_DEV)
COMMAND python3
${
CMAKE_SOURCE_DIR
}
/test/CuO_02204/test_prop --binary-dir=
${
CMAKE_BINARY_DIR
}
--work-dir=
${
CMAKE_BINARY_DIR
}
/test/CuO_02204 --verbose --log=
${
CMAKE_BINARY_DIR
}
/test/CuO_02204/runtest.stderr.logprop
)
COMMAND python3
${
CMAKE_SOURCE_DIR
}
/test/CuO_02204/test_prop --binary-dir=
${
CMAKE_BINARY_DIR
}
--work-dir=
${
CMAKE_BINARY_DIR
}
/test/CuO_02204 --verbose --log=
${
CMAKE_BINARY_DIR
}
/test/CuO_02204/runtest.stderr.logprop
)
set_tests_properties
(
prop_CuO_02204 PROPERTIES
set_tests_properties
(
prop_CuO_02204 PROPERTIES
RUNTIME_OUTPUT_DIRECTORY
${
CMAKE_BINARY_DIR
}
/test/CuO_02204
)
RUNTIME_OUTPUT_DIRECTORY
${
CMAKE_BINARY_DIR
}
/test/CuO_02204
)
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
)
set_tests_properties
(
prop_CuO_03450 PROPERTIES
RUNTIME_OUTPUT_DIRECTORY
${
CMAKE_BINARY_DIR
}
/test/CuO_03450
)
endif
()
endif
()
test/CuO_02204/result/cuo.propout
View file @
c42c6285
This diff is collapsed.
Click to expand it.
test/CuO_02204/test_prop
View file @
c42c6285
...
@@ -16,7 +16,10 @@ f.add(string = ' 41 41',
...
@@ -16,7 +16,10 @@ f.add(string = ' 41 41',
abs_tolerance
=
1.0e-10
)
abs_tolerance
=
1.0e-10
)
f
.
add
(
string
=
'45 42'
,
f
.
add
(
string
=
'45 42'
,
abs_tolerance
=
1.0e-6
)
abs_tolerance
=
1.0e-10
)
f
.
add
(
string
=
'45 47'
,
abs_tolerance
=
1.0e-10
)
test
.
run
([
'cuo.input'
],
{
'propout'
:
f
},
prop
=
True
)
test
.
run
([
'cuo.input'
],
{
'propout'
:
f
},
prop
=
True
)
...
...
test/CuO_03450/result/cuo.propout
0 → 100644
View file @
c42c6285
This diff is collapsed.
Click to expand it.
test/CuO_03450/test_prop
0 → 100644
View file @
c42c6285
#!/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-10
)
f
.
add
(
string
=
'45 42'
,
abs_tolerance
=
1.0e-10
)
f
.
add
(
string
=
'45 47'
,
abs_tolerance
=
1.0e-10
)
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