mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-07-07 04:53:03 -05:00
Add cmake test for the --version switch
This commit is contained in:
parent
54417a8033
commit
7c6831f8b9
|
@ -132,6 +132,13 @@ opm_add_test(flow
|
|||
flow/flow_ebos_oilwater_polymer.cpp)
|
||||
install(TARGETS flow DESTINATION bin)
|
||||
|
||||
add_test(NAME flow__version
|
||||
COMMAND flow --version)
|
||||
set_tests_properties(flow__version PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "${${project}_LABEL}")
|
||||
|
||||
|
||||
|
||||
include(OpmBashCompletion)
|
||||
opm_add_bash_completion(flow)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user