Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark tests broken based on nightly #87

Merged
merged 3 commits into from
Aug 30, 2022
Merged

Conversation

mcabbott
Copy link
Member

This fixes nothing, but marks as broken the tests which don't pass on Julia nightly (1.9) and latest everything.

@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2022

Codecov Report

Merging #87 (f4f4ca3) into main (a2ea087) will increase coverage by 2.47%.
The diff coverage is 29.16%.

@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
+ Coverage   51.41%   53.89%   +2.47%     
==========================================
  Files          21       21              
  Lines        2118     2171      +53     
==========================================
+ Hits         1089     1170      +81     
+ Misses       1029     1001      -28     
Impacted Files Coverage Δ
src/extra_rules.jl 35.77% <21.05%> (+3.96%) ⬆️
src/stage1/generated.jl 73.30% <50.00%> (ø)
src/stage1/broadcast.jl 20.00% <66.66%> (ø)
src/jet.jl 39.66% <0.00%> (-0.34%) ⬇️
src/stage2/interpreter.jl 0.00% <0.00%> (ø)
src/stage2/abstractinterpret.jl 0.00% <0.00%> (ø)
src/stage1/recurse_fwd.jl 94.28% <0.00%> (+0.16%) ⬆️
src/tangent.jl 34.04% <0.00%> (+1.06%) ⬆️
src/stage1/hacks.jl 6.38% <0.00%> (+4.25%) ⬆️
... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -16,6 +16,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.7' # Lowest claimed support in Project.toml
Copy link
Member Author

@mcabbott mcabbott Aug 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test failures on 1.8 look like this, so perhaps it should run on 1.7 too:

┌ Warning: ir verification broken. Either use 1.9 or 1.7
└ @ Diffractor ~/work/Diffractor.jl/Diffractor.jl/src/stage1/recurse.jl:889
┌ Warning: ir verification broken. Either use 1.9 or 1.7
└ @ Diffractor ~/work/Diffractor.jl/Diffractor.jl/src/stage1/recurse.jl:889
Error During Test at /home/runner/work/Diffractor.jl/Diffractor.jl/test/runtests.jl:23
  Test threw exception
  Expression: tup2(my_tuple) == (ZeroTangent(), 4)
  task switch not allowed from inside staged nor pure functions
  Stacktrace:
    [1] try_yieldto(undo::typeof(Base.ensure_rescheduled))
      @ Base ./task.jl:861
    [2] wait()
      @ Base ./task.jl:931
    [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64)
      @ Base ./stream.jl:1043

@mcabbott mcabbott merged commit 9a8a788 into JuliaDiff:main Aug 30, 2022
@mcabbott mcabbott deleted the test_on_1.9 branch August 30, 2022 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants