tests

Clone Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prepare value=* reform in tests

* nsf.c (ArgumentCheck): Avoid double dispatching to value checkers (built-in and type=*) for "slotset" parameters. Previously, configure and then the value=set (value=add) method triggered one dispatch each. Now, the configure pass skips the check and shifts sole responsibility on the value=set/ value=add methods. Added basic test cases to parameters.test to capture the intended call semantics.

  1. … 1 more file in changeset.
Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

- Use more modern returnstate handling based on options - extend regression test

  1. … 1 more file in changeset.
* contains.test: Add two test cases to document the recent fix on error and errorcode propagation in contains.

- extended regression test suite with a case reproducing a recently fixed crash

  1. … 1 more file in changeset.
* summary.tcl: Report NSF commit id along with NSF package version.

- 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

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.
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.