Files
Nim/tests/untestable
Saem Ghani 84a7544988 nim-gdb.py fixes mostly for nimsuggest debugging (#16479)
These fixes were primarily developed to assist in nimsuggest debugging. There
is nothing intentionally specific done for nimsuggest, but beyond the automated
tests all practical testing was done with nimsuggest. Undoubltedly these will
also assist in other debugging scenarios.

The current nim-dbg.py script was broken in a few ways:
- failed to provide detailed value information for common types (see below)
- was not passing existing tests
- could not produce type summary information

Broken types now working somewhat better:
- sequences with ref types like strings
- sequences with value types like ints
- arrays with ref types like strings
- tables with int or string keys

Other improvements:
- slightly more test coverage

Future considerations:
- this, data used by it, should be something the compiler can generates
- account for different memory layouts ([arc/orc differ](https://github.com/nim-lang/Nim/pull/16479#issuecomment-751469536))

Attempts at improving nim-gdb.py

More tests, few fixes for seq and type printing

Tables debugging fixed added further tests

Fixed type printing
2020-12-30 15:02:51 +01:00
..
2019-03-17 16:58:27 +00:00
2017-10-24 10:48:45 +02:00
2018-12-11 21:23:22 +01:00

This directory contains integration tests which are not automatically executed for various reasons:

  • dependency on external services
  • dependency on files / configuration / state of the local host
  • tests that are extremely slow or require large amounts of memory or storage
  • tests that spawn local daemons

Integration tests can become stale very quickly. Automated ./koch tests are strongly recommended.