This repository was archived by the owner on Jul 19, 2024. It is now read-only.
forked from opencv/opencv
-
Notifications
You must be signed in to change notification settings - Fork 92
Test script update
EvgenyAgafonchikov edited this page Mar 27, 2015
·
1 revision
Developer would like to back up some test binaries to compare their behavior with modified version later or just pass current version to QA team.
Expected: can start from backed up sources using run.py script
Actual: run.py looks for an old binaries path from CMakeCache.txt and test are used from the old location (if exist)
Adding of --move_tests option allows to specify new location and run tests from it. Command line should look like the following:
>> run.py --move_tests "new location" "current location"
This command copies test binaries and CMakeCache.txt file (that is required by the script) and updates CMakeCache.txt with a new binaries path value.
After that you may start run.py for the new location with "Expected" result