Skip to content

test: fix `make test-addons` target

I broke the python script in commit edaf7af3 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)

R=@chrisdickinson

Merge request reports

Loading