Rename julia tests

pull/595/head
David Anthoff 2019-02-25 15:55:26 -08:00
rodzic e95300fa25
commit 671836e1da
15 zmienionych plików z 28 dodań i 5 usunięć

Wyświetl plik

@ -0,0 +1,2 @@
[deps]
IteratorInterfaceExtensions = "82899510-4779-5014-852e-03e436cf321d"

Wyświetl plik

@ -1,5 +1,4 @@
Julia - REQUIRE: test version for julia v1.1
Julia - Project.toml: test version for julia v1.1
---------------
Starting with julia v0.7 and up, the package manager has changed, so this tests
that the julia version can be specified and packages installed correctly.
Test a Project.toml file for julia.

Wyświetl plik

@ -1,12 +1,12 @@
#!/usr/bin/env julia
# Verify the version:
if VERSION < v"1.1" || VERSION >= v"1.2"
if VERSION < v"1" || VERSION >= v"2"
exit(1)
end
try
# Test that the package was installed.
using Compat
using IteratorInterfaceExtensions
# Verify that the environment variables are set correctly for julia 1.0+
@assert "julia" ∈ readdir(Sys.BINDIR)

Wyświetl plik

@ -0,0 +1,5 @@
Julia - REQUIRE: test version for julia v1.1
---------------
Starting with julia v0.7 and up, the package manager has changed, so this tests
that the julia version can be specified and packages installed correctly.

Wyświetl plik

@ -0,0 +1,17 @@
#!/usr/bin/env julia
# Verify the version:
if VERSION < v"1.1" || VERSION >= v"1.2"
exit(1)
end
try
# Test that the package was installed.
using Compat
# Verify that the environment variables are set correctly for julia 1.0+
@assert "julia" ∈ readdir(Sys.BINDIR)
catch
exit(1)
end
exit(0)