summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Added knownBug constraints.dgp2006-03-211-2/+2
| |
* | * tests/compile.test: Updated tests with changed behaviordgp2005-11-091-140/+146
| | | | | | | | | | | | | | | | | | * tests/execute.test: due to addition of bignums. * tests/expr-old.test: * tests/expr.test: * tests/parseExpr.test: * tests/platform.test: * tests/string.test:
* | * tests/expr.test: Portable tests expr-46.13-18 [Bug 1341368]dgp2005-11-081-2/+26
| |
* | * expr.test (expr-46.13): Added test that illustratesdgp2005-11-011-1/+4
| | | | | | | | shortcoming of Patch 1340260.
* | Marked some failing tests as knownBug until they can be updated.dgp2005-10-211-8/+8
| |
* | Marked several failing tests as "knownBug" until they can be updated.dgp2005-10-211-13/+13
| |
* | TIP#237 IMPLEMENTATIONdgp2005-10-081-2/+246
| | | | | | | | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* | renumber expr-39.* to expr-46.*Kevin B Kenny2005-08-291-13/+13
| |
* | fix test case bracing and numberingKevin B Kenny2005-08-291-10/+10
| |
* | removed inappropriate swizzling of tcl_precisionKevin B Kenny2005-08-291-3/+1
| |
* | Bug 1275043Kevin B Kenny2005-08-291-1/+75
| |
* | Remove extra blank lines between tests so groups go together better.dkf2005-08-241-220/+1
| |
* | further untangling of Tcl_Finalize, and test cleanup on Win32 threadedKevin B Kenny2005-08-101-2/+3
| |
* | Handle abs(-0x80000000) [Bug 1241572]Kevin B Kenny2005-08-051-1/+5
| |
* | * tests/compExpr-old.test: Still more conversion of "nonPortable"dgp2005-07-281-109/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-184/+177
| | | | | | | | | | | | | | | | | | * 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.
* | * generic/tclExecute.c (TclExecuteByteCode):mdejong2005-07-091-1/+969
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reimplement long and wide type integer division and modulus operations so that the smallest and largest integer values are handled properly. The divide operation is more efficient since it no longer does a modulus or negation and only checks for a remainder when the quotient will be a negative number. The modulus operation is now a bit more complex because of a number of special cases dealing with the smallest and largest integers. * tests/expr.test: Add test cases for division and modulus operations on the smallest and largest integer values for 32 and 64 bit types. [Patch 1230205]
* | * generic/tclExecute.c (TclExecuteByteCode):mdejong2005-06-291-1/+252
| | | | | | | | | | | | | | | | | | | | | | When parsing an integer operand for a unary minus expression operator, check for a wide integer that is actually LONG_MIN. If found, convert it back to a long int type. * tests/expr.test: Add constraint for 32bit long int type and 64bit wide int type. Add tests that parse the smallest/largest long int and wide int values.
* | TIP#182 IMPLEMENTATION [Patch 1165062]dgp2005-05-251-2/+65
| | | | | | | | | | | | | | * doc/mathfunc.n: New built-in math function bool(). * generic/tclBasic.c: * tests/expr.test: * tests/info.test:
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-54/+4339
| |
* | * generic/tclExecute.c (ExponLong, ExponWide): fixed special caseMiguel Sofer2005-05-101-1/+4
| | | | | | | | 'i**0' for i>0 [Bug 1198892]
* | Fix for [Bug 761471]; NaN is now *never* equal to NaN...dkf2004-11-011-1/+6
| |
* | Basic tests for TIPs #201 and #212dkf2004-10-081-1/+18
| |
* | Stop words starting with 'eq' or 'ne' from being subdivided by the expressiondkf2004-10-041-1/+9
| | | | | | | | parser. [Bug 884830]
* | Report compilation errors at runtime, [Patch 103368] by dgp.Miguel Sofer2004-09-261-47/+43
| |
* | Fix spelling of test names...dkf2004-09-241-21/+21
| |
* | Some tests were non-portable, alas.dkf2004-09-191-3/+3
| |
* | Fix silly mistakes :} and make sure that the original bug is a test case.dkf2004-09-181-3/+4
| |
* | Make sure large shifts shift for real. [Bug 868467]dkf2004-09-181-1/+11
| |
* | Standardize some use of test constraints onto names that are documenteddkf2004-06-231-3/+3
| |
* | Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-14/+14
| | | | | | | | necessary.
* | Stop failure of expr-23.4 on 64bit architectures. [Bug 808244]dkf2003-09-191-2/+2
| |
* | TIP#123 Implementation based on work by Arjen Markus. [Patch 655176]dkf2003-09-121-27/+81
| |
* | More elimination of dup test numbers [Bugs 710365, 710369]dkf2003-03-271-3/+3
|/
* * tests/expr.test (expr-22.*): Marked as non-portable because itdkf2002-07-311-13/+16
| | | | | seems that these tests have an annoying tendency to fail in unexpected ways. [Bugs 584825, 584950, 585986]
* Allowed parser to recognise 'Inf' as a floating-point number. [Bug 218000]dkf2002-07-221-1/+29
| | | | Also produce better error messages when this happens.
* Fix for bug 579284; registered math funcs can now correctly return wide-ints.dkf2002-07-101-26/+34
|
* More expr syntax error improvementsdkf2001-12-061-38/+38
|
* Improved messages produced on getting a syntax error in an expressiondkf2001-12-041-46/+46
|
* Recognise the non-numeric boolean literals (true,false,yes,no,on,off.)dkf2001-04-091-1/+15
| | | | [Bug #217777]
* Added test to detect bug #119153; the string forms of boolean valuesdkf2000-11-241-1/+6
| | | | should not be second-class citizens in the Tcl world...
* * doc/expr.n:hobbs2000-05-091-3/+30
| | | | | | | | | | | | * tests/expr.test: * tests/expr-old.test: added tests for 'eq' and 'ne' * generic/tclExecute.c: * generic/tclCompile.h: added INST_STREQ and INST_STRNEQ opcodes that do strict string comparisons. * generic/tclCompExpr.c: added 'eq' and 'ne' string comparison operators. * generic/tclParseExpr.c (GetLexeme): added 'eq' and 'ne' expr parse terms (string (in)equality check).
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/info.test:hobbs2000-01-121-1/+4
| | | | | | | | | | | * generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong) * tests/unixFCmd.test: * unix/tclUnixFCmd.c: added support for symbolic permissions setting in SetPermissionsAttribute (file attr $file -perm ...) [Bug: 3970] * tests/utf.test: fixed test that allowed \8 as octal value
* * tests/env.test: removed knownBug limitation from working testhobbs1999-12-041-2/+8
| | | | | | | | | | | | | | | | | | * tests/all.tcl: ensured that ::tcltest::testsDirectory would be set to an absolute path * tests/expr-old.test: * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling.
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-191-1/+9
| | | | added tests for bug fixes
* Added a check at the end of the test to not unset variables ifjenn1999-06-301-2/+4
| | | | they don't exist.
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-18/+57
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|