Skip to content

Commit

Permalink
problem on linux TerraME#2331.
Browse files Browse the repository at this point in the history
  • Loading branch information
avancinirodrigo committed Apr 1, 2020
1 parent 779efd1 commit 3be71b7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 10 additions & 2 deletions packages/gis/tests/functional/basic/Project.lua
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,11 @@ return {

unitTest:assertEquals(l2.name, cl1Name)
unitTest:assertEquals(l2.rep, "polygon")
unitTest:assertEquals(l2.epsg, 4019)
if _Gtme.sessionInfo().system == "windows" then
unitTest:assertEquals(l2.epsg, 4019) --SKIP
else
unitTest:assertEquals(l2.epsg, 4674) --SKIP
end
unitTest:assertEquals(File(l2.file):name(), "SPCells.shp")
unitTest:assertEquals(l2.source, "shp")
unitTest:assertEquals(l2.encoding, "latin1")
Expand All @@ -451,7 +455,11 @@ return {

unitTest:assertEquals(l3.name, "SP")
unitTest:assertEquals(l3.rep, "polygon")
unitTest:assertEquals(l3.epsg, 4019)
if _Gtme.sessionInfo().system == "windows" then
unitTest:assertEquals(l3.epsg, 4019) --SKIP
else
unitTest:assertEquals(l3.epsg, 4674) --SKIP
end
unitTest:assertEquals(File(l3.file):name(), "sampa.shp")
unitTest:assertEquals(l3.source, "shp")
unitTest:assertEquals(l3.encoding, "latin1")
Expand Down
6 changes: 5 additions & 1 deletion packages/gis/tests/functional/basic/TerraLib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@ return {

unitTest:assertEquals(info.name, "SP")
unitTest:assertEquals(info.rep, "polygon")
unitTest:assertEquals(info.srid, 4019)
if _Gtme.sessionInfo().system == "windows" then
unitTest:assertEquals(info.srid, 4019) --SKIP
else
unitTest:assertEquals(info.srid, 4674) --SKIP
end
unitTest:assertEquals(File(info.file):name(), "sampa.shp")
unitTest:assertEquals(info.source, "shp")
unitTest:assertEquals(info.encoding, "LATIN1")
Expand Down

0 comments on commit 3be71b7

Please sign in to comment.