Skip to content

More tests for CuContext#2739

Merged
maleadt merged 1 commit intomasterfrom
ksh/ctx
Apr 13, 2025
Merged

More tests for CuContext#2739
maleadt merged 1 commit intomasterfrom
ksh/ctx

Conversation

@kshyatt
Copy link
Copy Markdown
Member

@kshyatt kshyatt commented Apr 12, 2025

No description provided.

@kshyatt kshyatt added the tests Adds or changes tests. label Apr 12, 2025
@kshyatt kshyatt marked this pull request as ready for review April 12, 2025 19:25
@github-actions
Copy link
Copy Markdown
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/core/cudadrv.jl b/test/core/cudadrv.jl
index 989d6332d..48b0fe471 100644
--- a/test/core/cudadrv.jl
+++ b/test/core/cudadrv.jl
@@ -15,8 +15,8 @@ exclusive = attribute(dev, CUDA.DEVICE_ATTRIBUTE_COMPUTE_MODE) == CUDA.CU_COMPUT
 
 synchronize(ctx)
 
-@test startswith(sprint(show, MIME"text/plain"(), ctx), "CuContext")
-@test CUDA.api_version(ctx) isa Cuint
+    @test startswith(sprint(show, MIME"text/plain"(), ctx), "CuContext")
+    @test CUDA.api_version(ctx) isa Cuint
 
 if !exclusive
     let ctx2 = CuContext(dev)

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.22%. Comparing base (f9de0cd) to head (4b2c7de).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2739       +/-   ##
===========================================
- Coverage   88.72%   74.22%   -14.50%     
===========================================
  Files         153      153               
  Lines       13154    13021      -133     
===========================================
- Hits        11671     9665     -2006     
- Misses       1483     3356     +1873     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maleadt maleadt merged commit 16bd4e4 into master Apr 13, 2025
4 checks passed
@maleadt maleadt deleted the ksh/ctx branch April 13, 2025 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Adds or changes tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants