835 files and tcl code testing

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf 835 files and tcl code testing

  • Creator
    Topic
  • #54773
    Femina Jaffer
    Participant

      Friends,

      I need to revisit code that I had written several years ago, and need to test this in the testing tool.  However, I am not able to see my echos in the testing tool.  Silly questions please help me remember 🙂.  In order to test this in the testing tool what drop downs should be selected? I have selected Time Mode, but that didn’t do much ?  In Save Options, send to proc – should I still select hcitpstestshowbydisp?  Please advise?  I have pasted the code for your review.

      proc EOB_835_Processing_test { args } {

      keylget args MODE mode

      switch -exact — $mode {

         time {

               set in_dir [file join $::HciRoot testdev FTP EOB STRIP IN]

               echo “MADE IT”

               set out_dir [file join $::HciRoot testdev FTP EOB OUT]

               set files_to_scan “*.dat”

               set rVal [EOBSubs::build_batch $in_dir $out_dir $files_to_scan]

               echo “[fmtclock [clock seconds]] $rVal”

               return “”

           }

        }

      }

    Viewing 0 reply threads
    • Author
      Replies
      • #82937
        Femina Jaffer
        Participant

          Oh my gosh I feel so DUMB.  Figured it out, I had to change “time” to “run” in the tcl code and use RUN MODE to test this in the tool.

          Thanks again, and again my apologies for wasting anyone’s time.

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.