Wiki

Ticket #7 (closed defect: fixed)

Opened 10 years ago

Last modified 8 years ago

cobra -test generates output for spurious tests from the RTL

Reported by: hopscc Owned by: Chuck
Priority: medium Milestone:
Component: Cobra Compiler Version: 0.7.4
Keywords: Cc:

Description

If you run cobra -test program.cobra you always get output for a whole lot of additional classes before those in program.cobra presumably corresponding to the Tests in CobraLang.cobra.

For simple classes this output is more than that of the 'interesting'
test file
Presumably the RTL is already tested and working and are surplus 'noise' to the tests for the designated file(s)
These RTL library tests should be suppressed

Attachments

testrun Download (1.8 KB) - added by hopscc 10 years ago.
example of test output for a single class file

Change History

Changed 10 years ago by hopscc

example of test output for a single class file

Changed 10 years ago by Chuck

I get the extra output with "cobra -test hello" but not with "cobra -ert:no -test hello". And someday, -ert:no will be the default.

So we might consider letting this one go.

Changed 10 years ago by hopscc

  • priority changed from major to medium

Doh - that makes sense ( no runtime)
OK.

Changed 8 years ago by hopscc

Can close this now -ert:no is default.

Changed 8 years ago by Chuck

  • status changed from new to closed
  • resolution set to fixed

Agreed.

Note: See TracTickets for help on using tickets.