Skip to content

Fix testsuite#26

Merged
WalterBright merged 4 commits intoDigitalMars:masterfrom
s-ludwig:fix_testsuite
Dec 3, 2021
Merged

Fix testsuite#26
WalterBright merged 4 commits intoDigitalMars:masterfrom
s-ludwig:fix_testsuite

Conversation

@s-ludwig
Copy link
Copy Markdown
Contributor

@s-ludwig s-ludwig commented Dec 2, 2021

The test suite has been broken for a long time and I decided to give this another go. It now pins the test suite to a certain commit, so that the test cases that are run are fixed and the test suite itself doesn't use feature that are not supported by DMDScript.

This also switches to GitHub actions.

@s-ludwig
Copy link
Copy Markdown
Contributor Author

s-ludwig commented Dec 2, 2021

@WalterBright Can you enable GitHub actions under Settings->Actions? Adding a branch protection rule for master to require the "Test262" job (which will only appear after it has been run at least once) to pass would also be good.

I hope to get #16 up to date and merged, as well as fixing some warnings after the test suite is active again.

edit: Looks like actions may already be enabled and just need to be confirmed to run for the PR.

@s-ludwig s-ludwig force-pushed the fix_testsuite branch 2 times, most recently from 85ac370 to 371d6df Compare December 2, 2021 14:43
…n tests.

Since DMDScripts implements an old version of the ECMA standard, newer tests are currently mostly irrelevant for now. However, since we fail a lot of tests, it is important to have a known baseline in terms of which tests succeed. For now, this is only counting the number of passed tests as opposed to tracking each test case individually.
Crashes on Linux/LDC, probably due to an issue with the varargs implementation. Removing, since this isn't used anyway.
@WalterBright
Copy link
Copy Markdown
Contributor

"Allow all actions" is already checked on.

@WalterBright
Copy link
Copy Markdown
Contributor

What else do I need to do? Just merge this?

@WalterBright WalterBright merged commit 7ae699d into DigitalMars:master Dec 3, 2021
@s-ludwig s-ludwig deleted the fix_testsuite branch December 3, 2021 08:46
@s-ludwig
Copy link
Copy Markdown
Contributor Author

s-ludwig commented Dec 3, 2021

Note really sure, TBH, I'll see what happens with the other PR once it gets rebased.

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