summaryrefslogtreecommitdiffstats
path: root/tests/get.test
Commit message (Collapse)AuthorAgeFilesLines
* Shortcut in TclParseNumber(): If obj is a dict or list, don't bother to ↵jan.nijtmans2017-02-081-4/+4
| | | | | | generate the string representation if we know already beforehand that the parsing will fail. Use TCL_NO_DEPRECATED in stead of KILL_OCTAL for removing the (deprecated un-prefixed) octal support. Adapt test-cases, so they work without octal support as well.
* [7114ac6141] Improve testing and docs of Tcl_GetInt and Tcl_GetDouble. No ↵dkf2016-10-091-2/+20
| | | | behaviour change.
* No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | combination with tcltest86.dll to do that (Windows only)
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ | | | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
* | remove obsolete commentdgp2005-08-081-2/+1
| |
* | * tests/compExpr-old.test: Still more conversion of "nonPortable"dgp2005-07-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * tests/error.test: tests into tests with constraints that * tests/expr-old.test: describe the limits of their * tests/expr.test: portability. Also more consolidation * tests/fileName.test: of constraint synonyms. * tests/format.test: wideis64bit, 64bitInts => wideIs64bit * tests/get.test: wideIntegerUnparsed => wideIs32bit * tests/load.test: wideIntExpressions => wideBiggerThanInt * tests/obj.test: * tests/parseExpr.test: Dropped "roundOffBug" constraint that * tests/string.test: protected from buggy sprintf.
* | * tests/expr.test: Consolidated equivalent constraints intodgp2005-07-271-10/+12
| | | | | | | | | | | | | | | | | | * tests/fileName.test: single definitions and (more precise) names: * tests/get.test: longis32bit, 32bit, !intsAre64bit => longIs32bit * tests/listObj.test: empty => emptyTest; winOnly => win * tests/obj.test: intsAre64bit => longIs64bit Also updated some "nonPortable" tests to use constraints that mark precisely what about them isn't portable, so the tests can run where they work.
* | Fixed get.test so it really tests Tcl_GetInt() and uses constraints properly.dkf2004-05-191-70/+40
|/
* * generic/tclUtil.c (SetEndOffsetFromAny): handle integer offsethobbs2002-11-191-1/+19
| | | | | | | | | | after the "end-" prefix. * generic/get.test: * generic/string.test: * generic/tclObj.c (SetIntFromAny, SetWideIntFromAny): * generic/tclGet.c (TclGetLong, Tcl_GetInt): simplify sign handling before calling strtoul(l). [Bug #634856]
* Further changes to the TIP 72 patch to make it compile under VC++Kevin B Kenny2002-02-151-2/+2
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-6/+6
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-11/+30
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+91