summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Quit
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/test/Shell/Quit
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/test/Shell/Quit')
-rw-r--r--lldb/test/Shell/Quit/TestQuitExitCode-30.test3
-rw-r--r--lldb/test/Shell/Quit/TestQuitExitCode0.test3
-rw-r--r--lldb/test/Shell/Quit/TestQuitExitCode30.test3
-rw-r--r--lldb/test/Shell/Quit/TestQuitExitCodeHex0.test3
-rw-r--r--lldb/test/Shell/Quit/TestQuitExitCodeHexA.test3
-rw-r--r--lldb/test/Shell/Quit/TestQuitExitCodeImplicit0.test3
-rw-r--r--lldb/test/Shell/Quit/TestQuitExitCodeNonInt.test4
-rw-r--r--lldb/test/Shell/Quit/TestQuitExitCodeTooManyArgs.test4
-rwxr-xr-xlldb/test/Shell/Quit/expect_exit_code.py16
9 files changed, 0 insertions, 42 deletions
diff --git a/lldb/test/Shell/Quit/TestQuitExitCode-30.test b/lldb/test/Shell/Quit/TestQuitExitCode-30.test
deleted file mode 100644
index 2f15398c761..00000000000
--- a/lldb/test/Shell/Quit/TestQuitExitCode-30.test
+++ /dev/null
@@ -1,3 +0,0 @@
-# UNSUPPORTED: system-windows
-# RUN: %python %S/expect_exit_code.py 226 %lldb -b -s %s
-q -30
diff --git a/lldb/test/Shell/Quit/TestQuitExitCode0.test b/lldb/test/Shell/Quit/TestQuitExitCode0.test
deleted file mode 100644
index af39b4293f3..00000000000
--- a/lldb/test/Shell/Quit/TestQuitExitCode0.test
+++ /dev/null
@@ -1,3 +0,0 @@
-# UNSUPPORTED: system-windows
-# RUN: %lldb -b -s %s
-q 0
diff --git a/lldb/test/Shell/Quit/TestQuitExitCode30.test b/lldb/test/Shell/Quit/TestQuitExitCode30.test
deleted file mode 100644
index e5ff634e713..00000000000
--- a/lldb/test/Shell/Quit/TestQuitExitCode30.test
+++ /dev/null
@@ -1,3 +0,0 @@
-# UNSUPPORTED: system-windows
-# RUN: %python %S/expect_exit_code.py 30 %lldb -b -s %s
-q 30
diff --git a/lldb/test/Shell/Quit/TestQuitExitCodeHex0.test b/lldb/test/Shell/Quit/TestQuitExitCodeHex0.test
deleted file mode 100644
index f85a046fa13..00000000000
--- a/lldb/test/Shell/Quit/TestQuitExitCodeHex0.test
+++ /dev/null
@@ -1,3 +0,0 @@
-# UNSUPPORTED: system-windows
-# RUN: %lldb -b -s %s
-q 0x0
diff --git a/lldb/test/Shell/Quit/TestQuitExitCodeHexA.test b/lldb/test/Shell/Quit/TestQuitExitCodeHexA.test
deleted file mode 100644
index ca0e2d5acc3..00000000000
--- a/lldb/test/Shell/Quit/TestQuitExitCodeHexA.test
+++ /dev/null
@@ -1,3 +0,0 @@
-# UNSUPPORTED: system-windows
-# RUN: %python %S/expect_exit_code.py 10 %lldb -b -s %s
-q 0xA
diff --git a/lldb/test/Shell/Quit/TestQuitExitCodeImplicit0.test b/lldb/test/Shell/Quit/TestQuitExitCodeImplicit0.test
deleted file mode 100644
index 5494231b23b..00000000000
--- a/lldb/test/Shell/Quit/TestQuitExitCodeImplicit0.test
+++ /dev/null
@@ -1,3 +0,0 @@
-# UNSUPPORTED: system-windows
-# RUN: %lldb -b -s %s
-q
diff --git a/lldb/test/Shell/Quit/TestQuitExitCodeNonInt.test b/lldb/test/Shell/Quit/TestQuitExitCodeNonInt.test
deleted file mode 100644
index 87c0bd41bb0..00000000000
--- a/lldb/test/Shell/Quit/TestQuitExitCodeNonInt.test
+++ /dev/null
@@ -1,4 +0,0 @@
-# UNSUPPORTED: system-windows
-# RUN: %lldb -b -s %s 2>&1 | FileCheck %s
-q str
-// CHECK: Couldn't parse 'str'
diff --git a/lldb/test/Shell/Quit/TestQuitExitCodeTooManyArgs.test b/lldb/test/Shell/Quit/TestQuitExitCodeTooManyArgs.test
deleted file mode 100644
index a67669451e9..00000000000
--- a/lldb/test/Shell/Quit/TestQuitExitCodeTooManyArgs.test
+++ /dev/null
@@ -1,4 +0,0 @@
-# UNSUPPORTED: system-windows
-# RUN: %lldb -b -s %s 2>&1 | FileCheck %s
-q 1 2
-// CHECK: Too many arguments for 'quit'
diff --git a/lldb/test/Shell/Quit/expect_exit_code.py b/lldb/test/Shell/Quit/expect_exit_code.py
deleted file mode 100755
index 32b2e29d53d..00000000000
--- a/lldb/test/Shell/Quit/expect_exit_code.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env python
-
-import subprocess
-import sys
-
-args = sys.argv
-
-expected_exit_code = args[1]
-
-args = args[2:]
-print("Running " + (" ".join(args)))
-real_exit_code = subprocess.call(args)
-
-if str(real_exit_code) != expected_exit_code:
- print("Got exit code %d but expected %s" % (real_exit_code, expected_exit_code))
- exit(1)
OpenPOWER on IntegriCloud