Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f8357dcd825a9f87c14a32fff706e0739adbc6ab6dfce2a6c5aa2f72a3c1924a
Ticket: 77527e2f990734b412f956a33d3b4d026d0e3ac7
Tcltest disregards output from child interpreters
User & Date: erikleunissen on 2021-01-13 19:19:18
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    If a Tcl application uses child interpreters that write to stdout or stderr, tcltest doesn't capture the output as it does for regular interpreters.
    
    The attached script script exercises the behaviour.
    Test output when I run it:
    
    % ./exercise.tcl
    Hi from child.
    Error message from child.
    
    
    ==== someProc-1.1 capture output from child interp FAILED
    ==== Contents of test case:
    
            someProc
    
    ---- Output was:
    
    ---- Output should have been (exact matching):
    Hi from child.
    
    ---- Error output was:
    
    ---- Error output should have been (exact matching):
    Error message from child.
    
    ==== someProc-1.1 FAILED
    
    exercise.tcl:   Total   1       Passed  0       Skipped 0       Failed  1
    
  5. foundin changed to: "2.2"
  6. is_private changed to: "0"
  7. login: "erikleunissen"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "609f4c7ecf7dbb7a46acdc7eb164753d196088a6"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "erikleunissen"
  14. subsystem changed to: "34. tcltest Package"
  15. title changed to: "Tcltest disregards output from child interpreters"
  16. type changed to: "Bug"