Skip to content

Conversation

@kshyatt
Copy link
Member

@kshyatt kshyatt commented Sep 11, 2025

No description provided.

@kshyatt kshyatt requested a review from maleadt September 11, 2025 10:13
@github-actions
Copy link
Contributor

Your PR requires formatting changes to meet the project's style guidelines.
Please consider running Runic (git runic master) to apply these changes.

Click here to view the suggested changes.
diff --git a/test/runtests.jl b/test/runtests.jl
index 1efbbcc..ddf0149 100644
--- a/test/runtests.jl
+++ b/test/runtests.jl
@@ -287,7 +287,7 @@ println("Testing finished in $elapsed")
             Test.push_testset(resp)
             Test.record(o_ts, resp)
             Test.pop_testset()
-        elseif isa(resp, Tuple{Int,Int})
+        elseif isa(resp, Tuple{Int, Int})
             fake = Test.DefaultTestSet(testname)
             for i in 1:resp[1]
                 Test.record(fake, Test.Pass(:test, nothing, nothing, nothing, nothing))
@@ -333,8 +333,12 @@ println("Testing finished in $elapsed")
     for test in all_tests
         (test in completed_tests) && continue
         fake = Test.DefaultTestSet(test)
-        Test.record(fake, Test.Error(:test_interrupted, test, nothing,
-                                        [("skipped", [])], LineNumberNode(1)))
+        Test.record(
+            fake, Test.Error(
+                :test_interrupted, test, nothing,
+                [("skipped", [])], LineNumberNode(1)
+            )
+        )
         Test.push_testset(fake)
         Test.record(o_ts, fake)
         Test.pop_testset()
@@ -359,7 +363,7 @@ else
                 Test.@with_testset resp begin
                     Test.record(o_ts, resp)
                 end
-            elseif isa(resp, Tuple{Int,Int})
+            elseif isa(resp, Tuple{Int, Int})
                 fake = Test.DefaultTestSet(testname)
                 for i in 1:resp[1]
                     Test.record(fake, Test.Pass(:test, nothing, nothing, nothing, nothing))
@@ -396,7 +400,7 @@ else
                 # the test runner itself had some problem, so we may have hit a segfault,
                 # deserialization errors or something similar.  Record this testset as Errored.
                 fake = Test.DefaultTestSet(testname)
-                Test.record(fake, Test.Error(:nontest_error, testname, nothing, Base.ExceptionStack([(exception=resp,backtrace=[])]), LineNumberNode(1)))
+                Test.record(fake, Test.Error(:nontest_error, testname, nothing, Base.ExceptionStack([(exception = resp, backtrace = [])]), LineNumberNode(1)))
                 Test.@with_testset fake begin
                     Test.record(o_ts, fake)
                 end
@@ -406,7 +410,7 @@ else
     for test in all_tests
         (test in completed_tests) && continue
         fake = Test.DefaultTestSet(test)
-        Test.record(fake, Test.Error(:test_interrupted, test, nothing, Base.ExceptionStack([(exception="skipped",backtrace=[])]), LineNumberNode(1)))
+        Test.record(fake, Test.Error(:test_interrupted, test, nothing, Base.ExceptionStack([(exception = "skipped", backtrace = [])]), LineNumberNode(1)))
         Test.@with_testset fake begin
             Test.record(o_ts, fake)
         end

@maleadt
Copy link
Member

maleadt commented Sep 11, 2025

This functionality should have been put in a package long time ago... Oh well.

@kshyatt
Copy link
Member Author

kshyatt commented Sep 11, 2025

CUDA failed due to unrelated issue

@kshyatt
Copy link
Member Author

kshyatt commented Sep 11, 2025

OK, this passed. Going to merge.

@kshyatt kshyatt merged commit abd6fdf into master Sep 11, 2025
16 checks passed
@kshyatt kshyatt deleted the ksh/testset_nightly branch September 11, 2025 15:11
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.

3 participants