File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,21 @@ if ! (MAX_JOBS=$(nproc) python setup.py bdist_wheel && pip install dist/*.whl);
1313fi 
1414
1515#  Basic test to ensure installation success
16- cd  ..
1716
18- pip install pytest
17+ 
18+ 
19+ #  register PrivateUse1HooksInterface
20+ python test/test_utils.py TestDeviceUtilsCPU.test_device_mode_ops_sparse_mm_reduce_cpu_bfloat16
21+ python test/test_utils.py TestDeviceUtilsCPU.test_device_mode_ops_sparse_mm_reduce_cpu_float16
22+ python test/test_utils.py TestDeviceUtilsCPU.test_device_mode_ops_sparse_mm_reduce_cpu_float32
23+ python test/test_utils.py TestDeviceUtilsCPU.test_device_mode_ops_sparse_mm_reduce_cpu_float64
24+ 
25+ cd  ..
26+ pip install pytest pytest-xdist
27+ if  !  pytest -n $( nproc) $PACKAGE_NAME /test/common_extended_utils.py $PACKAGE_NAME /test/common_utils.py $PACKAGE_NAME /test/smoke_test.py $PACKAGE_NAME /test/test_architecture_ops.py $PACKAGE_NAME /test/test_datasets_video_utils_opt.py $PACKAGE_NAME /test/test_tv_tensors.py;  then 
28+     echo  " ------------------$PACKAGE_NAME :install_success_but_test_fails ###---------------------" 
29+     exit  0
30+ fi 
1931if  !  pytest " $PACKAGE_NAME /test/test_utils.py" ;  then 
2032    echo  " ------------------$PACKAGE_NAME :install_success_but_test_fails---------------------" 
2133    exit  2
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments