summaryrefslogtreecommitdiffstats
path: root/lldb/lit/Settings/TestDisableColor.test
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-10-09 17:35:43 +0000
committerAdrian Prantl <aprantl@apple.com>2019-10-09 17:35:43 +0000
commit0115c10328281567391855766fef8fbe57a1d4cc (patch)
treef5c3232c37e50caaf5a2043e22fcebccee668bdd /lldb/lit/Settings/TestDisableColor.test
parent44e988ab14cb387eddfeacd1493792a6aa6aee81 (diff)
downloadbcm5719-llvm-0115c10328281567391855766fef8fbe57a1d4cc.tar.gz
bcm5719-llvm-0115c10328281567391855766fef8fbe57a1d4cc.zip
Revert [test] Split LLDB tests into API, Shell & Unit
as it appears to have broken check-lldb. This reverts r374184 (git commit 22314179f0660c172514b397060fd8f34b586e82) llvm-svn: 374187
Diffstat (limited to 'lldb/lit/Settings/TestDisableColor.test')
-rw-r--r--lldb/lit/Settings/TestDisableColor.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/lit/Settings/TestDisableColor.test b/lldb/lit/Settings/TestDisableColor.test
new file mode 100644
index 00000000000..659e2073fa2
--- /dev/null
+++ b/lldb/lit/Settings/TestDisableColor.test
@@ -0,0 +1,7 @@
+# RUN: %lldb -x -b -s %s | FileCheck %s
+settings show use-color
+q
+# This tests that LLDB turns off use-color if the output file is not an
+# interactive terminal. In this example, use-color should be off because LLDB
+# is run just by the non-interactive lit test runner.
+# CHECK: use-color (boolean) = false
OpenPOWER on IntegriCloud