Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix make test-addons target #313

Merged
merged 1 commit into from
Jan 12, 2015

Conversation

bnoordhuis
Copy link
Member

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)

R=@chrisdickinson

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: nodejs#313
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
@chrisdickinson
Copy link
Contributor

LGTM.

@rvagg
Copy link
Member

rvagg commented Jan 12, 2015

I'll add this to CI when merged, currently we're only doing test-simple in CI but I'm open to recommendations for a better config

@bnoordhuis
Copy link
Member Author

@rvagg I want to make it part of make test-all but I haven't quite figured out how. I'll ping you when I do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants