Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProMod3
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
ProMod3
Commits
85fe686b
"examples/code_fragments/harmony/glwin.py" did not exist on "55a4cec6cbde366324b811e0d01068dc601414f9"
Commit
85fe686b
authored
Nov 3, 2014
by
Bienchen
Committed by
BIOPZ-Johner Niklaus
Dec 17, 2014
Browse files
Options
Downloads
Patches
Plain Diff
Message about missing Python test scripts
parent
16e708cc
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake_support/PROMOD3.cmake
+6
-2
6 additions, 2 deletions
cmake_support/PROMOD3.cmake
meld/tests/test_gap_extension.py
+0
-0
0 additions, 0 deletions
meld/tests/test_gap_extension.py
with
6 additions
and
2 deletions
cmake_support/PROMOD3.cmake
+
6
−
2
View file @
85fe686b
...
@@ -719,6 +719,10 @@ macro(promod3_unittest)
...
@@ -719,6 +719,10 @@ macro(promod3_unittest)
endif
()
endif
()
foreach
(
py_test
${
PY_TESTS
}
)
foreach
(
py_test
${
PY_TESTS
}
)
set
(
py_twp
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
py_test
}
"
)
if
(
NOT EXISTS
"
${
py_twp
}
"
)
message
(
FATAL_ERROR
"Python test script does not exist:
${
py_twp
}
"
)
endif
()
set
(
python_path $ENV{PYTHONPATH}
)
set
(
python_path $ENV{PYTHONPATH}
)
if
(
python_path
)
if
(
python_path
)
set
(
python_path
"
${
python_path
}
:"
)
set
(
python_path
"
${
python_path
}
:"
)
...
@@ -730,7 +734,7 @@ macro(promod3_unittest)
...
@@ -730,7 +734,7 @@ macro(promod3_unittest)
"
${
python_path
}${
OST_ROOT
}
/
${
LIB_DIR
}
/python
${
PYTHON_VERSION
}
/site-packages"
)
"
${
python_path
}${
OST_ROOT
}
/
${
LIB_DIR
}
/python
${
PYTHON_VERSION
}
/site-packages"
)
set
(
PY_TESTS_CMD
"PYTHONPATH=
${
python_path
}
${
PYTHON_BINARY
}
"
)
set
(
PY_TESTS_CMD
"PYTHONPATH=
${
python_path
}
${
PYTHON_BINARY
}
"
)
add_custom_target
(
"
${
py_test
}
_run"
add_custom_target
(
"
${
py_test
}
_run"
sh -c
"
${
PY_TESTS_CMD
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
py_t
est
}
"
sh -c
"
${
PY_TESTS_CMD
}
${
py_t
wp
}
"
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
COMMENT
"running checks
${
py_test
}
"
VERBATIM
)
COMMENT
"running checks
${
py_test
}
"
VERBATIM
)
add_dependencies
(
"
${
py_test
}
_run"
"test_data_
${
_ARG_MODULE
}
"
)
add_dependencies
(
"
${
py_test
}
_run"
"test_data_
${
_ARG_MODULE
}
"
)
...
@@ -739,7 +743,7 @@ macro(promod3_unittest)
...
@@ -739,7 +743,7 @@ macro(promod3_unittest)
# continues and we get output for all unit tests. Just calling 'echo'
# continues and we get output for all unit tests. Just calling 'echo'
# giveth $?=0.
# giveth $?=0.
add_custom_target
(
"
${
py_test
}
_run_xml"
add_custom_target
(
"
${
py_test
}
_run_xml"
sh -c
"
${
PY_TESTS_CMD
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
py_t
est
}
xml || echo"
sh -c
"
${
PY_TESTS_CMD
}
${
py_t
wp
}
xml || echo"
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
COMMENT
"running checks
${
py_test
}
"
VERBATIM
)
COMMENT
"running checks
${
py_test
}
"
VERBATIM
)
add_dependencies
(
"
${
py_test
}
_run_xml"
"test_data_
${
_ARG_MODULE
}
"
)
add_dependencies
(
"
${
py_test
}
_run_xml"
"test_data_
${
_ARG_MODULE
}
"
)
...
...
This diff is collapsed.
Click to expand it.
meld/tests/test_
loop_sample
.py
→
meld/tests/test_
gap_extension
.py
+
0
−
0
View file @
85fe686b
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment