Thanks, I found the files, but when I running unittest, I have the error code 3
for all test cases.
I'd like to know what's the possible reason to cause this.
> On 7/10/14, 6:54 PM, Yonggang Luo wrote:
>
> > I found following code in `runxpcshelltests.py`:
>
> >
>
> > def buildXpcsRunArgs(self):
>
> > """
>
> > Add arguments to run the test or make it interactive.
>
> > """
>
> > if self.interactive:
>
> > self.xpcsRunArgs = [
>
> > '-e', 'print("To start the test, type |_execute_test();|.");',
>
> > '-i']
>
> > else:
>
> > self.xpcsRunArgs = ['-e', '_execute_test(); quit(0);']
>
> >
>
> > But I don't know where does _execute_test() comes from.
>
>
>
> testing/xpcshell/head.js is contains all the code for setting up and
>
> running each individual xpcshell test. _execute_test() lives in that file.
>
>
>
> https://hg.mozilla.org/mozilla-central/file/e1a037c085d1/testing/xpcshell/head.js#l375
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform