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