Page MenuHomePhabricator

[64-bit ints] Add script_tests for `getint` coverage
ClosedPublic

Authored by tobias_ruck on Wed, Dec 4, 22:33.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCf67fd8dd5fd8: [64-bit ints] Add script_tests for `getint` coverage
Summary

Currently, all the getint calls in interpreter.cpp don't have coverage for very large integers that might overflow.

Test Plan

ninja check

Diff Detail

Event Timeline

Fabien requested changes to this revision.Thu, Dec 5, 09:23
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/test/data/script_tests.json
529–545

Please add a "rationale" to your test cases

989–992

A bit clearer imo

This revision now requires changes to proceed.Thu, Dec 5, 09:23
Fabien added inline comments.
src/test/data/script_tests.json
1072 ↗(On Diff #51411)

This one is missing

1075 ↗(On Diff #51411)

dito

This revision is now accepted and ready to land.Thu, Dec 5, 19:19