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

