summaryrefslogtreecommitdiff
path: root/test/pacman/pactest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/pactest.py')
-rwxr-xr-xtest/pacman/pactest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/pacman/pactest.py b/test/pacman/pactest.py
index 2b1dee63..fe04c2b3 100755
--- a/test/pacman/pactest.py
+++ b/test/pacman/pactest.py
@@ -26,6 +26,7 @@ import sys
import tempfile
import pmenv
+import tap
import util
__author__ = "Aurelien FORET"
@@ -110,7 +111,7 @@ if __name__ == "__main__":
env.pacman["ldconfig"] = opts.ldconfig
if opts.testcases is None or len(opts.testcases) == 0:
- print "no tests defined, nothing to do"
+ tap.bail("no tests defined, nothing to do")
os.rmdir(root_path)
sys.exit(2)
@@ -124,7 +125,7 @@ if __name__ == "__main__":
if not opts.keeproot:
shutil.rmtree(root_path)
else:
- print "pacman testing root saved: %s" % root_path
+ tap.diag("pacman testing root saved: %s" % root_path)
if env.failed > 0:
sys.exit(1)