Skip to content

Conversation

@jayrm
Copy link
Member

@jayrm jayrm commented Aug 26, 2019

  • in DOS fbc, cast the return value in ASC(wstring,index) to 'unsigned char', because previously ASC() was returning 'char' incorrectly sign extended to 32 bits. And changing FB_WCHAR to 'unsigned char' causes too many compile warnings.
  • in tests/fbc-tests.bas allow '-no-error' option to ignore failed test suite by not returning with exit error code
  • suppress failed tests in tests/string/format.bas on mingw-org - can be enable with ENABLE_CHECK_BUGS
  • suppress tests for wstring USC2 chars on DOS, an FB_WCHAR of 1 byte can not hold UCS2 chars.

- in DOS fbc, cast the return value in ASC(wstring,index) to 'unsigned char', because previously ASC() was returning 'char' incorrectly sign extended to 32 bits.  And changing FB_WCHAR to 'unsigned char' causes too many compile warnings.
- in tests/fbc-tests.bas allow '-no-error' option to ignore failed test suite by not returning with exit error code
- suppress failed tests in tests/string/format.bas on mingw-org - can be enable with ENABLE_CHECK_BUGS
- suppress tests for wstring USC2 chars on DOS, an FB_WCHAR of 1 byte can not hold UCS2 chars.
@jayrm jayrm merged commit 53e9f54 into freebasic:master Aug 26, 2019
@jayrm jayrm deleted the fbc-tests branch August 26, 2019 16:43
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.

1 participant