Browse Source

Inherit case ids to JAT phases

Alois Mahdal 6 years ago
parent
commit
0d4fadbd4d
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      src/xcase.sh.skel

+ 4
- 4
src/xcase.sh.skel View File

840
     eval "$__xcase__varcode"
840
     eval "$__xcase__varcode"
841
     case $__xcase__htype in
841
     case $__xcase__htype in
842
         setup)
842
         setup)
843
-            jat__pstarts "$__xcase__id :: setup"
843
+            jat__pstarts -c "$__xcase__id" "$__xcase__id :: setup"
844
             xcase__setup
844
             xcase__setup
845
             ;;
845
             ;;
846
         test)
846
         test)
847
-            jat__pstartt "$__xcase__id :: test"
847
+            jat__pstartt -c "$__xcase__id" "$__xcase__id :: test"
848
             if $__xcase__sfail;
848
             if $__xcase__sfail;
849
             then
849
             then
850
                 jat__log_error "setup failed--skipping test"
850
                 jat__log_error "setup failed--skipping test"
856
             fi
856
             fi
857
             ;;
857
             ;;
858
         diag)
858
         diag)
859
-            jat__pstartd "$__xcase__id :: diag"
859
+            jat__pstartd -c "$__xcase__id" "$__xcase__id :: diag"
860
             xcase__diag
860
             xcase__diag
861
             ;;
861
             ;;
862
         cleanup)
862
         cleanup)
863
-            jat__pstartc "$__xcase__id :: cleanup"
863
+            jat__pstartc -c "$__xcase__id" "$__xcase__id :: cleanup"
864
             xcase__cleanup
864
             xcase__cleanup
865
             ;;
865
             ;;
866
     esac
866
     esac