Skip to content

wrong number of arguments #30

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

Closed
dfrencham opened this issue Apr 9, 2018 · 1 comment
Closed

wrong number of arguments #30

dfrencham opened this issue Apr 9, 2018 · 1 comment

Comments

@dfrencham
Copy link

System

Issue Summary

Locally (in OSX) and remotely the following error is displayed when running unit tests:

/home/travis/.rvm/gems/ruby-2.4.1/gems/arduino_ci-0.1.8/lib/arduino_ci/cpp_library.rb:185:in 
`build_for_test_with_configuration': wrong number of arguments (given 3, expected 4) (ArgumentError)

The broken code seems to be in arduino_ci_remote.rb

This line is missing a parameter:

exe = cpp_library.build_for_test_with_configuration(
            unittest_path,
            config.aux_libraries_for_unittest,
            config.gcc_config(p)
          )

It should be

exe = cpp_library.build_for_test_with_configuration(
            unittest_path,
            config.aux_libraries_for_unittest,
            gcc_binary,
            config.gcc_config(p)
          )
@ianfixes
Copy link
Collaborator

Well that's embarrassing. Although I'm digging now to find out how/why that slipped through this CI job, since I run arduino_ci_remote.rb as part of that process...

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

No branches or pull requests

2 participants