Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

remove tests #3

Open
headupinclouds opened this issue Oct 23, 2017 · 0 comments
Open

remove tests #3

headupinclouds opened this issue Oct 23, 2017 · 0 comments

Comments

@headupinclouds
Copy link
Contributor

headupinclouds commented Oct 23, 2017

Migrated: elucideye/drishti#255

All gauze tests are left on the phone.


for android we can rm -rf /data/local/tmp/drishtisdk before starting all tests
rm -rf /data/local/tmp/drishtisdk after running

Implementation notes: cleanup fixture before all tests started and after tests finished.

I've noticed that the ios-deploy device tests seem to end up installing each test-drishti- application twice

Install will be run for each drishti_add_test directive even if we are running same application, e.g.:

add_executable(foo ...)
drishti_add_test(NAME FooTest1 COMMAND foo --arg1)
drishti_add_test(NAME FooTest2 COMMAND foo --arg2)

will install foo twice: one for FooTest1 and another for FooTest2. This can be fixed by using install fixture.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant