[commit: ghc] master: testsuite: Failing testcase for #12091 (22259c1)

git at git.haskell.org git at git.haskell.org
Wed Aug 31 18:29:22 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/22259c17c5e3043e5fa5b354f339f9b0d66167db/ghc

>---------------------------------------------------------------

commit 22259c17c5e3043e5fa5b354f339f9b0d66167db
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Wed Aug 31 13:49:24 2016 -0400

    testsuite: Failing testcase for #12091
    
    Just as it says on the can
    
    Test Plan: validate
    
    Reviewers: austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2489
    
    GHC Trac Issues: #12091


>---------------------------------------------------------------

22259c17c5e3043e5fa5b354f339f9b0d66167db
 testsuite/tests/ghci/scripts/T12091.script | 2 ++
 testsuite/tests/ghci/scripts/T12091.stdout | 1 +
 testsuite/tests/ghci/scripts/all.T         | 3 +++
 3 files changed, 6 insertions(+)

diff --git a/testsuite/tests/ghci/scripts/T12091.script b/testsuite/tests/ghci/scripts/T12091.script
new file mode 100644
index 0000000..247a1ed
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T12091.script
@@ -0,0 +1,2 @@
+x = 5
+x
\ No newline at end of file
diff --git a/testsuite/tests/ghci/scripts/T12091.stdout b/testsuite/tests/ghci/scripts/T12091.stdout
new file mode 100644
index 0000000..7813681
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T12091.stdout
@@ -0,0 +1 @@
+5
\ No newline at end of file
diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T
index 9c791e3..9e36567 100755
--- a/testsuite/tests/ghci/scripts/all.T
+++ b/testsuite/tests/ghci/scripts/all.T
@@ -259,4 +259,7 @@ test('T12007', normal, ghci_script, ['T12007.script'])
 test('T11975', normal, ghci_script, ['T11975.script'])
 test('T10963', normal, ghci_script, ['T10963.script'])
 test('T12520', normal, ghci_script, ['T12520.script'])
+test('T12091',
+     [expect_broken(12091), extra_run_opts('-fobject-code')],
+     ghci_script, ['T12091.script'])
 test('T12523', normal, ghci_script, ['T12523.script'])



More information about the ghc-commits mailing list