https://github.com/JuliaLang/julia
Revision 4280bc452f67856dfaa4c81fac7e898aa3b90e08 authored by Fredrik Ekre on 01 December 2021, 02:52:46 UTC, committed by KristofferC on 10 January 2022, 09:12:57 UTC
(cherry picked from commit f53de735d8524304e0e4eb973d82432189135c83)
1 parent 6043be5
Raw File
Tip revision: 4280bc452f67856dfaa4c81fac7e898aa3b90e08 authored by Fredrik Ekre on 01 December 2021, 02:52:46 UTC
Fix (add|set)env to keep currently set dir for the command, fixes #42131. (#43276)
Tip revision: 4280bc4
sysinfo.jl
# This file is a part of Julia. License is MIT: https://julialang.org/license

# We can't guarantee that these are correct, but we can at least check
# that they run
@test length(Base.Sys.cpu_info()) > 0
sprint(Base.Sys.cpu_summary)
@test Base.Sys.uptime() > 0
Base.Sys.loadavg()

@test Base.libllvm_path() isa Symbol
@test contains(String(Base.libllvm_path()), "LLVM")
back to top