Skip to content

How to use an json config file with dart defines to run the patrol test? #1414

Answered by bartekpacia
anfernandezz asked this question in Q&A
Discussion options

You must be logged in to vote

It looks correct. The first value in DART_DEFINES is REFSVF9ERUZJTkVfRkxVVFRFUl9GTEFWT1I9ZGV2, which base64 --decoded gives DART_DEFINE_FLUTTER_FLAVOR=dev.

Could you try doing:

$ export DART_DEFINE_FLUTTER_FLAVOR=dev
$ patrol test --target integration_test/login_test.dart --verbose

I think the Xcode build process will pick up the DART_DEFINE_FLUTTER_FLAVOR env var and your Build Phase script should work. This is a workaround, but let's try.

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@anfernandezz
Comment options

@bartekpacia
Comment options

@anfernandezz
Comment options

@bartekpacia
Comment options

Answer selected by anfernandezz
@anfernandezz
Comment options

@anfernandezz
Comment options

@bartekpacia
Comment options

@anfernandezz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants