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 fixes #618

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Test fixes #618

wants to merge 9 commits into from

Conversation

alissa-huskey
Copy link

Various fixes to test scripts:

bootstrap.sh

  • Update the download link. Also, check if the downloaded file is a zip file and print a sensible error message if not.

runtests.sh

  • Set the directory that the script can be run from anywhere
  • Add a -q option for quiet mode

Common.mk

  • Fix the DEPENDENCIES_ARDUINO_DIR for mac
  • Instead of hardcoding the DEPENDENCIES_MPIDE_DIR, find the newest dir matching mpide-0023-* in DEPENDENCIES_ARDUINO_DIR

Set DEPENDENCIES_MPIDE_DIR to the the newest directory in DEPENDENCIES_DIR matching mpide-0023-*
Build is failing because pyserial 3.0.1 is already installed and can't
be uninstalled. Instead, add --ignore-installed flag to pip command so
that pyserial 2.7 will be installed without the need to uninstall 3.0.1.
Add DEPENDENCIES_FOLDER path to ARDUINO_FILE missing in subshell. Also
add additional debug output viewable in CI log.
@sudar
Copy link
Owner

sudar commented Sep 3, 2020

@alissa-huskey

Thanks for the PR.

@sej7278

What are your thoughts? I like the info helper.

@sej7278
Copy link
Collaborator

sej7278 commented Sep 3, 2020

no idea @sudar, travis seems to break more often than its worth, so anything that attempts to fix it is great!

@ladislas
Copy link
Contributor

ladislas commented Sep 3, 2020

what about moving to github actions? they offer much more than travis, are free and you can also run macOS to test this platform, not just linux.

@tuna-f1sh
Copy link
Contributor

tuna-f1sh commented Sep 3, 2020

I manually cherry picked merged the runtest.sh niceties. I'd already made changes to get the tests running again so merging this PR would have been more work - I think that's why conflicts are showing. So the info and run_test helpers are already in master now.

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.

5 participants