{"action":"created","issue":{"url":"https://api.github.com/repos/Itseez/opencv/issues/3887","labels_url":"https://api.github.com/repos/Itseez/opencv/issues/3887/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv/issues/3887/comments","events_url":"https://api.github.com/repos/Itseez/opencv/issues/3887/events","html_url":"https://github.com/Itseez/opencv/pull/3887","id":65211470,"number":3887,"title":"Update Python script","user":{"login":"EvgenyAgafonchikov","id":3365854,"avatar_url":"https://avatars.githubusercontent.com/u/3365854?v=3","gravatar_id":"","url":"https://api.github.com/users/EvgenyAgafonchikov","html_url":"https://github.com/EvgenyAgafonchikov","followers_url":"https://api.github.com/users/EvgenyAgafonchikov/followers","following_url":"https://api.github.com/users/EvgenyAgafonchikov/following{/other_user}","gists_url":"https://api.github.com/users/EvgenyAgafonchikov/gists{/gist_id}","starred_url":"https://api.github.com/users/EvgenyAgafonchikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvgenyAgafonchikov/subscriptions","organizations_url":"https://api.github.com/users/EvgenyAgafonchikov/orgs","repos_url":"https://api.github.com/users/EvgenyAgafonchikov/repos","events_url":"https://api.github.com/users/EvgenyAgafonchikov/events{/privacy}","received_events_url":"https://api.github.com/users/EvgenyAgafonchikov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-30T13:26:15Z","updated_at":"2015-03-30T20:16:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Itseez/opencv/pulls/3887","html_url":"https://github.com/Itseez/opencv/pull/3887","diff_url":"https://github.com/Itseez/opencv/pull/3887.diff","patch_url":"https://github.com/Itseez/opencv/pull/3887.patch"},"body":"1. #### Fixing help messages\r\nMessage shown by the --help option and message shown while starting run.py w/o (or with wrong) parameters are different, e. g. w/ and w/o \"[build_path]\" in the end. As \"build_path\" is required, removing square brackets.\r\n\r\n2. #### Extending functionality:\r\n\r\nDeveloper may wish to back up some test binaries to compare their behavior with modified version later or just pass current version to QA team.\r\n\r\n**Expected:** can start from backed up sources using run.py script\r\n\r\n**Actual:** run.py looks for an old binaries path from CMakeCache.txt and tests are used from the old location (if exists)\r\n\r\nAdding of *--move_tests* option allows to specify new location, create back up and run tests from it. Command line should look like the following:\r\n\r\n```>> run.py --move_tests \"new location\" \"current location\"```\r\n\r\nThis command copies test binaries and CMakeCache.txt file (that file is required by the script) and updates CMakeCache.txt with a new binaries path value.\r\n\r\nAfter that you may start run.py for the new location with \"**Expected**\" result"},"comment":{"url":"https://api.github.com/repos/Itseez/opencv/issues/comments/87816306","html_url":"https://github.com/Itseez/opencv/pull/3887#issuecomment-87816306","issue_url":"https://api.github.com/repos/Itseez/opencv/issues/3887","id":87816306,"user":{"login":"mkostin","id":1681745,"avatar_url":"https://avatars.githubusercontent.com/u/1681745?v=3","gravatar_id":"","url":"https://api.github.com/users/mkostin","html_url":"https://github.com/mkostin","followers_url":"https://api.github.com/users/mkostin/followers","following_url":"https://api.github.com/users/mkostin/following{/other_user}","gists_url":"https://api.github.com/users/mkostin/gists{/gist_id}","starred_url":"https://api.github.com/users/mkostin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkostin/subscriptions","organizations_url":"https://api.github.com/users/mkostin/orgs","repos_url":"https://api.github.com/users/mkostin/repos","events_url":"https://api.github.com/users/mkostin/events{/privacy}","received_events_url":"https://api.github.com/users/mkostin/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T20:16:45Z","updated_at":"2015-03-30T20:16:45Z","body":":+1: "}}