JuliaDebug / Gallium.jl

The Julia debugger
Other
174 stars 23 forks source link

Tests fail on v0.5 #155

Open ranjanan opened 8 years ago

ranjanan commented 8 years ago

On the latest tagged release and master of Gallium

Test Failed
  Expression: 2.0 == get(frame.env.locals[id])
   Evaluated: 2.0 == Nullable{Float64}()
Error During Test
  Test threw an exception of type ErrorException
  Expression: xmmbptest(1.0) == 2.0
  There was an error during testing
   in record(::Base.Test.FallbackTestSet, ::Base.Test.Fail) at ./test.jl:397
   in do_test(::Base.Test.Returned, ::Expr) at ./test.jl:281
   in do_xmmbptest() at /Users/ranjan/.julia/v0.5/Gallium/test/runtests.jl:49
   in xmmbptest(::Float64) at /Users/ranjan/.julia/v0.5/Gallium/test/runtests.jl:56
   in include_from_node1(::String) at ./loading.jl:488
   in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
   in process_options(::Base.JLOptions) at ./client.jl:262
   in _start() at ./client.jl:318
   in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
ERROR: LoadError: There was an error during testing
 in record(::Base.Test.FallbackTestSet, ::Base.Test.Error) at ./test.jl:397
 in do_test(::Base.Test.Threw, ::Expr) at ./test.jl:281
 in include_from_node1(::String) at ./loading.jl:488
 in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in process_options(::Base.JLOptions) at ./client.jl:262
 in _start() at ./client.jl:318
 in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
while loading /Users/ranjan/.julia/v0.5/Gallium/test/runtests.jl, in expression starting on line 60

my versioninfo():

Julia Version 0.5.0
Commit 3c9d753 (2016-09-19 18:14 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin13.4.0)
  CPU: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, broadwell)
Keno commented 8 years ago

I've commented out these tests

mdpradeep commented 8 years ago

Here's the test result on current master:

julia> Pkg.test("Gallium")
INFO: Testing Gallium
WARNING: could not import StructIO.pack into COFF
Gallium.Hooking.#hook()
Gallium.Hooking.#hook()
ERROR: LoadError: LoadError: AssertionError: length(ips) >= 10
 in (::##5#6)(::Gallium.Hooking.Hook, ::Gallium.X86_64.ExtendedRegs) at C:\Users
\julia\.julia\v0.5\Gallium\test\Hooking.jl:30
 in _callback(::Ptr{Void}) at C:\Users\julia\.julia\v0.5\Gallium\src\Hooking\Hoo
king.jl:293
 in callback(::Ptr{Void}) at C:\Users\julia\.julia\v0.5\Gallium\src\Hooking\Hook
ing.jl:330
 in bigfib(::Int64) at C:\Users\julia\.julia\v0.5\Gallium\test\Hooking.jl:0
 in include_from_node1(::String) at .\loading.jl:488 (repeats 2 times)
 in process_options(::Base.JLOptions) at .\client.jl:262
 in _start() at .\client.jl:318
while loading C:\Users\julia\.julia\v0.5\Gallium\test\Hooking.jl, in expression
starting on line 36
while loading C:\Users\julia\.julia\v0.5\Gallium\test\runtests.jl, in expression
 starting on line 3
===============================[ ERROR: Gallium ]===============================

failed process: Process(`'C:\Users\julia\AppData\Local\Julia-0.5.0\bin\julia' -C
x86-64 '-JC:\Users\julia\AppData\Local\Julia-0.5.0\lib\julia\sys.dll' --compile=
yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilec
ache=yes 'C:\Users\julia\.julia\v0.5\Gallium\test\runtests.jl'`, ProcessExited(1
)) [1]

================================================================================

ERROR: Gallium had test errors
 in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at .\pkg\entry.jl:74
0
 in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array
{AbstractString,1}) at .\<missing>:0
 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{Abstract
String,1}}})() at .\pkg\dir.jl:31
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{Abstra
ctString,1}}}, ::String) at .\file.jl:48
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::V
ararg{Array{AbstractString,1},N}) at .\pkg\dir.jl:31
 in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::A
rray{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\<missing>:0
 in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at .\pkg\pkg.jl:25
8
 in test(::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
ViralBShah commented 8 years ago

I assume this is Gallium and ASTInterpreter master?

mdpradeep commented 8 years ago

Yes.