Euphoria Ticket #952: Warnings flags need unit tests to verify their issuance

I opened t_warnings.e and found they only show warning statements no statements to trigger warnings and no verification of the warnings getting issued. this is a big problem.

The unit test can call another program which has warning directives and code and the caller can test the warning messages issued. The called program will send all of its output to another file which can then be verified by the caller as correct.

This ticket is a dependency for ticket:907 for really verifying that the warnings are working well.


Type: Task Severity: Normal Category: Error Reporting
Assigned To: unknown Status: New Reported Release:
Fixed in SVN #: View VCS: none Milestone: 4.0.6

1. Comment by SDPringle Feb 01, 2016

See: hg:euphoria/rev/88325132d794

changeset: 6412:88325132d794 branch: 4.0 user: Shawn David Pringle B.Sc. <> date: Mon Feb 01 22:00:02 2016 -0300 files: tests/t_warning.e tests/warning_code.ex description:

  • ticket 952 : added tests for warnings


Quick Links

User menu

Not signed in.

Misc Menu