File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11// / Invalid output path (%t is a file, not a directory).
22//  RUN: rm -rf %t && touch %t
3- //  RUN: not clang-doc %s -output=%t/subdir 2>&1 | FileCheck %s
4- //  CHECK : clang-doc error:
5- //  CHECK : {{(Not a directory|no such file or directory)}}
3+ //  RUN: not clang-doc %s -output=%t/subdir 2>&1 | FileCheck %s --check-prefix=OUTPUT-FAIL 
4+ //  OUTPUT-FAIL : clang-doc error:
5+ //  OUTPUT-FAIL : {{(Not a directory|no such file or directory)}}
66
77// / Invalid format option.
8- //  RUN: not clang-doc %s --output=%t.dir -format=badformat 2>&1 | FileCheck %s --check-prefix=BAD-FORMAT
8+ //  RUN: rm -rf %t && mkdir %t && touch %t/file
9+ //  RUN: not clang-doc %s --output=%t/file -format=badformat 2>&1 | FileCheck %s --check-prefix=BAD-FORMAT
910//  BAD-FORMAT: clang-doc: for the --format option: Cannot find option named 'badformat'!
1011
1112// / Missing HTML asset directory (warning only).
1213//  RUN: clang-doc %s -format=html -asset=%t/nonexistent-assets 2>&1 | FileCheck %s --check-prefix=ASSET-WARN
1314//  ASSET-WARN: Asset path supply is not a directory
14- //  ASSET-WARN: falling back to default
1515
1616// / Mapping failure (with --ignore-map-errors=false).
1717//  RUN: not clang-doc %t/nonexistent.cpp -ignore-map-errors=false 2>&1 | FileCheck %s --check-prefix=MAP-FAIL
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments