diff options
Diffstat (limited to 'llvm/test/tools/opt-viewer/basic.test')
| -rw-r--r-- | llvm/test/tools/opt-viewer/basic.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/tools/opt-viewer/basic.test b/llvm/test/tools/opt-viewer/basic.test new file mode 100644 index 00000000000..e9d9b0ad33e --- /dev/null +++ b/llvm/test/tools/opt-viewer/basic.test @@ -0,0 +1,9 @@ +# Since we're performing a full compare of the generate HTML files disable +# syntax highlighting; pygments generates slightly different code with +# different versions. + +RUN: %opt-viewer -s %p/Inputs -o %t %p/Inputs/basic/or.yaml --no-highlight +RUN: diff %p/Outputs/basic/index.html %t/index.html +RUN: diff %p/Outputs/basic/basic_or.h.html %t/basic_or.h.html +RUN: diff %p/Outputs/basic/basic_or.c.html %t/basic_or.c.html +RUN: ls %t/style.css |

