Closed Bug 1116406 Opened 10 years ago Closed 10 years ago

Run specific test-file when executing build unit/integration tests

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rickychien, Assigned: rickychien)

Details

Attachments

(1 file)

As title. We should introduce a feature for developers who want to run some specific tests instead of running whole tests when executing "make build-test-unit" or "make build-test-integration".

We should do:

make build-test-unit TEST_FILES=apps/keyboard/test/build/integration/keyboard_test.js

or multifiles (wrap with "" and split by whitespace)

make build-test-unit TEST_FILES="apps/keyboard/test/build/integration/keyboard_test.js apps/keyboard/test/build/integration/layout_test.js"
Assignee: nobody → ricky060709
Status: NEW → ASSIGNED
Attached file Gaia PR
Attachment #8542472 - Flags: review?(gduan)
Comment on attachment 8542472 [details] [review]
Gaia PR

good job! r=gduan

Then we can put multiple strings of file's full path like below TEST_FILES="PATH/TO/TEST PATH/TO/TEST2"
Attachment #8542472 - Flags: review?(gduan) → review+
Merged.

https://github.com/mozilla-b2g/gaia/commit/86b882eed6d520c94d0926846a9987a6526af90d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: