_acs-tcl__acs_tcl_exec_optional_dependencies (private)

 _acs-tcl__acs_tcl_exec_optional_dependencies

Defined in packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 _ _ (public) aa_log aa_log (public) aa_log_result aa_log_result (public) aa_true aa_true (public) util::which util::which (public) _acs-tcl__acs_tcl_exec_optional_dependencies _acs-tcl__acs_tcl_exec_optional_dependencies _acs-tcl__acs_tcl_exec_optional_dependencies->_ _acs-tcl__acs_tcl_exec_optional_dependencies->aa_log _acs-tcl__acs_tcl_exec_optional_dependencies->aa_log_result _acs-tcl__acs_tcl_exec_optional_dependencies->aa_true _acs-tcl__acs_tcl_exec_optional_dependencies->util::which

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
    set d [_acs_tcl__acs_tcl_external_dependencies_helper]

    foreach cmd [dict get $d optional] {
        set fullCmd [::util::which $cmd]
        aa_true "'$cmd' exists" {$fullCmd ne ""}
        if {$fullCmd ne ""} {
            aa_true "'$cmd' is executable" [file executable $fullCmd]
        }
    }
}} {
          aa_log "Running testcase body $body_count"
          set ::__aa_test_indent [info level]
          set catch_val [catch $testcase_body msg]
          if {$catch_val != 0 && $catch_val != 2} {
              aa_log_result "fail" "acs_tcl_exec_optional_dependencies (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo"
          }
          incr body_count
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: