B2G/QA/Customizations: Difference between revisions

Jump to navigation Jump to search
Line 29: Line 29:
Follow the following steps to get your build setup for running test cases that place the SIM card in before and after the First Time Experience application is ran.
Follow the following steps to get your build setup for running test cases that place the SIM card in before and after the First Time Experience application is ran.


# Flash the latest build for the version you are aiming to test
* Flash the latest build for the version you are aiming to test
# Pull Gaia locally with git installed by running "git clone https://github.com/mozilla-b2g/gaia.git"
* Pull Gaia locally with git installed by running "git clone https://github.com/mozilla-b2g/gaia.git"
* Customization
* Customization
** Pull the reference customization locally with git installed by running "git clone https://github.com/mozilla/qa-testcase-data.git"
** Pull the reference customization locally with git installed by running "git clone https://github.com/mozilla/qa-testcase-data.git"
** Or using the reference customization from https://github.com/mozilla-b2g/gaia/tree/master/customization
** Or using the reference customization from https://github.com/mozilla-b2g/gaia/tree/master/customization
# In the Gaia directory, run "git checkout branchname", where branchname equals the branch you are testing (e.g. if you want 1.2, you would run git checkout v1.2).
* In the Gaia directory, run "git checkout branchname", where branchname equals the branch you are testing (e.g. if you want 1.2, you would run git checkout v1.2).
* In the Gaia directory, run  
* In the Gaia directory, run  
** "MOZILLA_OFFICIAL=1 GAIA_DISTRIBUTION_DIR=../qa-testcase-data/customization/reference make production"
** "MOZILLA_OFFICIAL=1 GAIA_DISTRIBUTION_DIR=../qa-testcase-data/customization/reference make production"
** "MOZILLA_OFFICIAL=1 GAIA_DISTRIBUTION_DIR=customization make production"
** Or "MOZILLA_OFFICIAL=1 GAIA_DISTRIBUTION_DIR=customization make production"


If nothing errors out, you should have Gaia 1.2 flashed on top of your daily build with a customization included. At this point, you should be able to do a test run with that customization with the SIM you have included.
If nothing errors out, you should have Gaia 1.2 flashed on top of your daily build with a customization included. At this point, you should be able to do a test run with that customization with the SIM you have included.
Confirmed users
1,051

edits

Navigation menu