tests

Clone Tools
  • last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- the shell test depends unfortunately on console output. deactivate this test file for nsf configurations with debug output, where this will happen

* interp.test: Import auto_path from parent interp so that "package req" works as expected.

- fix text for Tcl 8.7

* nx.tcl, parameters.test (Object->object variable): Support for substdefault has been entirely missing so far. Added basic tests

  1. … 1 more file in changeset.
Adding a first test case

Adding a first test case

nx::Class unknown: rewritte unknown message to include '?...?'

  1. … 1 more file in changeset.
- remove spurious blank in error message - fix typo in print string

  1. … 1 more file in changeset.
Tests: Adjust the test suite for the latest rewording of the nx::Class unknown message

Add two tests on try/finally

- add tweo more tests of plain tclsh

- remove superfluous (and icorrect) tests

- don't call tcl eval operations from NsfLog() in phyical destroy round - extend regression test for shell with tests in [info nameofexecutable] rather than in nxhs

  1. … 2 more files in changeset.
nx::shell2: Add some more tests

nx::shell2: Rewrote in-shell exit support to avoid Tcl's native exit and to unwind gracefully to avoid NSF refcount leaks on exit; bumped package number

  1. … 5 more files in changeset.
DispatchUnknownMethod(): Make sure that arcane method names make it into proper unknown error mesages (incl. names representing invalid Tcl lists); tests included; checked by valgrind

  1. … 2 more files in changeset.
Having a working version, test for leaks

  1. … 1 more file in changeset.
Adjust shell tests for latest changes to stacktrace formatting

Make cmd-literal tests conditional on a (future) Tcl release: 8.6.7

Adding a second UnsetTracedVars test, this time for the per-object namespace case

Add missing test on UnsetTracedVars()

cmd resolver work - fix test, when OS specific cmd resolver is used from a NSF_CSC_CALL_IS_COMPILE frame - improved output from __db_show_obj: put results into one line instead of multiple lines - new debug function __db_get_obj: return into about a tcl_obj in form of a dict (in general, one should not rely on Tcl_Obj internals, especially when upgrading over major Tcl versions, but for testing/understanding behavior etc., such a command is helpful). - extend regression test

  1. … 5 more files in changeset.
Shift some atomic tests into test case

Revive and include test case on Bug 3418547

- add test for the global cmd literal sharing - keep experimental code for disassembling methods

    • -0
    • +104
    ./cmdresolution.test
  1. … 2 more files in changeset.
Deactivate one test for now

Some cleanup and adding basic test cases

  1. … 5 more files in changeset.
- fix one case in interaction between get-trace and default value

  1. … 1 more file in changeset.
- Allow combination of "-trace get" with default value (was previously disallowed) - Extend regression test

  1. … 2 more files in changeset.
- add new command nsf::parseargs to parse an argument vector against a parameter definition and to set the resulting variables in the current scope - extend regression test

  1. … 5 more files in changeset.