File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ module TestJLL end
9090
9191 # Package with a augment_platform!
9292 @static if VERSION >= v " 1.6.0-DEV"
93- Pkg. develop (PackageSpec (path= joinpathA (@__DIR__ , " LAMMPS_jll" )))
93+ Pkg. develop (PackageSpec (path= joinpath (@__DIR__ , " LAMMPS_jll" )))
9494 Pkg. instantiate ()
9595 @test_nowarn @eval TestJLL using LAMMPS_jll
9696 @test @eval TestJLL LAMMPS_jll. is_available ()
@@ -99,6 +99,21 @@ module TestJLL end
9999 @test isfile (@eval TestJLL LAMMPS_jll. get_liblammps_path ())
100100 @test isdir (@eval TestJLL LAMMPS_jll. artifact_dir)
101101 @test occursin (Sys. BINDIR, @eval TestJLL LAMMPS_jll. LIBPATH[])
102+
103+ artifact_dir = @eval TestJLL LAMMPS_jll. artifact_dir
104+
105+ if ! Sys. iswindows ()
106+ @eval TestJLL LAMMPS_jll. set_abi (:MPItrampoline )
107+ script = """
108+ using Test
109+ using LAMMPS_jll
110+ @test LAMMPS_jll.abi == "MPItrampoline"
111+ @test LAMMPS_jll.is_available()
112+ @test isdir(LAMMPS_jll.artifact_dir)
113+ @test LAMMPS_jll.artifact_dir !== $(repr (artifact_dir))
114+ """
115+ @test success (pipeline (` $(Base. julia_cmd ()) --project=$dir -e $script ` , stderr = stderr , stdout = stdout ))
116+ end
102117 end
103118 end
104119end
You can’t perform that action at this time.
0 commit comments