-
Notifications
You must be signed in to change notification settings - Fork 17
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
Rewrite tests to use Base.Test #205
Conversation
Currently, some tests (involving some functions) do not pass due to CRlibm
Addresses #193 ITF1788 files not yet modified, since this is better to using directly the tools provided by ITF1788... |
Incidentally, these changes will only be useful once we leave 0.4 without support. |
Great, thanks! On Julia 0.4 you need |
What about |
Not sure what you are asking about |
I though that if VERSION >= v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end in each file. But i couldn't find it. How do we deal with the |
I think you only need it in runtests.jl, since everything is included from
there?
…On 16 Feb 2017 4:59 p.m., "Luis Benet" ***@***.***> wrote:
I though that @compat using Base.Test could save us replacing that for
if VERSION >= v"0.5.0-dev+7720"
using Base.Testelse
using BaseTestNext
const Test = BaseTestNextend
in each file. But i couldn't find it.
How do we deal with the REQUIRES in this case?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#205 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALtTsQhKdf6aMG4nivYAbUs5MAluJ5Hks5rdNTHgaJpZM4MDm_M>
.
|
No, though that could indeed be a solution; each included file has the |
If I remember correctly, each file has it so that they can be run
independently if needed. But the tests should work on 0.4 just adding the
basetestnext in runtests.jl
…On 16 Feb 2017 5:27 p.m., "Luis Benet" ***@***.***> wrote:
No, though that could indeed be a solution; each included file has the
using command.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#205 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALtTn_OnlHDeV6PbnrYt-vHD-n_CYEKks5rdNtJgaJpZM4MDm_M>
.
|
Codecov Report
@@ Coverage Diff @@
## master #205 +/- ##
==========================================
- Coverage 90.65% 90.45% -0.21%
==========================================
Files 23 23
Lines 985 985
==========================================
- Hits 893 891 -2
- Misses 92 94 +2
Continue to review full report at Codecov.
|
Looking good! Is this ready to merge? |
Not yet; on the one hand, there is something weird with Julia 0.6; I'm also trying to transform the ITF1788 tests. I'll let you know when I think it is ready. |
Don't worry about 0.6. I finally got tests to pass on the fix_radius_0.6 branch that requires us to change from FixedSizeArrays.jl to StaticArrays.jl. I suggest we merge this and the itf1788 tests can be in a separate pr. |
Ok. Then go ahead. |
One of the tests that is not passing in v0.6 yields the following output
I guess this is related to the new type nomenclature... I haven't checked if there are other problems. |
I'm not sure what exactly it's related to, but it's fixed by the latest StaticArrays.jl update. |
Thanks! |
Do you have the ITF1788 tests switched to |
ValidatedNumerics was using FactCheck.jl package, but now uses Base.Test. See [JuliaIntervals/ValidatedNumerics.jl#205]
Currently, some tests (involving some functions) do not pass due
to CRlibm