test: fix `make test-addons` target
authorBen Noordhuis <info@bnoordhuis.nl>
Mon, 12 Jan 2015 22:10:34 +0000 (23:10 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 12 Jan 2015 22:21:51 +0000 (23:21 +0100)
commitdd260d21521082fdc6d70da851e826b440b46b44
tree356331aa41dc516d3b527aae04237149b8f9bb06
parente431cae7e70069cd1631081f9dca09990b948feb
test: fix `make test-addons` target

I broke the python script in commit edaf7af but because test-all does
not run test-addons, it slipped under the radar.  Mea culpa.

Fixes the following test runner error:

    Traceback (most recent call last):
      File "tools/test.py", line 1522, in <module>
        sys.exit(Main())
      File "tools/test.py", line 1454, in Main
        test_list = root.ListTests([], path, context, arch, mode)
      File "tools/test.py", line 720, in ListTests
        test.AddTestsToList(result, full_path, path, context, arch, mode)
      File "tools/test.py", line 690, in AddTestsToList
        arch, mode)
      File "/home/bnoordhuis/src/v1.x/test/gc/../testpy/__init__.py", line 176, in ListTests
        result.append(SimpleTestCase(test, file_path, mode, self.context, self))
    TypeError: __init__() takes at least 7 arguments (6 given)

PR-URL: https://github.com/iojs/io.js/pull/313
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
test/testpy/__init__.py