385
385
386
386
# * toplevel .................................................................
387
387
388
- @chapter toplevel begin
388
+ @chapter toplevel false begin
389
389
# The following test is just to exert `@assert allunique(TESTED_MODULES)` in
390
390
# computemodules!, and must be run before any toplevel @testset in declared,
391
391
# so that `Main` is not yet in TESTED_MODULES; we check that previous
@@ -815,15 +815,12 @@ end
815
815
@chapter MiscSeed begin
816
816
rands = VERSION < v " 1.7-" ? [0x24ae , 0x837e ] :
817
817
VERSION <= v " 1.7" ? [0x1f33 , 0x415f ] :
818
- error (" update the seeds" )
819
-
820
- Test. @testset " seed" begin
821
- MiscSeed. runtests (verbose= 0 , seed= 1 )
822
- @test MiscSeed. RAND1 === MiscSeed. RAND2 === rands[1 ]
823
- MiscSeed. runtests (verbose= 0 , seed= 2 )
824
- @test MiscSeed. RAND1 === MiscSeed. RAND2 === rands[2 ]
825
- # TODO : test in a distributed setting
826
- end
818
+ error (" update the seeds" )
819
+ MiscSeed. runtests (verbose= 0 , seed= 1 )
820
+ @test MiscSeed. RAND1 === MiscSeed. RAND2 === rands[1 ]
821
+ MiscSeed. runtests (verbose= 0 , seed= 2 )
822
+ @test MiscSeed. RAND1 === MiscSeed. RAND2 === rands[2 ]
823
+ # TODO : test in a distributed setting
827
824
end
828
825
829
826
module Bugs
@@ -853,15 +850,13 @@ using ReTest
853
850
end
854
851
855
852
@chapter TestsetErrors begin
856
- Test. @testset " TestsetErrors" begin
857
- @test_logs (
858
- :error , " expected begin/end block or for loop as argument to @testset" ) (
859
- :error , " unsupported @testset option" ) (
860
- :error , " unsupported @testset" ) (
861
- :error , " expected begin/end block or for loop as argument to @testset" ) (
862
- :error , " expected begin/end block or for loop as argument to @testset"
863
- ) TestsetErrors. runtests ()
864
- end
853
+ @test_logs (
854
+ :error , " expected begin/end block or for loop as argument to @testset" ) (
855
+ :error , " unsupported @testset option" ) (
856
+ :error , " unsupported @testset" ) (
857
+ :error , " expected begin/end block or for loop as argument to @testset" ) (
858
+ :error , " expected begin/end block or for loop as argument to @testset"
859
+ ) TestsetErrors. runtests ()
865
860
end
866
861
867
862
@@ -1157,7 +1152,7 @@ Pkg.activate("./FakePackage")
1157
1152
Pkg. develop (PackageSpec (path= " ../InlineTest" ))
1158
1153
Pkg. develop (PackageSpec (path= " .." )) # ReTest
1159
1154
1160
- @chapter InlineTest begin
1155
+ @chapter InlineTest false begin
1161
1156
Pkg. test (" FakePackage" )
1162
1157
end
1163
1158
@@ -1167,7 +1162,7 @@ using ReTest: process_args
1167
1162
module Load end
1168
1163
module Load2 end
1169
1164
1170
- @chapter load begin
1165
+ @chapter load false begin
1171
1166
using FakePackage
1172
1167
@assert ! isdefined (Main, :FakePackageTests )
1173
1168
@@ -1214,7 +1209,7 @@ end
1214
1209
1215
1210
# * Hijack ...................................................................
1216
1211
1217
- @chapter Hijack begin
1212
+ @chapter Hijack false begin
1218
1213
Pkg. activate (" ./Hijack" )
1219
1214
Pkg. develop (PackageSpec (path= " .." )) # ReTest
1220
1215
Pkg. test (" Hijack" )
0 commit comments