summaryrefslogtreecommitdiff
path: root/test/tools/opt-viewer/unicode-function-name.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/opt-viewer/unicode-function-name.test')
-rw-r--r--test/tools/opt-viewer/unicode-function-name.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tools/opt-viewer/unicode-function-name.test b/test/tools/opt-viewer/unicode-function-name.test
new file mode 100644
index 00000000000..f62c0241985
--- /dev/null
+++ b/test/tools/opt-viewer/unicode-function-name.test
@@ -0,0 +1,7 @@
+RUN: %opt-viewer -s %p/Inputs/unicode-function-name -o %t %p/Inputs/unicode-function-name/s.opt.yaml --no-highlight --demangler=llvm-cxxfilt
+RUN: diff %p/Outputs/unicode-function-name/index.html %t/index.html
+RUN: diff %p/Outputs/unicode-function-name/s.swift.html %t/s.swift.html
+
+# Also test the pygments code path without actually checking the output since
+# that may slightly vary between pygment versions
+RUN: %opt-viewer -s %p/Inputs/unicode-function-name -o %t.unused %p/Inputs/unicode-function-name/s.opt.yaml --demangler=llvm-cxxfilt