Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit 51fa270

Browse files
committed
test: add a separate test project file
1 parent 4b73eaa commit 51fa270

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

Project.toml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,17 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
2121

2222
[compat]
2323
ADTypes = "1.5.3"
24-
CUDA = "5.3"
2524
ChainRulesCore = "1.24.0"
2625
ComponentArrays = "0.15.14"
2726
DispatchDoctor = "0.4.12"
2827
Enzyme = "0.12.22"
2928
FiniteDiff = "2.23.1"
3029
ForwardDiff = "0.10.36"
3130
Functors = "0.4.11"
32-
Hwloc = "3"
33-
InteractiveUtils = "<0.0.1, 1"
3431
JET = "0.9.6"
3532
MLDataDevices = "1.0.0"
36-
MetaTesting = "0.1.0"
37-
ReTestItems = "1.24.0"
3833
ReverseDiff = "1.15.3"
3934
Test = "1.10"
4035
Tracker = "0.2.34"
4136
Zygote = "0.6.70"
4237
julia = "1.10"
43-
44-
[extras]
45-
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
46-
Hwloc = "0e44f5e4-bd66-52a0-8798-143a42290a1d"
47-
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
48-
MetaTesting = "9e32d19f-1e4f-477a-8631-b16c78aa0f56"
49-
ReTestItems = "817f1d60-ba6b-4fd5-9520-3cf149f6a823"
50-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
51-
52-
[targets]
53-
test = ["CUDA", "Hwloc", "InteractiveUtils", "MetaTesting", "ReTestItems", "Test"]

test/Project.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[deps]
2+
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
3+
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
4+
Hwloc = "0e44f5e4-bd66-52a0-8798-143a42290a1d"
5+
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
6+
MetaTesting = "9e32d19f-1e4f-477a-8631-b16c78aa0f56"
7+
ReTestItems = "817f1d60-ba6b-4fd5-9520-3cf149f6a823"
8+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
9+
10+
[compat]
11+
CUDA = "5"
12+
ComponentArrays = "0.15"
13+
Hwloc = "3"
14+
InteractiveUtils = "<0.0.1, 1"
15+
MetaTesting = "0.1"
16+
ReTestItems = "1.25"
17+
Test = "1.10"

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using InteractiveUtils, Hwloc, ReTestItems
1+
using InteractiveUtils, Hwloc, ReTestItems, LuxTestUtils
22

3-
@info sprint(io -> versioninfo(io; verbose=true))
3+
@info sprint(versioninfo)
44

55
const RETESTITEMS_NWORKERS = parse(
66
Int, get(ENV, "RETESTITEMS_NWORKERS", string(min(Hwloc.num_physical_cores(), 16))))
77

8-
ReTestItems.runtests(@__DIR__; nworkers=RETESTITEMS_NWORKERS)
8+
ReTestItems.runtests(LuxTestUtils; nworkers=RETESTITEMS_NWORKERS)

0 commit comments

Comments
 (0)