mirror of
https://github.com/dwinkler1/np.git
synced 2026-05-23 13:43:31 -04:00
new automated tests
This commit is contained in:
parent
d90f82b2bb
commit
2a521eeabd
7 changed files with 162 additions and 23 deletions
19
tests/ed/test.jl
Executable file
19
tests/ed/test.jl
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env julia
|
||||
|
||||
packages = ["StatsBase"]
|
||||
failed = String[]
|
||||
|
||||
for pkg in packages
|
||||
try
|
||||
@eval using $pkg
|
||||
catch
|
||||
push!(failed, pkg)
|
||||
end
|
||||
end
|
||||
|
||||
if !isempty(failed)
|
||||
@error "FAIL: $(join(failed, ", "))"
|
||||
exit(1)
|
||||
end
|
||||
|
||||
println("PASS: all packages loaded")
|
||||
Loading…
Add table
Add a link
Reference in a new issue