Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2287] DrillBit: Build Doesn't Detect Changes

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:39.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelsdefect, drillbit
ReporterDon Thorp
AssigneeMarshall Culpepper
Created2011-04-15T03:15:41.000+0000
Updated2011-04-17T01:58:39.000+0000

Description

There are several instances where it fails.

1) If the app is on emulator, it never seems to pick up changes.
2) It doesn't detect that you've scons'd

To work around I used the following two command lines in OSX.

adb -e uninstall org.appcelerator.titanium.testharness && scons && drillbit/drillbit.py --android -force -build

and to just do a test change

adb -e uninstall org.appcelerator.titanium.testharness && drillbit/drillbit.py --android -force -build

this takes much longer than it should so fewer roundtrips are possible in a given timeframe.

Comments

  1. Marshall Culpepper 2011-04-15

    FYI, the correct argument for forcing is --android-force-build (it's one argument)

  2. Marshall Culpepper 2011-04-15

    (from [332d3097324f88886b06b63848feef16448600ed]) more fixes and features for drillbit: run tests from the actual drillbit/tests folder instead of staging them before the app runs. also stage python scripts and allow each platform to stage binaries / source in the SDK between test runs. the drillbit UI also now reloads all tests everytime the "run tests" is clicked, which should pick up new / changed suites and tests [#2283 state:fixed-in-qa] [#2287 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/332d3097324f88886b06b63848feef16448600ed"> https://github.com/appcelerator/titanium_mobile/commit/332d3097324f...

JSON Source