Skip to content

Commit

Permalink
Now with tests!
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Jul 3, 2023
1 parent ed1e3f5 commit 1b02cf2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/sysinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Base.Sys.loadavg()
@test Base.libllvm_path() isa Symbol
@test contains(String(Base.libllvm_path()), "LLVM")

@test length(ccall(:jl_get_cpu_name, String, ())) != 0
@test length(ccall(:jl_get_cpu_features, String, ())) >= 0

if Sys.isunix()
mktempdir() do tempdir
firstdir = joinpath(tempdir, "first")
Expand Down

0 comments on commit 1b02cf2

Please sign in to comment.