diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2015-01-29 11:58:15 -0800 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2015-02-12 09:26:40 -0800 |
commit | f2c7e02f1d09e253023a89d84cd1572ec93f6ac7 (patch) | |
tree | 09d4a540cef398711c9b58f756b54c96254337e7 /tests/xts.py | |
parent | e6a5430ec138583fa1385f198c4206197730ddc0 (diff) |
xts.py: update error message when X_TEST_SUITE doesn't exist
This fixes 3 issues.
1) we don't use symlinks in bin/ anymore
2) print the message to stderr
3) don't use returncode 0, it is an error after all
Signed-off-by: Dylan Bake <dylanx.c.baker@intel.com>
Diffstat (limited to 'tests/xts.py')
-rw-r--r-- | tests/xts.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/xts.py b/tests/xts.py index 26729176e..0e277dc3d 100644 --- a/tests/xts.py +++ b/tests/xts.py @@ -197,9 +197,8 @@ def _populate_profile(): return profile -# If the symlink for the XTS has not been created exit if not os.path.exists(X_TEST_SUITE): - print("xtest symlink not found!") - sys.exit(0) + print("Error: xtest not found.", file=sys.stderr) + sys.exit(1) profile = _populate_profile() # pylint: disable=invalid-name |