Skip to content

Instantly share code, notes, and snippets.

@ppelleti
Created May 13, 2015 00:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ppelleti/31bae3df2c03b0dea774 to your computer and use it in GitHub Desktop.
Save ppelleti/31bae3df2c03b0dea774 to your computer and use it in GitHub Desktop.
test suite failures for my ghc783 branch of berp
:../test/regression/features/arithmetic/mult.test: [OK]
:../test/regression/features/arithmetic/mult_float_precision.test: [OK]
:../test/regression/features/arithmetic/plus.test: [OK]
:../test/regression/features/arithmetic/type_conversion.test: [OK]
:../test/regression/features/assignment/assign_multi.test: [OK]
:../test/regression/features/assignment/assign_subscript.test: [OK]
:../test/regression/features/assignment/assign_unpack.test: [Failed]
Expected stdout:
0
-1
1 2
2 1
3 4 5
42
43
44 45
7 8
9 10
11 12 13
14 15 16
Got stdout:
Expected stderr:
Got stderr:
Berp_assign_unpack.hs:5:23:
Found hole ‘_s_x’ with type: Berp.Base.SemanticTypes.ObjectRef
Relevant bindings include
globals :: Berp.Base.SemanticTypes.HashTable
(bound at Berp_assign_unpack.hs:4:6)
init :: Berp.Base.SemanticTypes.HashTable
-> Control.Monad.Trans.State.Strict.StateT
Berp.Base.SemanticTypes.EvalState
(Control.Monad.Trans.Cont.ContT
Berp.Base.SemanticTypes.Object GHC.Types.IO)
...(22162 more)
Expected exit code:
0
Got exit code:
1
:../test/regression/features/assignment/assign_unpack_iterator.test: [Failed]
Expected stdout:
1 2 3
Got stdout:
Expected stderr:
Got stderr:
Berp_assign_unpack_iterator.hs:14:23:
Found hole ‘_s_x’ with type: Berp.Base.SemanticTypes.ObjectRef
Relevant bindings include
_t_2 :: Berp.Base.SemanticTypes.Object
(bound at Berp_assign_unpack_iterator.hs:13:8)
_t_1 :: Berp.Base.SemanticTypes.Object
(bound at Berp_assign_unpack_iterator.hs:12:8)
_t_0 :: Berp.Base.SemanticTypes.Object
(bound at Berp_assign_unpack_iterator.hs:5:8)
globals :: Berp.Base.SemanticTypes.HashTable
(bound...(2701 more)
Expected exit code:
0
Got exit code:
1
:../test/regression/features/assignment/assign_var.test: [OK]
:../test/regression/features/booleans/and.test: [OK]
:../test/regression/features/booleans/bool_class.test: [OK]
:../test/regression/features/booleans/not.test: [OK]
:../test/regression/features/booleans/or.test: [OK]
:../test/regression/features/break/while_break.test: [OK]
:../test/regression/features/callCC/callCC_continuation_returned.test: [OK]
:../test/regression/features/callCC/callCC_early_return.test: [OK]
:../test/regression/features/callCC/callCC_simple_lambda.test: [OK]
:../test/regression/features/classes/class_with_init.test: [Failed]
Expected stdout:
3
48
(True, 'fred')
Got stdout:
Expected stderr:
Got stderr:
Berp_class_with_init.hs:27:54:
Couldn't match type ‘GHC.IORef.IORef
Berp.Base.SemanticTypes.Object’
with ‘(GHC.Types.Int, GHC.Base.String)’
Expected type: berplibs-0.0.3:Berp.Base.Hash.Hashed GHC.Base.String
Actual type: Berp.Base.SemanticTypes.ObjectRef
In the second argument of ‘setattr’, namely ‘_s_x’
In a stmt of a 'do' block: setattr _t_10 _s_x _t_9
Berp_class_with_init.hs:44:54:
Couldn't match type ‘GHC.IORef.IORef
...(374 more)
Expected exit code:
0
Got exit code:
1
:../test/regression/features/classes/class_with_str.test: [OK]
:../test/regression/features/classes/inherit_attribute.test: [OK]
:../test/regression/features/classes/inherit_method.test: [OK]
:../test/regression/features/closures/closure_return_func.test: [OK]
:../test/regression/features/closures/closure_update_free_var.test: [OK]
:../test/regression/features/comprehensions/empty_comprehension.test: [OK]
:../test/regression/features/comprehensions/guarded_comprehension.test: [OK]
:../test/regression/features/comprehensions/nested_comprehension.test: [Failed]
Expected stdout:
[]
[1]
set()
{1}
[]
[1]
Got stdout:
[]
[1]
Expected stderr:
Got stderr:
nested_comprehension: set() has no attribute called __iter__
Expected exit code:
0
Got exit code:
1
:../test/regression/features/comprehensions/singleton_comprehension.test: [OK]
:../test/regression/features/continue/while_continue.test: [OK]
:../test/regression/features/dictionaries/dict_index_found.test: [OK]
:../test/regression/features/dictionaries/dict_literal.test: [OK]
:../test/regression/features/dictionaries/dict_setitem_existing.test: [OK]
:../test/regression/features/dictionaries/dict_setitem_new.test: [OK]
:../test/regression/features/dictionaries/empty_dict.test: [OK]
:../test/regression/features/dictionaries/singleton_dict.test: [OK]
:../test/regression/features/docstrings/procedure_docstring.test: [OK]
:../test/regression/features/docstrings/procedure_no_docstring.test: [OK]
:../test/regression/features/exceptions/try_except_div_by_zero.test: [OK]
:../test/regression/features/exceptions/try_except_no_exception.test: [OK]
:../test/regression/features/forloops/for_list.test: [OK]
:../test/regression/features/global_variable/globalVar.test: [OK]
:../test/regression/features/ifthenelse/if_elif.test: [OK]
:../test/regression/features/ifthenelse/if_elif_else.test: [OK]
:../test/regression/features/ifthenelse/if_else.test: [OK]
:../test/regression/features/ifthenelse/if_false.test: [OK]
:../test/regression/features/ifthenelse/if_true.test: [OK]
:../test/regression/features/imports/fromImport.test: [OK]
:../test/regression/features/imports/fromImportStar.test: [OK]
:../test/regression/features/imports/import.test: [OK]
:../test/regression/features/imports/importTransitive.test: [OK]
:../test/regression/features/input/input_no_args.test: [OK]
:../test/regression/features/input/input_one_arg.test: [OK]
:../test/regression/features/integers/unary_minus.test: [OK]
:../test/regression/features/iterators/yield.test: [OK]
:../test/regression/features/lambda/lambda_arity0.test: [OK]
:../test/regression/features/lambda/lambda_arity1.test: [OK]
:../test/regression/features/lambda/lambda_arity2.test: [OK]
:../test/regression/features/lambda/lambda_nested.test: [OK]
:../test/regression/features/lambda/lambda_printed.test: [OK]
:../test/regression/features/lists/empty_list.test: [OK]
:../test/regression/features/lists/list_append.test: [OK]
:../test/regression/features/lists/list_of_list.test: [OK]
:../test/regression/features/lists/list_setitem.test: [OK]
:../test/regression/features/lists/singleton_list.test: [OK]
:../test/regression/features/none/none.test: [OK]
:../test/regression/features/pass/function_pass.test: [OK]
:../test/regression/features/pass/pass.test: [OK]
:../test/regression/features/procedures/proc_pass.test: [OK]
:../test/regression/features/sets/empty_set.test: [OK]
:../test/regression/features/sets/set_literal.test: [OK]
:../test/regression/features/strings/empty_string.test: [OK]
:../test/regression/features/strings/singleton_string.test: [OK]
:../test/regression/features/strings/string_append.test: [OK]
:../test/regression/features/strings/string_juxtapose.test: [OK]
:../test/regression/features/subscript/subscript_list.test: [OK]
:../test/regression/features/tail_call/count_rec.test: [OK]
:../test/regression/features/tail_call/enclosing_try.test: [OK]
:../test/regression/features/tail_call/fac.test: [OK]
:../test/regression/features/tail_call/mutual_rec.test: [OK]
:../test/regression/features/tail_call/simple_tail_call.test: [OK]
:../test/regression/features/tail_call/tail_call_method.test: [OK]
:../test/regression/features/tuples/empty_tuple.test: [OK]
:../test/regression/features/tuples/singleton_tuple.test: [OK]
:../test/regression/programs/imaginary/ackermann.test: [OK]
:../test/regression/programs/imaginary/empty.test: [OK]
:../test/regression/programs/imaginary/evenodd.test: [OK]
:../test/regression/programs/imaginary/fac.test: [OK]
:../test/regression/programs/imaginary/fib.test: [OK]
:../test/regression/programs/imaginary/fib_memo.test: [OK]
Test Cases Total
Passed 84 84
Failed 4 4
Total 88 88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment