Skip to content

Commit a7017bf

Browse files
committed
Add standalone txt and lzma tests
1 parent f67be16 commit a7017bf

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

tox.ini

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires =
33
tox>=4.23.2
44
env_list =
55
py3
6-
standalone-{json, orjson, ujson, simplejson}
6+
standalone-{json, orjson, ujson, simplejson, txt, lzma}
77

88
[testenv]
99
description = run the tests with pytest
@@ -15,7 +15,7 @@ commands =
1515
pytest {tty:--color=yes} {posargs}
1616

1717
[testenv:standalone-json]
18-
description = run merge as standalone
18+
description = run merge as standalone on json
1919
package = skip
2020
deps =
2121
commands =
@@ -37,3 +37,21 @@ base = testenv:standalone-json
3737
deps =
3838
simplejson
3939
base = testenv:standalone-json
40+
41+
[testenv:standalone-txt]
42+
description = run merge as standalone on txt
43+
package = skip
44+
deps =
45+
commands =
46+
python preciceprofiling/merge.py -o {envtmpdir}/p.json tests/cases/parallel-txt
47+
python preciceprofiling/merge.py -o {envtmpdir}/s.json tests/cases/solverdummy-txt
48+
python preciceprofiling/merge.py -o {envtmpdir}/f.json tests/cases/fiveparticipants-txt
49+
50+
[testenv:standalone-lzma]
51+
description = run merge as standalone on compressed lzma files
52+
package = skip
53+
deps =
54+
commands =
55+
python preciceprofiling/merge.py -o {envtmpdir}/p.json tests/cases/parallel-lzma
56+
python preciceprofiling/merge.py -o {envtmpdir}/s.json tests/cases/solverdummy-lzma
57+
python preciceprofiling/merge.py -o {envtmpdir}/f.json tests/cases/fiveparticipants-lzma

0 commit comments

Comments
 (0)