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

Fix weval.h, and add a smoketest. #11

Merged
merged 4 commits into from
Oct 24, 2024
Merged

Conversation

cfallin
Copy link
Member

@cfallin cfallin commented Oct 22, 2024

This PR brings three updates:

  • It fixes a build error in weval.h, inadvertently introduced during code review and not caught because (i) the wevaling flow is only tested in an indirect integration-test in the SpiderMonkey use-case, and (ii) the vendored copy of weval.h in that repo was never updated with these changes.

  • It adds a simple integration test to this repo. This is an updated version of the first toy interpreter that weval was co-developed with (and that still exists in the commit history of this repo).

  • It invokes this "smoke test" in CI.

@cfallin cfallin force-pushed the cfallin/weval-h-and-smoketest branch from ac688bc to 5798a9e Compare October 22, 2024 00:42
Copy link
Member

@sunfishcode sunfishcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
tests/simple/simple.cpp Show resolved Hide resolved
tests/simple/simple.cpp Outdated Show resolved Hide resolved
tests/simple/simple.cpp Outdated Show resolved Hide resolved
Copy link
Member

@sunfishcode sunfishcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@sunfishcode sunfishcode merged commit 277fabf into main Oct 24, 2024
11 checks passed
@sunfishcode sunfishcode deleted the cfallin/weval-h-and-smoketest branch October 24, 2024 21:06
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.

2 participants