One potentially nice way to test this would be to have all the -O, -o, -S,
-s, -Q, and -q just run "script print(N)" where N is some number that
changes at each line, then FileCheck the output

On Mon, Nov 26, 2018 at 6:38 PM Jim Ingham via Phabricator <
revi...@reviews.llvm.org> wrote:

> jingham added a comment.
>
> You have to gather all the -O's and -S's and -Q's and add them to the list
> of code that gets sourced before the file is loaded in the order in which
> you find them.  There can be more than one of each of these and they can be
> interspersed anywhere among the other command options.  Ditto for the -o's,
> -s's and -q's (except they get run after the file).  I don't know how
> complicated a set of tests I wrote when I originally added these, so you
> might want to check that all these cases are covered.
>
>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D54692/new/
>
> https://reviews.llvm.org/D54692
>
>
>
>
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to