Skip to content
Tcl Source Code History Of Ticket fc87e3bddd
Login

History Of Ticket fc87e3bddd

Artifacts Associated With Ticket fc87e3bddd

  1. Ticket change [ac1daf5cd5] (rid 217752) by dgp on 2023-09-06 14:25:38:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      $ make test-tcl TESTFLAGS='-singleproc 1 -file "chanio.test get.test" -match get-3.4.1'
      ...
      chanio.test
      get.test
      
      
      ==== get-3.4.1 Tcl_GetDouble with iffy numbers FAILED
      ==== Contents of test case:
      
          lmap x {"09"} {
              catch {testdoubleobj set 1 $x} x
              set x
          }
      
      ---- Result was:
      {expected floating-point number but got "09" (looks like invalid octal number)}
      ---- Result should have been (exact matching):
      9.0
      ==== get-3.4.1 FAILED
      
      
      Without -singleproc 1 there is no failure, but the test is skipped due
      to the "deprecated" constraint.
      
      It's not clear to me that the test is correct for 8.7 as well.
      
    5. foundin initialized to: "8.7"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "dgp"
    14. subsystem initialized to: "11. Conversions from String"
    15. title initialized to: "get-3.4.1 fails in -singleproc testing"
    16. type initialized to: "Bug"
  2. Ticket change [ea85f0cd4a] (rid 217765) by dgp on 2023-09-06 18:19:43:

    1. icomment:
      
      There is a support script in the test suite named tcltests.tcl that
      some of the test files [source] to bring in common foundations.
      
      The test file chanio.test does.  The test file get.test does not.
      
      One common item provided is the "deprecated" constraint.  In this
      example the -singleproc changes things because it changes whether the
      test runs in an interp where the "deprecated" constraint is defined 
      and true.
      
      Since get.test is using the "deprecated" constraint, seem like it
      should also [source] the support script that provides it.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [5ae26998fc] (rid 217771) by jan.nijtmans on 2023-09-06 18:31:32:

    1. icomment:
      Good catch! You're absolutely right: The error (actuall: 2 errors) are in the testcase, which was wrongly compied from 9.0.
      
      1) The testcase doesn't source "tcltests.tcl", that's why the "deprecated" constraint didn't work
      
      2) The expected test-output was wrong (it was the 9.0 expected output, not the 8.x one)
      
      Fix [377c5b39c7da581a|here]
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [fa8bf91c6c] (rid 217773) by dgp on 2023-09-06 18:35:31:

    1. assignee changed to: "jan.nijtmans"
    2. icomment:
      
      After making that correction, the test now reliably fails.
      
      I'm thinking the logic of what the "deprecated" constraint means,
      and whether the test should run and what result it should expect
      needs a review.
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. title changed to: "get-3.4.1 fails when enabled"
  5. Ticket change [7d2ea7e2a4] (rid 217774) by dgp on 2023-09-06 18:37:17:

    1. icomment:
      
      Thanks for the confirmation.  I'll get the fork closed.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  6. Ticket change [134fb05cd9] (rid 217776) by dgp on 2023-09-06 18:41:50:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2460194.27905727"
    3. closer changed to: "dgp"
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"