about summary refs log tree commit diff stats
path: root/test/test_all.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2017-04-05 15:54:52 +0200
committerAjax <commial@gmail.com>2017-04-06 13:47:38 +0200
commitf85d5e8f261db7b4c0fc519df056561ad9e45418 (patch)
tree815d678a09bd7997eeb679251f85c90e78d0d18d /test/test_all.py
parent53c7778ca9a8877dc56db55ade07afc8864e0270 (diff)
downloadmiasm-f85d5e8f261db7b4c0fc519df056561ad9e45418.tar.gz
miasm-f85d5e8f261db7b4c0fc519df056561ad9e45418.zip
Add regression test for command-line/env support in Sandbox
Diffstat (limited to 'test/test_all.py')
-rwxr-xr-xtest/test_all.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_all.py b/test/test_all.py
index 0a29d4d3..237f13c1 100755
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -257,6 +257,12 @@ for script in ["win_api_x86_32.py",
                ]:
     testset += RegressionTest([script], base_dir="os_dep", tags=[TAGS['tcc']])
 
+for arch in ["x86_32", "x86_64", "arml", "aarch64l"]:
+    testset += RegressionTest(["test_env.py", arch, "test_env.%s" % arch, "-c",
+                               "arg1", "-c", "arg2", "--environment-vars",
+                               "TEST=TOTO", "--mimic-env"],
+                              base_dir="os_dep/linux", tags=[TAGS['tcc']])
+
 ## Analysis
 testset += RegressionTest(["depgraph.py"], base_dir="analysis",
                           products=[fname for fnames in (