summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/lit/tests/Inputs')
-rw-r--r--llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py14
-rw-r--r--llvm/utils/lit/tests/Inputs/shtest-shell/dev-null.txt14
2 files changed, 0 insertions, 28 deletions
diff --git a/llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py b/llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py
deleted file mode 100644
index 2f7a2503b97..00000000000
--- a/llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env python
-
-import argparse
-import platform
-
-parser = argparse.ArgumentParser()
-parser.add_argument("--my_arg", "-a")
-
-args = parser.parse_args()
-
-answer = (platform.system() == "Windows" and
- args.my_arg == "/dev/null" and "ERROR") or "OK"
-
-print(answer)
diff --git a/llvm/utils/lit/tests/Inputs/shtest-shell/dev-null.txt b/llvm/utils/lit/tests/Inputs/shtest-shell/dev-null.txt
deleted file mode 100644
index 5b742489cc8..00000000000
--- a/llvm/utils/lit/tests/Inputs/shtest-shell/dev-null.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-# Check handling of /dev/null in command line options
-# On windows, it should be redirected to a temp file.
-#
-# RUN: "%{python}" %S/check_args.py --my_arg /dev/null | FileCheck %s --check-prefix=CHECK1
-# CHECK1: OK
-
-# RUN: "%{python}" %S/check_args.py --my_arg=/dev/null | FileCheck %s --check-prefix=CHECK2
-# CHECK2: OK
-
-# RUN: "%{python}" %S/check_args.py -a /dev/null | FileCheck %s --check-prefix=CHECK3
-# CHECK3: OK
-
-# RUN: "%{python}" %S/check_args.py -a=/dev/null | FileCheck %s --check-prefix=CHECK4
-# CHECK4: OK
OpenPOWER on IntegriCloud