Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
0e5fec28
Commit
0e5fec28
authored
May 19, 2015
by
Vladislav Vinogradov
Committed by
Dikay900
Sep 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check that current directory has write access
parent
c0cc51cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
opencv_run_all_tests_unix.sh.in
cmake/templates/opencv_run_all_tests_unix.sh.in
+9
-0
No files found.
cmake/templates/opencv_run_all_tests_unix.sh.in
View file @
0e5fec28
...
...
@@ -55,6 +55,15 @@ OPENCV_TEST_PATH=@CMAKE_INSTALL_PREFIX@/@OPENCV_TEST_INSTALL_PATH@
OPENCV_PYTHON_TESTS
=
@OPENCV_PYTHON_TESTS_LIST@
export
OPENCV_TEST_DATA_PATH
=
@CMAKE_INSTALL_PREFIX@/share/OpenCV/testdata
CUR_DIR
=
`
pwd
`
if
[
-d
"
$CUR_DIR
"
-a
-w
"
$CUR_DIR
"
]
;
then
echo
"
${
TEXT_CYAN
}
CUR_DIR :
$CUR_DIR
${
TEXT_RESET
}
"
else
echo
"
${
TEXT_RED
}
Error: Do not have permissions to write to
$CUR_DIR
${
TEXT_RESET
}
"
echo
"
${
TEXT_RED
}
Please run the script from directory with write access
${
TEXT_RESET
}
"
exit
1
fi
# Run tests
SUMMARY_STATUS
=
0
...
...
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