Skip to content

Commit db1944c

Browse files
committed
Add test that re-runs all dataloader tests with SHM transport
1 parent 0afc8b9 commit db1944c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
test_that("all dataloader tests pass with SHM transport", {
2+
withr::local_options(torch.dataloader_use_shm = TRUE)
3+
source(test_path("test-utils-data-dataloader.R"), local = TRUE)
4+
})

0 commit comments

Comments
 (0)