Home | History | Annotate | Download | only in FileCheck
      1 foo bat bar
      2 baz
      3 
      4 RUN: FileCheck --input-file=%s --check-prefix=PASS1 %s
      5 PASS1: foo
      6 PASS1-SAME: bat
      7 PASS1-SAME: bar
      8 PASS1-NEXT: baz
      9 
     10 RUN: FileCheck --input-file=%s --check-prefix=PASS2 %s
     11 PASS2: foo
     12 PASS2-NOT: baz
     13 PASS2-SAME: bar
     14 PASS2-NEXT: baz
     15 
     16 RUN: not FileCheck --input-file=%s --check-prefix=FAIL1 %s
     17 FAIL1: foo
     18 FAIL1-SAME: baz
     19 
     20 RUN: not FileCheck --input-file=%s --check-prefix=FAIL2 %s
     21 FAIL2: foo
     22 FAIL2-NOT: bat
     23 FAIL2-SAME: bar
     24