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

Makefile: Delete Golden Files Section #319

Closed
SkycoinSynth opened this issue Feb 20, 2021 · 1 comment
Closed

Makefile: Delete Golden Files Section #319

SkycoinSynth opened this issue Feb 20, 2021 · 1 comment
Assignees

Comments

@SkycoinSynth
Copy link
Contributor

Delete every reference to "golden files" in makefile

Then test.


update-golden-files: build ## Update golden files used in CX test suite
ls -1 tests/ | grep '.cx$$' | while read -r NAME; do echo "Processing $$NAME"; cx -t -co tests/testdata/tokens/$${NAME}.txt tests/$$NAME || true ; done

check-golden-files: update-golden-files ## Ensure golden files are up to date
if [ "$(shell git diff tests/testdata | wc -l | tr -d ' ')" != "0" ] ; then echo 'Changes detected. Golden files not up to date' ; exit 2 ; fi

check: check-golden-files test ## Perform self-tests

@amherag
Copy link
Collaborator

amherag commented Feb 22, 2021

Fixed by #320.

@amherag amherag closed this as completed Feb 22, 2021
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