Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-8943: BlackBerry: Add BlackBerry to drillbit scripts #59

Merged
merged 2 commits into from
May 30, 2012

Commits on May 22, 2012

  1. TIMOB-8943: BlackBerry: Add BlackBerry to drillbit scripts

    [Issues Fixed]
    TIMOB-8943: BlackBerry: Add BlackBerry to drillbit scripts
    (partial) TIMOB-8944: BlackBerry: Connect drillbit to BB simulator or device
    
    [Added]
    devicemanagement.py
    
    [Changes]
    blackberry.js
    - function BlackBerrySimulator
      - added member blackberryDeviceManagement
    - added function createDeviceManagementProcess
    - removed unused function getTestHarnessPID, testHarnessNeedsBuild
    - implemented functions isTestHarnessRunning, fillTestTemplateData, pushTestJS, stageSDK, killTestHarness
    - function run
      - create a placeholder process for logs and uncomment the code that uses it
    - functions launchTestHarness, runTestHarness
      - removed unused variable
    
    blackberryndk.py
    - function package
      - added parameter type and use it to package using devMode
    
    builder.py
    - remember and pass along the type
    
    [Tests]
    Test 1: Run drillbit
    1) Run scons to build the mobile sdk
    2) Run the following command:
    drillbit\drillbit.py --platforms=blackberry
    3) Click "run tests"
    4) Verify the test_harness app is built, deployed, and run
    5) Close drillbit and repeat Step 2
    6) Verify the test_harness app is closed when drillbit starts
    dlifshitz-maca committed May 22, 2012
    Configuration menu
    Copy the full SHA
    58de13a View commit details
    Browse the repository at this point in the history

Commits on May 24, 2012

  1. TIMOB-8943: addressed review comments

    - centralized program names
    - make echoing the command optional (default is true)
    - if there is a log but no file, output to stdout instead of nowhere
    - moved command building from devicemanagement.py to blackberryndk.py
    - fixed blackberryndk.py unit tests
    - made Builder.type2variantCpu public
    - remember stdout and use it
    dlifshitz-maca committed May 24, 2012
    Configuration menu
    Copy the full SHA
    061e311 View commit details
    Browse the repository at this point in the history