summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-06-14 00:10:19 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-06-18 12:46:05 +0200
commite02beb1849416f5af8ec56acd17f37b5dc7c24a4 (patch)
tree123025307704c72dbed0a92c6703118c64591c66 /testsuite
parent9bb05785a7ac3ea8d2589173505891e75163d66b (diff)
downloadhaskell-e02beb1849416f5af8ec56acd17f37b5dc7c24a4.tar.gz
Driver: `ghc ../Test` (without file extension) should work
Reviewed by: bgamari Differential Revision: https://phabricator.haskell.org/D2331 GHC Trac Issues: #12192
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/driver/T12192.hs1
-rw-r--r--testsuite/tests/driver/all.T3
2 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/driver/T12192.hs b/testsuite/tests/driver/T12192.hs
new file mode 100644
index 0000000000..ce6da0245b
--- /dev/null
+++ b/testsuite/tests/driver/T12192.hs
@@ -0,0 +1 @@
+module T12192 where
diff --git a/testsuite/tests/driver/all.T b/testsuite/tests/driver/all.T
index 54c84bca36..36ba99b6ef 100644
--- a/testsuite/tests/driver/all.T
+++ b/testsuite/tests/driver/all.T
@@ -488,3 +488,6 @@ test('T12135',
extra_clean(['T12135.o', 'T12135.hi', 'T12135', 'T12135a/T12135.h', 'T12135b/T12135.h'])],
run_command,
['$MAKE -s --no-print-directory T12135'])
+
+test('T12192', normal, run_command,
+ ['mkdir foo && (cd foo && {compiler} -v0 ../T12192)'])