2929
3030common_loop_body_native_function_name  =  {
3131    "numba" : "common_loop_body" ,
32-     "numba-dpex -kernel" : "common_loop_body" ,
32+     "numba-ndpx -kernel" : "common_loop_body" ,
3333}
3434
3535breakpoint_api_cases  =  [
3636    (side_by_side_breakpoint , "numba" ),
37-     (side_by_side_breakpoint , "numba-dpex -kernel" ),
37+     (side_by_side_breakpoint , "numba-ndpx -kernel" ),
3838    * ((fn , api ) for  api , fn  in  common_loop_body_native_function_name .items ()),
3939    * (
4040        (f"side-by-side.py:{ fn }  " , api )
@@ -51,16 +51,16 @@ def test_breakpoint_with_condition_by_function_argument(app, breakpoint, api):
5151    Test that it is possible to set conditional breakpoint at the beginning 
5252    of the function and use a function argument in the condition. 
5353
54-     It is important that breakpoint by function name hits at the firts  line in 
54+     It is important that breakpoint by function name hits at the first  line in 
5555    the function body and not at the function definition line. 
5656
5757    Test for https://github.com/numba/numba/issues/7415 
5858    SAT-4449 
5959    """ 
60-     if  api  ==  "numba-dpex -kernel" :
60+     if  api  ==  "numba-ndpx -kernel" :
6161        pytest .xfail (
62-             "Wrong name  for kernel api."  
63-         )   # TODO: https://github.com/IntelPython/numba-dpex/issues/1216 
62+             "Conditional breakpoints  for numba-ndpx- kernel doesn't work."     # TODO: https://github.com/IntelPython/numba-dpex/issues/1221 
63+         )
6464
6565    variable_name  =  "param_a" 
6666    variable_value  =  "3" 
@@ -78,7 +78,6 @@ def test_breakpoint_with_condition_by_function_argument(app, breakpoint, api):
7878    app .child .expect (rf"\$1 = { variable_value }  " )
7979
8080
81- @pytest .mark .xfail   # TODO: https://github.com/IntelPython/numba-dpex/issues/1216  
8281@pytest .mark .parametrize ( 
8382    "breakpoint, script" , 
8483    [ 
@@ -98,11 +97,16 @@ def test_breakpoint_common(app, breakpoint, script):
9897    setup_breakpoint (app , breakpoint , script = script )
9998
10099
100+ @pytest .mark .xfail   # TODO: https://github.com/IntelPython/numba-dpex/issues/1221  
101101@pytest .mark .parametrize ( 
102102    "breakpoint, variable_name, variable_value" , 
103103    [ 
104104        # commands/break_conditional # noqa: E800  
105-         (f"{ simple_sum_condition_breakpoint }   if i == 1" , "i" , "1" ), 
105+         ( 
106+             f"{ simple_sum_condition_breakpoint }   --api=numba-ndpx-kernel if i == 1" , 
107+             "i" , 
108+             "1" , 
109+         ), 
106110    ], 
107111) 
108112def  test_breakpoint_with_condition_common (
0 commit comments