gecko/js
Dirkjan Ochtman 43071c9a42 Bug 638219 - Set all test-independent command-line bits up once, pass in; r=terrence
This will help integration with the jstests framework, which also uses
a single prefix argument to its Test command construction method.

Note that the order of js arguments is changed, from:

    cmd = [js] + list(set(self.jitflags)) + shell_args + ['-e', expr]
    cmd += ['-f', os.path.join(LIB_DIR, 'prolog.js'), '-f', self.path]

to:

    prefix = [os.path.abspath(args[0])] + shlex.split(options.shell_args)
    prefix += ['-f', os.path.join(jittests.LIB_DIR, 'prolog.js')]
    cmd = prefix + list(set(self.jitflags)) + ['-e', expr, '-f', self.path]

The assumption here is that only the order of -f options matters.

--HG--
extra : rebase_source : 9655d6efc62006aa840d72f6b31d764bd870cc7d
2013-02-15 17:58:45 +01:00
..
ductwork/debugger Bug 784841 - Part 18s: Convert /js; r=glandium 2013-02-25 12:47:22 -08:00
examples
ipc Merge mozilla-central into build-system 2013-02-27 10:03:52 -08:00
jsd Bug 784841 - Part 18s: Convert /js; r=glandium 2013-02-25 12:47:22 -08:00
public Bug 845458 - IonMonkey: simplify constant double handling on x86 (r=dvander) 2013-02-26 19:56:30 -05:00
src Bug 638219 - Set all test-independent command-line bits up once, pass in; r=terrence 2013-02-15 17:58:45 +01:00
xpconnect Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv 2013-02-28 12:56:42 -05:00