-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update sandbox for Julia 1.11 * Update test for Julia 1.11 * Nightly failures are no longer silent * Fix tests on Julia 1.7/1.8
- Loading branch information
Showing
7 changed files
with
131 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites tests="19" failures="6" errors="4"> | ||
<testsuite name="Math" tests="3" failures="1" errors="0" time="0.0" timestamp="0" hostname="localhost" id="0"> | ||
<testcase name="4 % 2 == 0" id="1" classname="Math" time="0.0"/> | ||
<testcase name="sqrt(20) == 5" id="2" classname="Math" time="0.0"> | ||
<failure message="4.47213595499958 == 5" type="test">Test Failed | ||
Expression: sqrt(20) == 5 | ||
Evaluated: 4.47213595499958 == 5 | ||
</failure> | ||
</testcase> | ||
<testcase name="16 == 16" id="3" classname="Math" time="0.0"/> | ||
</testsuite> | ||
<testsuite name="Math/Multiplication" tests="3" failures="1" errors="0" time="0.0" timestamp="0" hostname="localhost" id="1"> | ||
<testcase name="1 * 3 == 3" id="1" classname="Math/Multiplication" time="0.0"/> | ||
<testcase name="1 * 2 == 5" id="2" classname="Math/Multiplication" time="0.0"> | ||
<failure message="2 == 5" type="test">Test Failed | ||
Expression: 1 * 2 == 5 | ||
Evaluated: 2 == 5 | ||
</failure> | ||
</testcase> | ||
<testcase name="1 * 4 == 4" id="3" classname="Math/Multiplication" time="0.0"/> | ||
</testsuite> | ||
<testsuite name="Math/addition" tests="3" failures="1" errors="0" time="0.0" timestamp="0" hostname="localhost" id="2"> | ||
<testcase name="1 + 1 == 2" id="1" classname="Math/addition" time="0.0"/> | ||
<testcase name="1 + 2 == 5" id="2" classname="Math/addition" time="0.0"> | ||
<failure message="3 == 5" type="test">Test Failed | ||
Expression: 1 + 2 == 5 | ||
Evaluated: 3 == 5 | ||
</failure> | ||
</testcase> | ||
<testcase name="1 + 4 == 5" id="3" classname="Math/addition" time="0.0"/> | ||
</testsuite> | ||
<testsuite name="Math/addition/negative addition" tests="3" failures="1" errors="0" time="0.0" timestamp="0" hostname="localhost" id="3"> | ||
<testcase name="1 + -1 == 0" id="1" classname="Math/addition/negative addition" time="0.0"/> | ||
<testcase name="1 + -2 == 1" id="2" classname="Math/addition/negative addition" time="0.0"> | ||
<failure message="-1 == 1" type="test">Test Failed | ||
Expression: 1 + -2 == 1 | ||
Evaluated: -1 == 1 | ||
</failure> | ||
</testcase> | ||
<testcase name="10 + -5 == 5" id="3" classname="Math/addition/negative addition" time="0.0"/> | ||
</testsuite> | ||
<testsuite name="Math/other" tests="4" failures="0" errors="3" time="0.0" timestamp="0" hostname="localhost" id="4"> | ||
<testcase name="sqrt(-1)" id="1" classname="Math/other" time="0.0"> | ||
<skip/> | ||
</testcase> | ||
<testcase name="1 / 0" id="2" classname="Math/other" time="0.0"> | ||
<error message="Expression evaluated to non-Boolean" type="Expression evaluated to non-Boolean"/> | ||
</testcase> | ||
<testcase name="1 == error("Nooo")" id="3" classname="Math/other" time="0.0"> | ||
<error message="Nooo" type="ErrorException">Nooo | ||
</error> | ||
</testcase> | ||
<testcase name="true" id="4" classname="Math/other" time="0.0"> | ||
<error message="Got correct result, please change to @test if no longer broken." type="Unexpected Pass"/> | ||
</testcase> | ||
</testsuite> | ||
<testsuite name="Math/Error outside of tests" tests="0" failures="0" errors="1" time="0.0" timestamp="0" hostname="localhost" id="5"> | ||
<testcase name="()" id="_testcase_id_" classname="Math/Error outside of tests" time="0.0"> | ||
<error message="Got exception outside of a @test" type="ErrorException">Outside of tests | ||
</error> | ||
</testcase> | ||
</testsuite> | ||
<testsuite name="Math/Different failures" tests="2" failures="2" errors="0" time="0.0" timestamp="0" hostname="localhost" id="6"> | ||
<testcase name="throw(ArgumentError("1"))" id="1" classname="Math/Different failures" time="0.0"> | ||
<failure message="Wrong exception type thrown" type="test_throws_wrong">Test Failed | ||
Expression: throw(ArgumentError("1")) | ||
Expected: DimensionMismatch | ||
Thrown: ArgumentError | ||
</failure> | ||
</testcase> | ||
<testcase name="true" id="2" classname="Math/Different failures" time="0.0"> | ||
<failure message="No exception thrown" type="test_throws_nothing">Test Failed | ||
Expression: true | ||
Expected: DimensionMismatch | ||
No exception thrown | ||
</failure> | ||
</testcase> | ||
</testsuite> | ||
<testsuite name="Math/using function from a module" tests="1" failures="0" errors="0" time="0.0" timestamp="0" hostname="localhost" id="7"> | ||
<testcase name="nthreads() > 0" id="1" classname="Math/using function from a module" time="0.0"/> | ||
</testsuite> | ||
</testsuites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites tests="1" failures="1" errors="0"> | ||
<testsuite name="reporttest" tests="1" failures="1" errors="0" time="0.0" timestamp="0" hostname="localhost" id="0"> | ||
<testcase name="ARGS == []" id="1" classname="reporttest" time="0.0"> | ||
<failure message="["foo", "-e", "bar"] == Any[]" type="test">Test Failed | ||
Expression: ARGS == [] | ||
Evaluated: ["foo", "-e", "bar"] == Any[]</failure> | ||
</testcase> | ||
</testsuite> | ||
</testsuites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters