File tree Expand file tree Collapse file tree 5 files changed +44
-9
lines changed Expand file tree Collapse file tree 5 files changed +44
-9
lines changed Original file line number Diff line number Diff line change 1+ [deps ]
2+ GNNGraphs  = " aed8fd31-079b-4b5a-b342-a13352159b8c" 
3+ GNNlib  = " a6a84749-d869-43f8-aacc-be26a1996e48" 
4+ MLUtils  = " f1d291b0-491e-4a28-83b9-f70985020b54" 
5+ NNlib  = " 872c559c-99b0-510c-b3b7-b6c96a88d5cd" 
6+ Pkg  = " 44cfe95a-1eb2-52ea-b672-e2afdf69b78f" 
7+ Random  = " 9a3f8284-a2c9-5f02-9a11-845980a1fd5c" 
8+ Reexport  = " 189a3867-3050-52da-a836-e630ba90ab69" 
9+ SparseArrays  = " 2f01184e-e22b-5df5-ae63-d93ebab69eaf" 
10+ Statistics  = " 10745b16-79ce-11e8-11f9-7d13ad32a3b2" 
11+ Test  = " 8dfed614-e22c-5e08-85e1-65c5234f0b40" 
12+ TestItemRunner  = " f8b46487-2199-4994-9208-9a1283c18c0a" 
Original file line number Diff line number Diff line change 1- @testitem  " msgpass" = [SharedTestSetup] begin 
1+ @testitem  " msgpass" = [TestModuleNNlib] begin 
2+     using  . TestModuleNNlib
23    # TODO  test all graph types
34    GRAPH_T =  :coo 
45    in_channel =  10 
137138        end 
138139    end 
139140
140- end 
141+ end 
Original file line number Diff line number Diff line change 1- using  GNNlib
2- using  Test
3- using  ReTestItems
4- using  Random, Statistics
1+ using  TestItemRunner
52
6- runtests (GNNlib)
3+ # # See https://www.julia-vscode.org/docs/stable/userguide/testitems/
4+ # # for how to run the tests within VS Code.
5+ # # See test_module.jl for the test infrastructure.
6+ 
7+ # # Uncomment below and in test_module.jl to change the default test settings
8+ #  ENV["GNN_TEST_CPU"] = "false"
9+ #  ENV["GNN_TEST_CUDA"] = "true"
10+ #  ENV["GNN_TEST_AMDGPU"] = "true"
11+ #  ENV["GNN_TEST_Metal"] = "true"
12+ 
13+ #  The only available tag at the moment is :gpu
14+ #  Tests not tagged with :gpu are considered to be CPU tests
15+ #  Tests tagged with :gpu should run on all GPU backends
16+ 
17+ if  get (ENV , " GNN_TEST_CPU" " true" ==  " true" 
18+     @run_package_tests  filter =  ti ->  :gpu  ∉  ti. tags
19+ end 
20+ if  get (ENV , " GNN_TEST_CUDA" " false" ==  " true" 
21+     @run_package_tests  filter =  ti ->  :gpu  ∈  ti. tags
22+ end 
23+ if  get (ENV , " GNN_TEST_AMDGPU" " false" ==  " true" 
24+     @run_package_tests  filter =  ti ->  :gpu  ∈  ti. tags
25+ end 
26+ if  get (ENV , " GNN_TEST_Metal" " false" ==  " true" 
27+     @run_package_tests  filter =  ti ->  :gpu  ∈  ti. tags
28+ end 
Original file line number Diff line number Diff line change 1- @testsetup    module  SharedTestSetup 
1+ @testmodule   TestModuleNNlib  begin 
22
33import  Reexport:  @reexport 
44
@@ -9,4 +9,4 @@ import Reexport: @reexport
99@reexport  using  SparseArrays
1010@reexport  using  Test, Random, Statistics
1111
12- end 
12+ end   #  module 
File renamed without changes.
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments