Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Readlink bats fix r1.8 #7528

Merged
merged 2 commits into from
Jun 24, 2019
Merged

Readlink bats fix r1.8 #7528

merged 2 commits into from
Jun 24, 2019

Conversation

scottarnette
Copy link
Contributor

@scottarnette scottarnette commented Jun 24, 2019

Change Description

The readlink tool throws a return code of 1 if the path is not a symlink. It used to be a symlink /usr/bin/c++ -> /usr/bin/clang++ but since #7516, we need to return true regardless of readlink failing and check if CXX =~ clang already.

In addition, this also includes fixes and adjustments for the BATS tests to support both the new installation path prompt and changes to the ensure-compiler helper function. I am continuing to refine the BATS tests while we investigate issues with builds on clean containers to ensure we check for the correct dependencies.

NOTE: This is a backport of #7525 for release 1.8.x.

@scottarnette
Copy link
Contributor Author

See BATS tests passing here: https://buildkite.com/EOSIO/eosio-base-images/builds/285

@scottarnette scottarnette marked this pull request as ready for review June 24, 2019 17:50
@scottarnette scottarnette merged commit 4609acd into release/1.8.x Jun 24, 2019
@scottarnette scottarnette deleted the readlink-bats-fix-r1.8 branch June 24, 2019 17:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants