Skip to content

Commit 2867955

Browse files
committed
Revert "Quicker testing"
This reverts commit 0a69976.
1 parent 6332ccc commit 2867955

File tree

2 files changed

+33
-36
lines changed

2 files changed

+33
-36
lines changed

test/examples.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ function examples_testsuite(backend, backend_str)
1414
examples_dir = joinpath(@__DIR__, "..", "examples")
1515
examples = find_sources(examples_dir)
1616
filter!(file -> readline(file) != "# EXCLUDE FROM TESTING", examples)
17-
filter!(examples) do file
18-
last(splitpath(file)) == "histogram.jl"
19-
end
2017
if backend_str == "ROCM"
2118
filter!(file -> occursin("# INCLUDE ROCM", String(read(file))), examples)
2219
end

test/testsuite.jl

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -39,49 +39,49 @@ include("convert.jl")
3939
include("specialfunctions.jl")
4040

4141
function testsuite(backend, backend_str, backend_mod, AT, DAT; skip_tests = Set{String}())
42-
# @conditional_testset "Unittests" skip_tests begin
43-
# unittest_testsuite(backend, backend_str, backend_mod, DAT; skip_tests)
44-
# end
42+
@conditional_testset "Unittests" skip_tests begin
43+
unittest_testsuite(backend, backend_str, backend_mod, DAT; skip_tests)
44+
end
4545

46-
# @conditional_testset "SpecialFunctions" skip_tests begin
47-
# specialfunctions_testsuite(backend)
48-
# end
46+
@conditional_testset "SpecialFunctions" skip_tests begin
47+
specialfunctions_testsuite(backend)
48+
end
4949

50-
# @conditional_testset "Localmem" skip_tests begin
51-
# localmem_testsuite(backend, AT)
52-
# end
50+
@conditional_testset "Localmem" skip_tests begin
51+
localmem_testsuite(backend, AT)
52+
end
5353

54-
# @conditional_testset "Private" skip_tests begin
55-
# private_testsuite(backend, AT)
56-
# end
54+
@conditional_testset "Private" skip_tests begin
55+
private_testsuite(backend, AT)
56+
end
5757

58-
# @conditional_testset "Unroll" skip_tests begin
59-
# unroll_testsuite(backend, AT)
60-
# end
58+
@conditional_testset "Unroll" skip_tests begin
59+
unroll_testsuite(backend, AT)
60+
end
6161

62-
# @testset "NDIteration" begin
63-
# nditeration_testsuite()
64-
# end
62+
@testset "NDIteration" begin
63+
nditeration_testsuite()
64+
end
6565

66-
# @conditional_testset "copyto!" skip_tests begin
67-
# copyto_testsuite(backend, AT)
68-
# end
66+
@conditional_testset "copyto!" skip_tests begin
67+
copyto_testsuite(backend, AT)
68+
end
6969

70-
# @conditional_testset "Devices" skip_tests begin
71-
# devices_testsuite(backend)
72-
# end
70+
@conditional_testset "Devices" skip_tests begin
71+
devices_testsuite(backend)
72+
end
7373

74-
# @conditional_testset "Printing" skip_tests begin
75-
# printing_testsuite(backend)
76-
# end
74+
@conditional_testset "Printing" skip_tests begin
75+
printing_testsuite(backend)
76+
end
7777

78-
# @conditional_testset "Reflection" skip_tests begin
79-
# reflection_testsuite(backend, backend_str, AT)
80-
# end
78+
@conditional_testset "Reflection" skip_tests begin
79+
reflection_testsuite(backend, backend_str, AT)
80+
end
8181

82-
# @conditional_testset "Convert" skip_tests begin
83-
# convert_testsuite(backend, AT)
84-
# end
82+
@conditional_testset "Convert" skip_tests begin
83+
convert_testsuite(backend, AT)
84+
end
8585

8686
@conditional_testset "Examples" skip_tests begin
8787
examples_testsuite(backend, backend_str)

0 commit comments

Comments
 (0)