QA SoftVision Team/Mobile/Writing tests: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 158: Line 158:
make -C build/mobile/robocop/
make -C build/mobile/robocop/
make package </pre>
make package </pre>
= Creating a diff patch file =
All commands need to be run on the main root source folder
== Adding new files to be tracked by Mercurial ==
You need to add new files to be tracked otherwise the diff will be created only for the existing changed files
Run the following command for each new file
hg add mobile/android/base/tests/<test_file>
== Creating the patch file ==
hg diff > <patch_file.patch>
== Remove files from tracking ==
You need to remove the file in order to keep the repository clean of changes and conflicts
Run the following command for each file added previously
hg rm -f mobile/android/base/tests/<test_file>
Confirmed users
905

edits

Navigation menu