aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexandre Rames <alexandre.rames@linaro.org>2016-01-18 14:44:54 +0000
committerAlexandre Rames <alexandre.rames@linaro.org>2016-01-18 14:44:54 +0000
commit97586c7e377570c78e06b46f19163f4e7352f79b (patch)
tree2fdf2e2f2e55c3611234cd8ea37107d90fab4d9c /test
parentc791bff3ae0737bd47790a0a801fed8ecb5e493e (diff)
downloadart-testing-97586c7e377570c78e06b46f19163f4e7352f79b.tar.gz
Clean more top-level run.py tests.
Change-Id: If386f617d2281f1fce88ca75b107b42e2071ff0a
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test.py b/test/test.py
index 54b5a58..8deae9d 100755
--- a/test/test.py
+++ b/test/test.py
@@ -72,7 +72,6 @@ def TestBenchmarksOnHost():
# Reduce the duration of the tests.
"--filter", "benchmarks/algorithm/NSieve"],
_cwd=non_root_path)
- rc |= TestCommand([os.path.join(utils.dir_root, "./run.py")], _cwd=non_root_path)
# Test that the `--output-*` option work even when a path prefix is not specified.
rc |= TestCommand([os.path.join(utils.dir_root, run_py),
# Reduce the duration of the tests.
@@ -112,7 +111,9 @@ def TestLint(jobs = 1):
def TestTopLevelWrapperScripts():
rc = 0
rc |= TestCommand(["./run.py"], _cwd=utils.dir_root)
- # Test the wrapper scripts.
+ non_root_path = os.path.join(utils.dir_root, "test", "foobar")
+ rc |= TestCommand(["mkdir", "-p", non_root_path])
+ rc |= TestCommand([os.path.join(utils.dir_root, "./run.py")], _cwd=non_root_path)
rc |= TestCommand(["./run.py", "--output-pkl=/tmp/res1"], _cwd=utils.dir_root)
rc |= TestCommand(["./run.py", "--output-pkl=/tmp/res2"], _cwd=utils.dir_root)
rc |= TestCommand(["./compare.py", "/tmp/res1", "/tmp/res2"], _cwd=utils.dir_root)